Module org.maxicp

Class NotSubset

java.lang.Object
org.maxicp.cp.engine.core.AbstractCPConstraint
org.maxicp.cp.engine.constraints.setvar.NotSubset
All Implemented Interfaces:
CPConstraint, ConcreteConstraint<ConcreteCPModel>

public class NotSubset extends AbstractCPConstraint
Constraint that enforces that the first set variable is not a subset of the second set variable.
  • Constructor Details

    • NotSubset

      public NotSubset(CPSetVar set1, CPSetVar set2)
      Creates a constraint that enforces that set1 is not a subset of set2.
      Parameters:
      set1 - the first set variable
      set2 - the second set variable
  • Method Details