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

Assigning
[Using finite integer sets]


Enumerations

enum  Gecode::SetAssign {
  Gecode::SET_ASSIGN_MIN_INC, Gecode::SET_ASSIGN_MIN_EXC, Gecode::SET_ASSIGN_MED_INC, Gecode::SET_ASSIGN_MED_EXC,
  Gecode::SET_ASSIGN_MAX_INC, Gecode::SET_ASSIGN_MAX_EXC, Gecode::SET_ASSIGN_RND_INC, Gecode::SET_ASSIGN_RND_EXC
}
 Which value to select for assignment. More...

Functions

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

Enumeration Type Documentation

Which value to select for assignment.

Enumerator:
SET_ASSIGN_MIN_INC  Include smallest element.
SET_ASSIGN_MIN_EXC  Exclude smallest element.
SET_ASSIGN_MED_INC  Include median element (rounding downwards).
SET_ASSIGN_MED_EXC  Exclude median element (rounding downwards).
SET_ASSIGN_MAX_INC  Include largest element.
SET_ASSIGN_MAX_EXC  Exclude largest element.
SET_ASSIGN_RND_INC  Include random element.
SET_ASSIGN_RND_EXC  Exclude random element.

Definition at line 1014 of file set.hh.


Function Documentation

void Gecode::assign ( Space &  home,
const SetVarArgs &  x,
SetAssign  vals,
const ValBranchOptions &  o_vals 
)

Assign all x with value selection vals.

Definition at line 43 of file branch.cpp.