Generated on Thu Feb 14 2013 20:59:55 for Gecode by doxygen 1.8.3.1
Gecode::ViewSelAfcMax< View > Class Template Reference

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

#include <brancher-view.hpp>

Public Member Functions

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

Additional Inherited Members

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

Detailed Description

template<class View>
class Gecode::ViewSelAfcMax< View >

View selection class for view with largest accumulated failure count.

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

Constructor & Destructor Documentation

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

Default constructor.

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

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

Constructor for initialization.

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

Member Function Documentation

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

Intialize with view x.

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

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

Possibly select better view x.

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

Member Data Documentation

template<class View>
double Gecode::ViewSelAfcMax< View >::afc
protected

So-far largest afc.

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


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