Generated on Sat Feb 7 2015 02:01:50 for Gecode by doxygen 1.8.9.1
Gecode::Int::ViewValGraph::ViewNode< View > Class Template Reference

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

#include <view-val-graph.hh>

Public Member Functions

 ViewNode (void)
 Initialize node for a non-view. More...
 
 ViewNode (View x)
 Initialize new node for view x. More...
 
Edge< View > * val_edges (void) const
 Return first edge of all value edges. More...
 
Edge< View > ** val_edges_ref (void)
 Return pointer to first edge fields of all value edges. More...
 
bool fake (void) const
 Test whether node has a fake view. More...
 
View view (void) const
 Return view. More...
 
void update (void)
 Update size of view after change. More...
 
bool changed (void) const
 Return whether view has changed its size. More...
 
bool matched (void) const
 Whether the node is matched. 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

unsigned int _size
 The size of the view after last change. More...
 
View _view
 The node's view. More...
 
Edge< View > * _val_edges
 The first value edge. 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::ViewNode< View >

View nodes in view-value graph.

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

Constructor & Destructor Documentation

template<class View >
Gecode::Int::ViewValGraph::ViewNode< View >::ViewNode ( void  )
inline

Initialize node for a non-view.

Definition at line 126 of file node.hpp.

template<class View>
Gecode::Int::ViewValGraph::ViewNode< View >::ViewNode ( View  x)
inline

Initialize new node for view x.

Definition at line 130 of file node.hpp.

Member Function Documentation

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

Return first edge of all value edges.

Definition at line 134 of file node.hpp.

template<class View >
Edge< View > ** Gecode::Int::ViewValGraph::ViewNode< View >::val_edges_ref ( void  )
inline

Return pointer to first edge fields of all value edges.

Definition at line 139 of file node.hpp.

template<class View >
bool Gecode::Int::ViewValGraph::ViewNode< View >::fake ( void  ) const
inline

Test whether node has a fake view.

Definition at line 144 of file node.hpp.

template<class View >
View Gecode::Int::ViewValGraph::ViewNode< View >::view ( void  ) const
inline

Return view.

Definition at line 149 of file node.hpp.

template<class View >
void Gecode::Int::ViewValGraph::ViewNode< View >::update ( void  )
inline

Update size of view after change.

Definition at line 159 of file node.hpp.

template<class View >
bool Gecode::Int::ViewValGraph::ViewNode< View >::changed ( void  ) const
inline

Return whether view has changed its size.

Definition at line 154 of file node.hpp.

template<class View >
bool Gecode::Int::ViewValGraph::ViewNode< View >::matched ( void  ) const
inline

Whether the node is matched.

Definition at line 164 of file node.hpp.

Member Data Documentation

template<class View>
unsigned int Gecode::Int::ViewValGraph::ViewNode< View >::_size
protected

The size of the view after last change.

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

template<class View>
View Gecode::Int::ViewValGraph::ViewNode< View >::_view
protected

The node's view.

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

template<class View>
Edge<View>* Gecode::Int::ViewValGraph::ViewNode< View >::_val_edges
protected

The first value edge.

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


The documentation for this class was generated from the following files: