Generated on Wed Jan 4 17:49:20 2006 for Gecode by doxygen 1.4.6

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

#include <branch.hh>

List of all members.


Detailed Description

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

Requires

 #include "int/branch.hh" 

Definition at line 265 of file branch.hh.

Public Member Functions

ViewSelStatus init (IntView x)
 Intialize with view x.
ViewSelStatus select (IntView x)
 Possibly select better view x.

Protected Attributes

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


Member Function Documentation

ViewSelStatus Gecode::Int::Branch::ByDegreeMax::init IntView  x  )  [inline]
 

Intialize with view x.

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

ViewSelStatus Gecode::Int::Branch::ByDegreeMax::select IntView  x  )  [inline]
 

Possibly select better view x.

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


Member Data Documentation

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

So-far largest degree.

Definition at line 268 of file branch.hh.

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

So-far smallest size for degree.

Definition at line 270 of file branch.hh.


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