Generated on Wed Sep 5 2012 18:52:25 for Gecode by doxygen 1.8.1.1
Gecode::ViewSelDegreeMax< View > Class Template Reference

View selection class for view with largest degree. More...

#include <brancher-view.hpp>

List of all members.

Public Member Functions

 ViewSelDegreeMax (void)
 Default constructor.
 ViewSelDegreeMax (Space &home, const VarBranchOptions &vbo)
 Constructor for initialization.
ViewSelStatus init (Space &home, View x)
 Intialize with view x.
ViewSelStatus select (Space &home, View x)
 Possibly select better view x.
- Public Member Functions inherited from Gecode::ViewSelBase< View >
 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.

Protected Attributes

unsigned int degree
 So-far largest degree.

Additional Inherited Members

- Public Types inherited from Gecode::ViewSelBase< View >
typedef View View
 View type.
typedef EmptyViewSelChoice Choice
 View selection choice.

Detailed Description

template<class View>
class Gecode::ViewSelDegreeMax< View >

View selection class for view with largest degree.

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


Constructor & Destructor Documentation

template<class View >
Gecode::ViewSelDegreeMax< View >::ViewSelDegreeMax ( void  )
inline

Default constructor.

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

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

Constructor for initialization.

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


Member Function Documentation

template<class View >
ViewSelStatus Gecode::ViewSelDegreeMax< View >::init ( Space home,
View  x 
)
inline

Intialize with view x.

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

template<class View >
ViewSelStatus Gecode::ViewSelDegreeMax< View >::select ( Space home,
View  x 
)
inline

Possibly select better view x.

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


Member Data Documentation

template<class View>
unsigned int Gecode::ViewSelDegreeMax< View >::degree
protected

So-far largest degree.

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


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