Gecode::Int::ViewValGraph::ValNode< View > Class Template Reference
Value nodes in view-value graph. More...
#include <view-val-graph.hh>
Public Member Functions | |
ValNode (int v) | |
Initialize with value v. | |
ValNode (int v, ValNode< View > *n) | |
Initialize with value v and successor n. | |
int | val (void) const |
Return value of node. | |
void | matching (Edge< View > *m) |
Set matching edge to m. | |
Edge< View > * | matching (void) const |
Return matching edge (NULL if unmatched). | |
ValNode< View > ** | next_val_ref (void) |
Return pointer to next value node fields. | |
ValNode< View > * | next_val (void) const |
Return next value node. | |
void | next_val (ValNode< View > *v) |
Set next value node to v. | |
Protected Attributes | |
const int | _val |
The value of the node. | |
Edge< View > * | _matching |
The matching edge. | |
ValNode< View > * | _next_val |
The next value node. |
Detailed Description
template<class View>
class Gecode::Int::ViewValGraph::ValNode< View >
Value nodes in view-value graph.
Definition at line 146 of file view-val-graph.hh.
Constructor & Destructor Documentation
template<class View >
Gecode::Int::ViewValGraph::ValNode< View >::ValNode | ( | int | v | ) | [inline] |
template<class View>
Gecode::Int::ViewValGraph::ValNode< View >::ValNode | ( | int | v, | |
ValNode< View > * | n | |||
) | [inline] |
Member Function Documentation
template<class View >
int Gecode::Int::ViewValGraph::ValNode< View >::val | ( | void | ) | const [inline] |
template<class View>
void Gecode::Int::ViewValGraph::ValNode< View >::matching | ( | Edge< View > * | m | ) | [inline] |
template<class View>
Edge< View > * Gecode::Int::ViewValGraph::ValNode< View >::matching | ( | void | ) | const [inline] |
template<class View >
ValNode< View > ** Gecode::Int::ViewValGraph::ValNode< View >::next_val_ref | ( | void | ) | [inline] |
template<class View >
ValNode< View > * Gecode::Int::ViewValGraph::ValNode< View >::next_val | ( | void | ) | const [inline] |
template<class View>
void Gecode::Int::ViewValGraph::ValNode< View >::next_val | ( | ValNode< View > * | v | ) | [inline] |
Member Data Documentation
template<class View>
const int Gecode::Int::ViewValGraph::ValNode< View >::_val [protected] |
The value of the node.
Definition at line 149 of file view-val-graph.hh.
template<class View>
Edge<View>* Gecode::Int::ViewValGraph::ValNode< View >::_matching [protected] |
The matching edge.
Definition at line 151 of file view-val-graph.hh.
template<class View>
ValNode<View>* Gecode::Int::ViewValGraph::ValNode< View >::_next_val [protected] |
The next value node.
Definition at line 153 of file view-val-graph.hh.
The documentation for this class was generated from the following files:
- gecode/int/view-val-graph.hh (Revision: 12395)
- gecode/int/view-val-graph/node.hpp (Revision: 12395)