problem Class Reference

The class problem stores the structure of a problem, namely, a vector with a position for each variable to consider, and for each variable, a list of initial weights for each possible label. More...

#include <relax.h>

Inheritance diagram for problem:
Inheritance graph
[legend]
Collaboration diagram for problem:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 problem (int)
 Constructor.
void add_label (int, double)
 add a label (and its weight) to the given variable

Friends

class relax

Detailed Description

The class problem stores the structure of a problem, namely, a vector with a position for each variable to consider, and for each variable, a list of initial weights for each possible label.

Variables and labels are unnamed, and sequentially numbered. The caller application must keep track of the meaning of each variable and label position.


Constructor & Destructor Documentation

problem::problem ( int   ) 

Constructor.


Member Function Documentation

void problem::add_label ( int  ,
double   
)

add a label (and its weight) to the given variable


Friends And Related Function Documentation

friend class relax [friend]

The documentation for this class was generated from the following file:
Generated on Tue Jul 27 16:29:33 2010 for FreeLing by  doxygen 1.6.3