|
FreeLing
4.0
|
The class relax implements a generic solver for consistent labelling problems, using relaxation labelling algorithm. More...
#include <relax.h>

Public Member Functions | |
| relax (int, double, double) | |
| Constructor. | |
| void | solve (problem &) const |
| solve consistent labelling problem | |
| void | set_scale_factor (double) |
| change scale factor | |
Private Member Functions | |
| double | NormalizeSupport (double) const |
| private methods | |
Private Attributes | |
| int | MaxIter |
| Maximum number of iterations in case of not converging. | |
| double | ScaleFactor |
| Scale factor for label supports. | |
| double | Epsilon |
| epsilon value to decide whether or not an iteration has caused relevant weight changes | |
The class relax implements a generic solver for consistent labelling problems, using relaxation labelling algorithm.
| freeling::relax::relax | ( | int | , |
| double | , | ||
| double | |||
| ) |
Constructor.
| double freeling::relax::NormalizeSupport | ( | double | ) | const [private] |
private methods
| void freeling::relax::set_scale_factor | ( | double | ) |
change scale factor
| void freeling::relax::solve | ( | problem & | ) | const |
solve consistent labelling problem
double freeling::relax::Epsilon [private] |
epsilon value to decide whether or not an iteration has caused relevant weight changes
int freeling::relax::MaxIter [private] |
Maximum number of iterations in case of not converging.
double freeling::relax::ScaleFactor [private] |
Scale factor for label supports.
1.7.6.1