Generated on Thu Mar 7 2013 10:22:15 for Gecode by doxygen 1.8.3.1
Gecode::Set::Branch::BySizeDegreeMax Class Reference

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

#include <branch.hh>

Public Member Functions

 BySizeDegreeMax (void)
 Default constructor. More...
 
 BySizeDegreeMax (Space &home, const VarBranchOptions &vbo)
 Constructor for initialization. More...
 
ViewSelStatus init (Space &home, SetView x)
 Intialize with view x. More...
 
ViewSelStatus select (Space &home, SetView x)
 Possibly select better view x. More...
 
- Public Member Functions inherited from Gecode::ViewSelBase< SetView >
 ViewSelBase (void)
 Default constructor. More...
 
 ViewSelBase (Space &home, const VarBranchOptions &vbo)
 Constructor for initialization. More...
 
EmptyViewSelChoice choice (Space &home)
 Return choice. More...
 
EmptyViewSelChoice choice (const Space &home, Archive &e)
 Return choice. More...
 
void commit (Space &home, const EmptyViewSelChoice &c, unsigned a)
 Commit to choice. More...
 
void update (Space &home, bool share, ViewSelBase &vs)
 Updating during cloning. More...
 
void dispose (Space &home)
 Delete view selection. More...
 

Protected Attributes

double sizedegree
 So-far largest size/degree. More...
 

Additional Inherited Members

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

Detailed Description

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

Requires

Definition at line 371 of file branch.hh.

Constructor & Destructor Documentation

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

Default constructor.

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

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

Constructor for initialization.

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

Member Function Documentation

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

Intialize with view x.

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

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

Possibly select better view x.

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

Member Data Documentation

double Gecode::Set::Branch::BySizeDegreeMax::sizedegree
protected

So-far largest size/degree.

Definition at line 374 of file branch.hh.


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