parser.chocogen
Class GloConstraintFactory
java.lang.Object
parser.chocogen.ObjectFactory
parser.chocogen.GloConstraintFactory
public class GloConstraintFactory
- extends ObjectFactory
The factory for global constraints
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GloConstraintFactory
public GloConstraintFactory(Model m,
InstanceParser parser)
buildAllDiff
public static Constraint buildAllDiff(IntegerVariable[] vars)
buildGcc
public static Constraint buildGcc(IntegerVariable[] vars,
Integer[] values,
IntegerVariable[] noccurrences)
makeAlldDifferent
public static Constraint[] makeAlldDifferent(PAllDifferent pgc)
makeCumulative
public static Constraint[] makeCumulative(PCumulative pc)
makeElement
public static Constraint[] makeElement(PElement pe)
makeWeightedSum
public static Constraint[] makeWeightedSum(PWeightedSum pws)
makeDisjunctive
public static Constraint[] makeDisjunctive(PDisjunctive pd)
makeGlobalCardinality
public static Constraint[] makeGlobalCardinality(PGlobalCardinality pgcc)
makeLexLess
public static Constraint[] makeLexLess(PLexLess pll)
makeLexLessEq
public static Constraint[] makeLexLessEq(PLexLessEq plle)
makeGlobalConstraint
public static Constraint[] makeGlobalConstraint(PGlobalConstraint pgc)
Copyright © 2012. All Rights Reserved.