Generated on Thu Mar 13 2014 04:39:46 for Gecode by doxygen 1.8.1.2
Gecode::Int::Branch::BySizeAfcMax Class Reference

View selection class for view with largest size divided by accumulated failure count. More...

#include <branch.hh>

Public Member Functions

 BySizeAfcMax (void)
 Default constructor.
 BySizeAfcMax (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

double sizeafc
 So-far largest size/afc.

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 largest size divided by accumulated failure count.

Requires

Definition at line 498 of file branch.hh.

Constructor & Destructor Documentation

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

Default constructor.

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

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

Constructor for initialization.

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

Member Function Documentation

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

Intialize with view x.

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

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

Possibly select better view x.

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

Member Data Documentation

double Gecode::Int::Branch::BySizeAfcMax::sizeafc
protected

So-far largest size/afc.

Definition at line 501 of file branch.hh.


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