Generated on Mon Nov 30 23:53:46 2009 for Gecode by doxygen 1.6.1

Gecode::ViewSelBase< _View > Class Template Reference
[Generic view selection for brancher based on view and value selection]

Base class for view selection. More...

#include <brancher-view.hpp>

List of all members.

Public Types

typedef _View View
 View type.
typedef EmptyViewSelChoice Choice
 View selection choice.

Public Member Functions

 ViewSelBase (void)
 Default constructor.
 ViewSelBase (Space &home, const VarBranchOptions &vbo)
 Constructor for initialization.
EmptyViewSelChoice choice (Space &home)
 Return choice.
void commit (Space &home, const EmptyViewSelChoice &c, unsigned a)
 Commit to choice.
void update (Space &home, bool share, ViewSelBase &vs)
 Updating during cloning.
void dispose (Space &home)
 Delete view selection.

Detailed Description

template<class _View>
class Gecode::ViewSelBase< _View >

Base class for view selection.

Definition at line 57 of file brancher-view.hpp.


Member Typedef Documentation

template<class _View>
typedef _View Gecode::ViewSelBase< _View >::View

View type.

Definition at line 60 of file brancher-view.hpp.

template<class _View>
typedef EmptyViewSelChoice Gecode::ViewSelBase< _View >::Choice

View selection choice.

Definition at line 62 of file brancher-view.hpp.


Constructor & Destructor Documentation

template<class View >
Gecode::ViewSelBase< View >::ViewSelBase ( void   )  [inline]

Default constructor.

Definition at line 212 of file brancher-view.hpp.

template<class View >
Gecode::ViewSelBase< View >::ViewSelBase ( Space home,
const VarBranchOptions vbo 
) [inline]

Constructor for initialization.

Definition at line 215 of file brancher-view.hpp.


Member Function Documentation

template<class View >
EmptyViewSelChoice Gecode::ViewSelBase< View >::choice ( Space home  )  [inline]

Return choice.

Definition at line 218 of file brancher-view.hpp.

template<class View >
void Gecode::ViewSelBase< View >::commit ( Space home,
const EmptyViewSelChoice c,
unsigned  a 
) [inline]

Commit to choice.

Definition at line 223 of file brancher-view.hpp.

template<class View >
void Gecode::ViewSelBase< View >::update ( Space home,
bool  share,
ViewSelBase< _View > &  vs 
) [inline]

Updating during cloning.

Definition at line 226 of file brancher-view.hpp.

template<class View >
void Gecode::ViewSelBase< View >::dispose ( Space home  )  [inline]

Delete view selection.

Definition at line 229 of file brancher-view.hpp.


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