Gecode::Int::GCC::VVGNode Class Reference
Inherited by Gecode::Int::GCC::ValNode, and Gecode::Int::GCC::VarNode.Detailed Description
Base class for nodes in the variable-value-graph.
Definition at line 34 of file graphsup.icc.
Constructors and initialization | |
| VVGNode (void) | |
| Default constructor. | |
Access | |
| Edge ** | adj (void) |
| return reference to the incident edges | |
| Edge * | first (void) |
| return pointer to the first incident edge | |
| Edge * | last (void) |
| return pointer to the last incident edge | |
| Edge * | inedge (void) |
| return pointer to the node's inedge | |
| bool | get_type (void) |
| return the type of the node | |
| template<BC > | |
| bool | get_match_flag (void) |
| access the matching flag of the node | |
| virtual int | get_info (void)=0 |
| get the information on the node (either var-index or value) | |
| virtual bool | is_matched (BC)=0 |
| test whether the node is matched | |
| virtual bool | removed (void)=0 |
| check whether a node has been removed from the graph | |
Update | |
| void | first (Edge *p) |
| set the first edge pointer to p | |
| void | last (Edge *p) |
| set the last edge pointer to p | |
| void | inedge (Edge *p) |
| set the inedge pointer to p | |
| void | set_type (bool t) |
| set the node type to t | |
| template<BC > | |
| void | set_match_flag (bool f) |
| set the matching flag to f | |
| virtual void | set_info (int i)=0 |
| set the node information to i | |
Public Member Functions | |
| virtual | ~VVGNode (void) |
| Destructor. | |
| void * | operator new (size_t, void *) |
| Create a new node. | |
Constructor & Destructor Documentation
|
|
Default constructor.
Definition at line 602 of file graphsup.icc. |
|
|
Destructor.
Definition at line 57 of file graphsup.icc. |
Member Function Documentation
|
||||||||||||
|
Create a new node.
Definition at line 605 of file graphsup.icc. |
|
|
return reference to the incident edges
Definition at line 610 of file graphsup.icc. |
|
|
return pointer to the first incident edge
Definition at line 615 of file graphsup.icc. |
|
|
return pointer to the last incident edge
Definition at line 620 of file graphsup.icc. |
|
|
return pointer to the node's inedge
Definition at line 645 of file graphsup.icc. |
|
|
return the type of the node
Definition at line 635 of file graphsup.icc. |
|
||||||||||
|
access the matching flag of the node
Definition at line 666 of file graphsup.icc. |
|
|
get the information on the node (either var-index or value)
Implemented in Gecode::Int::GCC::VarNode, and Gecode::Int::GCC::ValNode. |
|
|
test whether the node is matched
Implemented in Gecode::Int::GCC::VarNode, and Gecode::Int::GCC::ValNode. |
|
|
check whether a node has been removed from the graph
Implemented in Gecode::Int::GCC::VarNode, and Gecode::Int::GCC::ValNode. |
|
|
set the first edge pointer to p
Definition at line 625 of file graphsup.icc. |
|
|
set the last edge pointer to p
Definition at line 630 of file graphsup.icc. |
|
|
set the inedge pointer to p
Definition at line 650 of file graphsup.icc. |
|
|
set the node type to t
Definition at line 640 of file graphsup.icc. |
|
||||||||||
|
set the matching flag to f
Definition at line 656 of file graphsup.icc. |
|
|
set the node information to i
Implemented in Gecode::Int::GCC::VarNode, and Gecode::Int::GCC::ValNode. |
The documentation for this class was generated from the following file:
- gecode/int/gcc/graphsup.icc (Revision: 3512)
