tetengo 1.8.1
A multipurpose library set
Loading...
Searching...
No Matches
tetengo::lattice::constraint_element Class Referenceabstract

A constraint element. More...

#include <constraint_element.hpp>

+ Inheritance diagram for tetengo::lattice::constraint_element:
+ Collaboration diagram for tetengo::lattice::constraint_element:

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.
 

Detailed Description

A constraint element.

Member Function Documentation

◆ matches()

int tetengo::lattice::constraint_element::matches ( const node node_) const

Returns whether this constraint element matches the specified node.

Parameters
node_A node.
Return values
positiveThis constraint element matches the specified node, and also may match its preceding nodes.
0This constraint element matches the specified node, and do not match its precedings nodes.
negativeThis constraint element does not match the specified node.

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