tetengo 1.8.1
A multipurpose library set
|
A constraint element. More...
#include <constraint_element.hpp>
Public Member Functions | |
virtual | ~constraint_element () |
Destroys the constraint element. | |
int | matches (const node &node_) const |
Returns whether this constraint element matches the specified node. | |
A constraint element.
int tetengo::lattice::constraint_element::matches | ( | const node & | node_ | ) | const |
Returns whether this constraint element matches the specified node.
node_ | A node. |
positive | This constraint element matches the specified node, and also may match its preceding nodes. |
0 | This constraint element matches the specified node, and do not match its precedings nodes. |
negative | This constraint element does not match the specified node. |