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

Sorted constraints
[Using finite domain integers]


Functions

void Gecode::sorted (Space &home, const IntVarArgs &x, const IntVarArgs &y, IntConLevel icl=ICL_DEF)
 Post propagator that y is x sorted in increasing order.
void Gecode::sorted (Space &, const IntVarArgs &x, const IntVarArgs &y, const IntVarArgs &z, IntConLevel icl=ICL_DEF)
 Post propagator that y is x sorted in increasing order.

Detailed Description

All sorted constraints support bounds consistency.

Function Documentation

void Gecode::sorted ( Space &  home,
const IntVarArgs &  x,
const IntVarArgs &  y,
IntConLevel  icl = ICL_DEF 
)

Post propagator that y is x sorted in increasing order.

Might throw the following exceptions:

Definition at line 60 of file sorted.cpp.

void Gecode::sorted ( Space &  ,
const IntVarArgs &  x,
const IntVarArgs &  y,
const IntVarArgs &  z,
IntConLevel  icl = ICL_DEF 
)

Post propagator that y is x sorted in increasing order.

The values in z describe the sorting permutation, that is $\forall i\in\{0,\dots,|x|-1\}: x_i=y_{z_i} $.

Might throw the following exceptions:

Definition at line 43 of file sorted.cpp.