Generated on for Gecode by doxygen 1.17.0

Functions

void Gecode::distinct (Home home, OpenIntVarList x, IntPropLevel ipl=IPL_DEF)
 Constrain all materialized variables in x to be distinct.

Detailed Description

Function Documentation

◆ distinct()

void Gecode::distinct ( Home home,
OpenIntVarList x,
IntPropLevel ipl = IPL_DEF )

Constrain all materialized variables in x to be distinct.

The constraint is value consistent and applies to variables added after posting. The propagation level ipl is ignored.

Definition at line 209 of file distinct.cpp.