Generated on Mon Aug 25 11:35:50 2008 for Gecode by doxygen 1.5.6

Gecode::Int::Branch::ByDegreeMin< View > Class Template Reference
[Integer view selection for branching]

#include <branch.hh>

List of all members.


Detailed Description

template<class View>
class Gecode::Int::Branch::ByDegreeMin< View >

View selection class for view with smallest degree (and smallest size in case of ties).

Requires

Definition at line 371 of file branch.hh.


Public Member Functions

ViewSelStatus init (const Space *home, View x)
 Intialize with view x.
ViewSelStatus select (const Space *home, View x)
 Possibly select better view x.

Static Public Member Functions

static Support::Symbol type (void)
 Type of this view selection (for reflection).

Protected Attributes

unsigned int degree
 So-far smallest degree.
unsigned int size
 So-far smallest size for degree.

Member Function Documentation

template<class View>
ViewSelStatus Gecode::Int::Branch::ByDegreeMin< View >::init ( const Space home,
View  x 
) [inline]

Intialize with view x.

Definition at line 188 of file select-view.icc.

template<class View>
ViewSelStatus Gecode::Int::Branch::ByDegreeMin< View >::select ( const Space home,
View  x 
) [inline]

Possibly select better view x.

Definition at line 194 of file select-view.icc.

template<class View>
Support::Symbol Gecode::Int::Branch::ByDegreeMin< View >::type ( void   )  [inline, static]

Type of this view selection (for reflection).

Definition at line 207 of file select-view.icc.


Member Data Documentation

template<class View>
unsigned int Gecode::Int::Branch::ByDegreeMin< View >::degree [protected]

So-far smallest degree.

Definition at line 374 of file branch.hh.

template<class View>
unsigned int Gecode::Int::Branch::ByDegreeMin< View >::size [protected]

So-far smallest size for degree.

Definition at line 376 of file branch.hh.


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