Gecode::Int::GCC::ValNode Class Reference
Inherits Gecode::Int::GCC::VVGNode.Detailed Description
Value node.
Definition at line 160 of file graphsup.icc.
Constructors and destructors | |
ValNode (int min, int max, int value, int kidx, int kshift, int count) | |
Constructor for value node. | |
Access | |
void | set_maxlow (int i) |
Value Node. | |
int | get_maxlow (void) |
get max cap for LBC | |
void | card_conflict (int c) |
Mark the value node as conflicting in case of variable cardinalities. | |
int | card_conflict (void) |
Check whether the value node is conflicting. | |
void | red_conflict (void) |
Reduce the conflict counter. | |
bool | removed (void) |
check for removal from graph | |
void | inc (void) |
increases the value counter | |
int | kcount (void) |
returns the current number of occurences of the value | |
template<BC > | |
int | incid_match (void) |
Returs the number of incident matching edges on the node. | |
int | kindex (void) |
returns the index in cardinality array k | |
int | get_info (void) |
return the node information | |
template<BC > | |
bool | matched (void) |
returns true if the node is matched in BC, false otherwise | |
bool | sink (void) |
tests whether the node is a sink | |
bool | source (void) |
tests whether the node is a source | |
int | kmin (void) |
return the minimal node capacity as stored in k | |
int | kmax (void) |
return the maximal node capacity as stored in k | |
template<BC > | |
int | kbound (void) |
return minimal or maximal capacity | |
bool | is_matched (BC) |
returns whether the node is still matchable | |
Update | |
void | kcount (int) |
void | kindex (int) |
changes the index in the cardinality array k | |
template<BC > | |
void | dec (void) |
decrease the node-capacity | |
template<BC > | |
void | inc (void) |
increase the node-capacity | |
template<BC > | |
int | cap (void) |
return the the node-capacity | |
template<BC > | |
void | set_cap (int c) |
set the node-capacity to c | |
template<BC > | |
void | match (void) |
match the node | |
template<BC > | |
void | unmatch (void) |
unmatch the node | |
void | reset (void) |
node reset to original capacity values | |
void | set_info (int i) |
set the node infomration to i | |
void | set_kmin (int min) |
set the minimal k-capacity to min | |
void | set_kmax (int max) |
set the maximal k-capacity to max | |
Public Attributes | |
int | val |
stores the value of the node | |
int | idx |
stores the index of the node | |
int | noe |
stores the number of incident edges on the node |
Constructor & Destructor Documentation
|
Constructor for value node. with minimal capacity min, maximal capacity max, the value value and the index k_access in k Definition at line 890 of file graphsup.icc. |
Member Function Documentation
|
Value Node.
Definition at line 756 of file graphsup.icc. |
|
get max cap for LBC
Definition at line 762 of file graphsup.icc. |
|
Mark the value node as conflicting in case of variable cardinalities.
Definition at line 772 of file graphsup.icc. |
|
Check whether the value node is conflicting.
Definition at line 783 of file graphsup.icc. |
|
Reduce the conflict counter.
Definition at line 777 of file graphsup.icc. |
|
check for removal from graph
Implements Gecode::Int::GCC::VVGNode. Definition at line 788 of file graphsup.icc. |
|
increases the value counter
Definition at line 862 of file graphsup.icc. |
|
returns the current number of occurences of the value
Definition at line 931 of file graphsup.icc. |
|
Returs the number of incident matching edges on the node.
Definition at line 953 of file graphsup.icc. |
|
returns the index in cardinality array k
Definition at line 946 of file graphsup.icc. |
|
return the node information
Implements Gecode::Int::GCC::VVGNode. Definition at line 921 of file graphsup.icc. |
|
returns true if the node is matched in BC, false otherwise
Definition at line 885 of file graphsup.icc. |
|
tests whether the node is a sink
Definition at line 965 of file graphsup.icc. |
|
tests whether the node is a source
Definition at line 974 of file graphsup.icc. |
|
return the minimal node capacity as stored in k
Definition at line 825 of file graphsup.icc. |
|
return the maximal node capacity as stored in k
Definition at line 820 of file graphsup.icc. |
|
return minimal or maximal capacity
Definition at line 811 of file graphsup.icc. |
|
returns whether the node is still matchable
Implements Gecode::Int::GCC::VVGNode. Definition at line 793 of file graphsup.icc. |
|
Definition at line 936 of file graphsup.icc. |
|
changes the index in the cardinality array k
Definition at line 941 of file graphsup.icc. |
|
decrease the node-capacity
Definition at line 851 of file graphsup.icc. |
|
increase the node-capacity
|
|
return the the node-capacity
Definition at line 841 of file graphsup.icc. |
|
set the node-capacity to c
Definition at line 906 of file graphsup.icc. |
|
match the node
Definition at line 873 of file graphsup.icc. |
|
unmatch the node
Definition at line 879 of file graphsup.icc. |
|
node reset to original capacity values
Definition at line 802 of file graphsup.icc. |
|
set the node infomration to i
Implements Gecode::Int::GCC::VVGNode. Definition at line 916 of file graphsup.icc. |
|
set the minimal k-capacity to min
Definition at line 830 of file graphsup.icc. |
|
set the maximal k-capacity to max
Definition at line 835 of file graphsup.icc. |
Member Data Documentation
|
stores the value of the node
Definition at line 192 of file graphsup.icc. |
|
stores the index of the node
Definition at line 194 of file graphsup.icc. |
|
stores the number of incident edges on the node
Definition at line 196 of file graphsup.icc. |
The documentation for this class was generated from the following file:
- gecode/int/gcc/graphsup.icc (Revision: 3512)