Gecode::Int::GCC::VarNode Class Reference
Inherits Gecode::Int::GCC::VVGNode.Detailed Description
Variable Node
Definition at line 104 of file graphsup.icc.
Constructors and initialization | |
| VarNode (int i, int oidx) | |
| Creates a variable node with index i. | |
Access | |
| template<BC > | |
| Edge * | get_match (void) |
| return the matching edge on the node | |
| int | get_info (void) |
| return the variable index of the node | |
| bool | is_matched (BC) |
| returns whether the node is still matchable | |
| template<BC > | |
| bool | matched (void) |
| tests whether the node is matched or not | |
| bool | removed (void) |
| Variable Node. | |
Update | |
| void | set_info (int i) |
| set the node info to i | |
| template<BC > | |
| void | set_match (Edge *m) |
| set the pointer of the matching edge to m | |
| template<BC > | |
| void | match (void) |
| match the node | |
| template<BC > | |
| void | unmatch (void) |
| unmatch the node | |
Public Attributes | |
| unsigned int | var |
| stores the variable index of the node | |
| unsigned int | noe |
| stores the number of incident edges on the node | |
| unsigned int | xindex |
| stores the variable index of the node | |
Constructor & Destructor Documentation
|
||||||||||||
|
Creates a variable node with index i.
Definition at line 685 of file graphsup.icc. |
Member Function Documentation
|
||||||||||
|
return the matching edge on the node
Definition at line 735 of file graphsup.icc. |
|
|
return the variable index of the node
Implements Gecode::Int::GCC::VVGNode. Definition at line 749 of file graphsup.icc. |
|
|
returns whether the node is still matchable
Implements Gecode::Int::GCC::VVGNode. Definition at line 696 of file graphsup.icc. |
|
||||||||||
|
tests whether the node is matched or not
Definition at line 706 of file graphsup.icc. |
|
|
Variable Node.
Implements Gecode::Int::GCC::VVGNode. Definition at line 678 of file graphsup.icc. |
|
|
set the node info to i
Implements Gecode::Int::GCC::VVGNode. Definition at line 744 of file graphsup.icc. |
|
||||||||||
|
set the pointer of the matching edge to m
Definition at line 725 of file graphsup.icc. |
|
||||||||||
|
match the node
Definition at line 712 of file graphsup.icc. |
|
||||||||||
|
unmatch the node
Definition at line 718 of file graphsup.icc. |
Member Data Documentation
|
|
stores the variable index of the node
Definition at line 113 of file graphsup.icc. |
|
|
stores the number of incident edges on the node
Definition at line 115 of file graphsup.icc. |
|
|
stores the variable index of the node
Definition at line 118 of file graphsup.icc. |
The documentation for this class was generated from the following file:
- gecode/int/gcc/graphsup.icc (Revision: 3512)
