Generated on Thu Mar 22 10:39:53 2012 for Gecode by doxygen 1.6.3

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.
EmptyViewSelChoice choice (const Space &home, Archive &e)
 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 59 of file brancher-view.hpp.


Member Typedef Documentation

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

View type.

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

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

View selection choice.

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


Constructor & Destructor Documentation

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

Default constructor.

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

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

Constructor for initialization.

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


Member Function Documentation

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

Return choice.

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

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

Return choice.

Definition at line 245 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 250 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 253 of file brancher-view.hpp.

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

Delete view selection.

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


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