FreeLing
4.0
|
The class label stores all information related to a variable label in the relaxation labelling algorithm. More...
#include <relax.h>
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< constraint > | constraints |
list of constraints for the label | |
Friends | |
class | problem |
class | relax |
The class label stores all information related to a variable label in the relaxation labelling algorithm.
Constructor.
double freeling::label::get_weight | ( | int | ) | const |
void freeling::label::set_weight | ( | int | , |
double | |||
) |
friend class problem [friend] |
friend class relax [friend] |
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