Generated on Tue Sep 25 2012 20:53:32 for Gecode by doxygen 1.7.5
Gecode::Int::ViewValGraph::ValNode Class Reference

Value nodes in view-value graph. More...

#include <view-val-graph.hh>

List of all members.

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

Value nodes in view-value graph.


Constructor & Destructor Documentation

Gecode::Int::ViewValGraph::ValNode::ValNode ( int  v) [inline]

Initialize with value v.

Definition at line 80 of file node.hpp.

Gecode::Int::ViewValGraph::ValNode::ValNode ( int  v,
ValNode< View > *  n 
) [inline]

Initialize with value v and successor n.

Definition at line 84 of file node.hpp.


Member Function Documentation

int Gecode::Int::ViewValGraph::ValNode::val ( void  ) const [inline]

Return value of node.

Definition at line 88 of file node.hpp.

void Gecode::Int::ViewValGraph::ValNode::matching ( Edge< View > *  m) [inline]

Set matching edge to m.

Definition at line 93 of file node.hpp.

Edge< View > * Gecode::Int::ViewValGraph::ValNode::matching ( void  ) const [inline]

Return matching edge (NULL if unmatched)

Definition at line 98 of file node.hpp.

ValNode< View > ** Gecode::Int::ViewValGraph::ValNode::next_val_ref ( void  ) [inline]

Return pointer to next value node fields.

Definition at line 103 of file node.hpp.

ValNode< View > * Gecode::Int::ViewValGraph::ValNode::next_val ( void  ) const [inline]

Return next value node.

Definition at line 108 of file node.hpp.

void Gecode::Int::ViewValGraph::ValNode::next_val ( ValNode< View > *  v) [inline]

Set next value node to v.

Definition at line 113 of file node.hpp.


Member Data Documentation

The value of the node.

Definition at line 149 of file view-val-graph.hh.

The matching edge.

Definition at line 151 of file view-val-graph.hh.

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: