Generated on Fri Aug 24 2012 04:52:29 for Gecode by doxygen 1.8.1.1
Gecode::Int::Branch::ByMinMin Class Reference

View selection class for view with smallest min. More...

#include <branch.hh>

List of all members.

Public Member Functions

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

int min
 So-far smallest minimum.

Additional Inherited Members

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

Detailed Description

View selection class for view with smallest min.

Requires

Definition at line 307 of file branch.hh.


Constructor & Destructor Documentation

Gecode::Int::Branch::ByMinMin::ByMinMin ( void  )
inline

Default constructor.

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

Gecode::Int::Branch::ByMinMin::ByMinMin ( Space home,
const VarBranchOptions vbo 
)
inline

Constructor for initialization.

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


Member Function Documentation

ViewSelStatus Gecode::Int::Branch::ByMinMin::init ( Space home,
IntView  x 
)
inline

Intialize with view x.

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

ViewSelStatus Gecode::Int::Branch::ByMinMin::select ( Space home,
IntView  x 
)
inline

Possibly select better view x.

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


Member Data Documentation

int Gecode::Int::Branch::ByMinMin::min
protected

So-far smallest minimum.

Definition at line 310 of file branch.hh.


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