Generated on Sun Aug 26 2012 08:44:26 for Gecode by doxygen 1.8.1.1
Gecode::Set::Branch::BySizeDegreeMin Class Reference

View selection class for view with smallest cardinality of lub-glb divided by degree. More...

#include <branch.hh>

List of all members.

Public Member Functions

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

double sizedegree
 So-far smallest size/degree.

Additional Inherited Members

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

Detailed Description

View selection class for view with smallest cardinality of lub-glb divided by degree.

Requires

Definition at line 349 of file branch.hh.


Constructor & Destructor Documentation

Gecode::Set::Branch::BySizeDegreeMin::BySizeDegreeMin ( void  )
inline

Default constructor.

Definition at line 196 of file select-view.hpp.

Gecode::Set::Branch::BySizeDegreeMin::BySizeDegreeMin ( Space home,
const VarBranchOptions vbo 
)
inline

Constructor for initialization.

Definition at line 198 of file select-view.hpp.


Member Function Documentation

ViewSelStatus Gecode::Set::Branch::BySizeDegreeMin::init ( Space home,
SetView  x 
)
inline

Intialize with view x.

Definition at line 201 of file select-view.hpp.

ViewSelStatus Gecode::Set::Branch::BySizeDegreeMin::select ( Space home,
SetView  x 
)
inline

Possibly select better view x.

Definition at line 209 of file select-view.hpp.


Member Data Documentation

double Gecode::Set::Branch::BySizeDegreeMin::sizedegree
protected

So-far smallest size/degree.

Definition at line 352 of file branch.hh.


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