Generated on Mon Nov 30 11:16:42 2009 for Gecode by doxygen 1.5.5

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 (Home home, const SetVarArgs &x, SetAssign vals, const ValBranchOptions &o_vals=ValBranchOptions::def)
 Assign all x with value selection vals.
void Gecode::assign (Home home, SetVar x, SetAssign vals, const ValBranchOptions &o_vals=ValBranchOptions::def)
 Assign 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 1056 of file set.hh.


Function Documentation

void Gecode::assign ( Home  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.

void Gecode::assign ( Home  home,
SetVar  x,
SetAssign  vals,
const ValBranchOptions &  o_vals 
)

Assign x with value selection vals.

Definition at line 127 of file branch.cpp.