Generated on Wed Nov 1 15:05:16 2006 for Gecode by doxygen 1.4.5

Gecode::Int::Branch::ByDegreeMin Class Reference
[Integer view selection for branching]

#include <branch.hh>

List of all members.


Detailed Description

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

Requires

Definition at line 247 of file branch.hh.

Public Member Functions

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

Protected Attributes

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


Member Function Documentation

ViewSelStatus Gecode::Int::Branch::ByDegreeMin::init const Space home,
IntView  x
[inline]
 

Intialize with view x.

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

ViewSelStatus Gecode::Int::Branch::ByDegreeMin::select const Space home,
IntView  x
[inline]
 

Possibly select better view x.

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


Member Data Documentation

unsigned int Gecode::Int::Branch::ByDegreeMin::degree [protected]
 

So-far smallest degree.

Definition at line 250 of file branch.hh.

unsigned int Gecode::Int::Branch::ByDegreeMin::size [protected]
 

So-far smallest size for degree.

Definition at line 252 of file branch.hh.


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