Class: Gecode::Constraints::SetEnum::Selection::DisjointConstraint
- Inherits:
-
Constraint
- Object
- Constraint
- Gecode::Constraints::SetEnum::Selection::DisjointConstraint
- Defined in:
- lib/gecoder/interface/constraints/set_enum/selection.rb
Overview
Describes a disjoint constraint, which constrains all set variable is an enumeration, at the position specified by a set variable, to be disjoint.
Does not support negation nor reification.
Examples
# The set variable located in the enumeration +sets+ at positions
# described by +disjoint_set_positions+ must be disjoint.
sets[disjoint_set_positions].must_be.disjoint
Instance Method Summary collapse
Methods inherited from Constraint
Constructor Details
This class inherits a constructor from Gecode::Constraints::Constraint