Generated on Sat Feb 7 2015 02:01:50 for Gecode by doxygen 1.8.9.1
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. More...
 
 ValNode (int v, ValNode< View > *n)
 Initialize with value v and successor n. More...
 
int val (void) const
 Return value of node. More...
 
void matching (Edge< View > *m)
 Set matching edge to m. More...
 
Edge< View > * matching (void) const
 Return matching edge (NULL if unmatched) More...
 
ValNode< View > ** next_val_ref (void)
 Return pointer to next value node fields. More...
 
ValNode< View > * next_val (void) const
 Return next value node. More...
 
void next_val (ValNode< View > *v)
 Set next value node to v. More...
 
- Public Member Functions inherited from Gecode::Int::ViewValGraph::Node< View >
 Node (void)
 Initialize. More...
 
Edge< View > * edge_fst (void) const
 Return first edge (organized by bi-links) More...
 
Edge< View > * edge_lst (void) const
 Return last edge (organized by bi-links) More...
 

Protected Attributes

const int _val
 The value of the node. More...
 
Edge< View > * _matching
 The matching edge. More...
 
ValNode< View > * _next_val
 The next value node. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from Gecode::Int::ViewValGraph::Node< View >
static void * operator new (size_t, Space &)
 Allocate memory from space. More...
 
static void operator delete (void *, size_t)
 Needed for exceptions. More...
 
static void operator delete (void *, Space &)
 Needed for exceptions. More...
 
- Public Attributes inherited from Gecode::Int::ViewValGraph::Node< View >
Edge< View > * iter
 Next edge for computing strongly connected components. More...
 
unsigned int low
 Values for computing strongly connected components. More...
 
unsigned int min
 
unsigned int comp
 

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

Initialize with value v.

Definition at line 80 of file node.hpp.

template<class View>
Gecode::Int::ViewValGraph::ValNode< View >::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

template<class View >
int Gecode::Int::ViewValGraph::ValNode< View >::val ( void  ) const
inline

Return value of node.

Definition at line 88 of file node.hpp.

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

Set matching edge to m.

Definition at line 93 of file node.hpp.

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

Return matching edge (NULL if unmatched)

Definition at line 98 of file node.hpp.

template<class View >
ValNode< View > ** Gecode::Int::ViewValGraph::ValNode< View >::next_val_ref ( void  )
inline

Return pointer to next value node fields.

Definition at line 103 of file node.hpp.

template<class View >
ValNode< View > * Gecode::Int::ViewValGraph::ValNode< View >::next_val ( void  ) const
inline

Return next value node.

Definition at line 108 of file node.hpp.

template<class View>
void Gecode::Int::ViewValGraph::ValNode< View >::next_val ( ValNode< View > *  v)
inline

Set next value node to v.

Definition at line 113 of file node.hpp.

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: