Generated on Mon Jul 6 18:09:24 2009 for Gecode by doxygen 1.5.9

Assigning
[Using finite domain integers]


Enumerations

enum  Gecode::IntAssign { Gecode::INT_ASSIGN_MIN, Gecode::INT_ASSIGN_MED, Gecode::INT_ASSIGN_MAX, Gecode::INT_ASSIGN_RND }
 Which value to select for assignment. More...

Functions

void Gecode::assign (Space &home, const IntVarArgs &x, IntAssign vals, const ValBranchOptions &o_vals=ValBranchOptions::def)
 Assign all x with value selection vals.

Enumeration Type Documentation

Which value to select for assignment.

Enumerator:
INT_ASSIGN_MIN  Select smallest value.
INT_ASSIGN_MED  Select greatest element not greater than the median.
INT_ASSIGN_MAX  Select maximum value.
INT_ASSIGN_RND  Select random value.

Definition at line 2190 of file int.hh.


Function Documentation

void Gecode::assign ( Space &  home,
const IntVarArgs &  x,
IntAssign  vals,
const ValBranchOptions &  o_vals 
)

Assign all x with value selection vals.

Definition at line 43 of file branch.cpp.