FreeLing  4.0
Public Member Functions | Protected Attributes | Friends
freeling::label Class Reference

The class label stores all information related to a variable label in the relaxation labelling algorithm. More...

#include <relax.h>

List of all members.

Public Member Functions

 label ()
 Constructor.
double get_weight (int) const
void set_weight (int, double)

Protected Attributes

double weight [2]
 label weigth at current and next iterations
std::list< constraintconstraints
 list of constraints for the label

Friends

class problem
class relax

Detailed Description

The class label stores all information related to a variable label in the relaxation labelling algorithm.


Constructor & Destructor Documentation

Constructor.


Member Function Documentation

double freeling::label::get_weight ( int  ) const
void freeling::label::set_weight ( int  ,
double   
)

Friends And Related Function Documentation

friend class problem [friend]
friend class relax [friend]

Member Data Documentation

std::list<constraint> freeling::label::constraints [protected]

list of constraints for the label

double freeling::label::weight[2] [protected]

label weigth at current and next iterations


The documentation for this class was generated from the following file: