java.lang.Object
org.maxicp.modeling.xcsp3.XCallbacksDecomp
org.maxicp.modeling.xcsp3.XCSP3
- All Implemented Interfaces:
org.xcsp.parser.callbacks.XCallbacks,org.xcsp.parser.callbacks.XCallbacks2
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.xcsp.parser.callbacks.XCallbacks
org.xcsp.parser.callbacks.XCallbacks.Implem, org.xcsp.parser.callbacks.XCallbacks.XCallbacksParameters -
Field Summary
FieldsFields inherited from class org.maxicp.modeling.xcsp3.XCallbacksDecomp
CONVERT_SYMBOLIC, currentReservedArrayIdx, reservedArray, symbolicValues, symbolicValuesReversed, symbolicVariables -
Method Summary
Modifier and TypeMethodDescriptionvoidbuildCtrAllDifferent(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list) voidbuildCtrAllEqual(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list) voidbuildCtrAmong(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list, int[] values, int k) voidbuildCtrAmong(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list, int[] values, org.xcsp.parser.entries.XVariables.XVarInteger k) voidbuildCtrAtLeast(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list, int value, int k) voidbuildCtrAtMost(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list, int value, int k) voidbuildCtrCardinality(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list, boolean closed, int[] values, int[] occurs) voidbuildCtrCardinality(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list, boolean closed, int[] values, int[] occursMin, int[] occursMax) voidbuildCtrCardinality(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list, boolean closed, int[] values, org.xcsp.parser.entries.XVariables.XVarInteger[] occurs) voidbuildCtrCardinality(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list, boolean closed, org.xcsp.parser.entries.XVariables.XVarInteger[] values, int[] occurs) voidbuildCtrCardinality(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list, boolean closed, org.xcsp.parser.entries.XVariables.XVarInteger[] values, int[] occursMin, int[] occursMax) voidbuildCtrCardinality(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list, boolean closed, org.xcsp.parser.entries.XVariables.XVarInteger[] values, org.xcsp.parser.entries.XVariables.XVarInteger[] occurs) voidbuildCtrChannel(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list, int startIndex) voidbuildCtrChannel(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list, int startIndex, org.xcsp.parser.entries.XVariables.XVarInteger value) voidbuildCtrChannel(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list1, int startIndex1, org.xcsp.parser.entries.XVariables.XVarInteger[] list2, int startIndex2) voidbuildCtrCircuit(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list, int startIndex) voidbuildCtrCircuit(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list, int startIndex, int size) voidbuildCtrCount(String id, org.xcsp.common.predicates.XNode<org.xcsp.parser.entries.XVariables.XVarInteger>[] trees, int[] values, org.xcsp.common.Condition condition) voidbuildCtrCount(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list, int[] values, org.xcsp.common.Condition condition) voidbuildCtrCount(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list, org.xcsp.parser.entries.XVariables.XVarInteger[] values, org.xcsp.common.Condition condition) voidbuildCtrCumulative(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] origins, int[] lengths, int[] heights, org.xcsp.common.Condition condition) Cumulative constraint.voidbuildCtrCumulative(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] origins, int[] lengths, org.xcsp.parser.entries.XVariables.XVarInteger[] ends, int[] heights, org.xcsp.common.Condition condition) voidbuildCtrCumulative(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] origins, int[] lengths, org.xcsp.parser.entries.XVariables.XVarInteger[] heights, org.xcsp.common.Condition condition) Cumulative constraint.voidbuildCtrCumulative(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] origins, int[] lengths, org.xcsp.parser.entries.XVariables.XVarInteger[] ends, org.xcsp.parser.entries.XVariables.XVarInteger[] heights, org.xcsp.common.Condition condition) voidbuildCtrCumulative(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] origins, org.xcsp.parser.entries.XVariables.XVarInteger[] lengths, int[] heights, org.xcsp.common.Condition condition) Cumulative constraint.voidbuildCtrCumulative(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] origins, org.xcsp.parser.entries.XVariables.XVarInteger[] lengths, org.xcsp.parser.entries.XVariables.XVarInteger[] ends, int[] heights, org.xcsp.common.Condition condition) voidbuildCtrCumulative(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] origins, org.xcsp.parser.entries.XVariables.XVarInteger[] lengths, org.xcsp.parser.entries.XVariables.XVarInteger[] heights, org.xcsp.common.Condition condition) Cumulative constraint.voidbuildCtrCumulative(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] origins, org.xcsp.parser.entries.XVariables.XVarInteger[] lengths, org.xcsp.parser.entries.XVariables.XVarInteger[] ends, org.xcsp.parser.entries.XVariables.XVarInteger[] heights, org.xcsp.common.Condition condition) voidbuildCtrElement(String id, int[][] matrix, int startRowIndex, org.xcsp.parser.entries.XVariables.XVarInteger rowIndex, int startColIndex, org.xcsp.parser.entries.XVariables.XVarInteger colIndex, org.xcsp.common.Condition condition) voidbuildCtrElement(String id, int[] list, int startIndex, org.xcsp.parser.entries.XVariables.XVarInteger index, org.xcsp.common.Types.TypeRank rank, org.xcsp.common.Condition condition) voidbuildCtrElement(String id, org.xcsp.parser.entries.XVariables.XVarInteger[][] matrix, int startRowIndex, org.xcsp.parser.entries.XVariables.XVarInteger rowIndex, int startColIndex, org.xcsp.parser.entries.XVariables.XVarInteger colIndex, org.xcsp.common.Condition condition) voidbuildCtrElement(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list, int startIndex, org.xcsp.parser.entries.XVariables.XVarInteger index, org.xcsp.common.Types.TypeRank rank, org.xcsp.common.Condition condition) voidbuildCtrElement(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list, org.xcsp.common.Condition condition) voidbuildCtrExactly(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list, int value, int k) voidbuildCtrExactly(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list, int value, org.xcsp.parser.entries.XVariables.XVarInteger k) voidbuildCtrExtension(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list, int[][] tuples, boolean positive, Set<org.xcsp.common.Types.TypeFlag> flags) voidbuildCtrExtension(String id, org.xcsp.parser.entries.XVariables.XVarInteger x, int[] values, boolean positive, Set<org.xcsp.common.Types.TypeFlag> flags) voidbuildCtrInstantiation(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list, int[] values) voidbuildCtrIntension(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] scope, org.xcsp.common.predicates.XNodeParent<org.xcsp.parser.entries.XVariables.XVarInteger> syntaxTreeRoot) voidbuildCtrLex(String id, org.xcsp.parser.entries.XVariables.XVarInteger[][] lists, org.xcsp.common.Types.TypeOperatorRel operator) voidbuildCtrMaximum(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list, org.xcsp.common.Condition condition) voidbuildCtrMDD(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list, org.xcsp.common.structures.Transition[] transitions) voidbuildCtrMinimum(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list, org.xcsp.common.Condition condition) voidbuildCtrNoOverlap(String id, org.xcsp.parser.entries.XVariables.XVarInteger[][] origins, int[][] lengths, boolean zeroIgnored) voidbuildCtrNoOverlap(String id, org.xcsp.parser.entries.XVariables.XVarInteger[][] origins, org.xcsp.parser.entries.XVariables.XVarInteger[][] lengths, boolean zeroIgnored) voidbuildCtrNoOverlap(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] origins, int[] lengths, boolean zeroIgnored) voidbuildCtrNoOverlap(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] origins, org.xcsp.parser.entries.XVariables.XVarInteger[] lengths, boolean zeroIgnored) voidbuildCtrNotAllEqual(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list) voidbuildCtrNValues(String id, org.xcsp.common.predicates.XNode<org.xcsp.parser.entries.XVariables.XVarInteger>[] trees, org.xcsp.common.Condition condition) voidbuildCtrNValues(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list, org.xcsp.common.Condition condition) voidbuildCtrNValuesExcept(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list, int[] except, org.xcsp.common.Condition condition) voidbuildCtrOrdered(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list, org.xcsp.common.Types.TypeOperatorRel operator) voidbuildCtrPrimitive(String id, org.xcsp.parser.entries.XVariables.XVarInteger x, org.xcsp.common.Types.TypeArithmeticOperator aop, int p, org.xcsp.common.Types.TypeConditionOperatorRel op, org.xcsp.parser.entries.XVariables.XVarInteger z) voidbuildCtrPrimitive(String id, org.xcsp.parser.entries.XVariables.XVarInteger x, org.xcsp.common.Types.TypeArithmeticOperator aop, org.xcsp.parser.entries.XVariables.XVarInteger y, org.xcsp.common.Types.TypeConditionOperatorRel op, int k) voidbuildCtrPrimitive(String id, org.xcsp.parser.entries.XVariables.XVarInteger x, org.xcsp.common.Types.TypeArithmeticOperator aop, org.xcsp.parser.entries.XVariables.XVarInteger y, org.xcsp.common.Types.TypeConditionOperatorRel op, org.xcsp.parser.entries.XVariables.XVarInteger z) voidbuildCtrPrimitive(String id, org.xcsp.parser.entries.XVariables.XVarInteger x, org.xcsp.common.Types.TypeConditionOperatorRel op, int k) voidbuildCtrPrimitive(String id, org.xcsp.parser.entries.XVariables.XVarInteger x, org.xcsp.common.Types.TypeConditionOperatorSet op, int[] t) voidbuildCtrPrimitive(String id, org.xcsp.parser.entries.XVariables.XVarInteger x, org.xcsp.common.Types.TypeConditionOperatorSet op, int min, int max) voidbuildCtrRegular(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list, org.xcsp.common.structures.Transition[] transitions, String startState, String[] finalStates) voidbuildCtrStretch(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list, int[] values, int[] widthsMin, int[] widthsMax) voidbuildCtrStretch(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list, int[] values, int[] widthsMin, int[] widthsMax, int[][] patterns) voidbuildCtrSum(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list, int[] coeffs, org.xcsp.common.Condition condition) voidbuildCtrSum(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list, org.xcsp.common.Condition condition) voidbuildCtrSum(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list, org.xcsp.parser.entries.XVariables.XVarInteger[] coeffs, org.xcsp.common.Condition condition) voidbuildObjToMaximize(String id, org.xcsp.common.predicates.XNodeParent<org.xcsp.parser.entries.XVariables.XVarInteger> tree) voidbuildObjToMaximize(String id, org.xcsp.common.Types.TypeObjective type, org.xcsp.common.predicates.XNode<org.xcsp.parser.entries.XVariables.XVarInteger>[] trees) voidbuildObjToMaximize(String id, org.xcsp.common.Types.TypeObjective type, org.xcsp.common.predicates.XNode<org.xcsp.parser.entries.XVariables.XVarInteger>[] trees, int[] coeffs) voidbuildObjToMaximize(String id, org.xcsp.common.Types.TypeObjective type, org.xcsp.parser.entries.XVariables.XVarInteger[] list) voidbuildObjToMaximize(String id, org.xcsp.common.Types.TypeObjective type, org.xcsp.parser.entries.XVariables.XVarInteger[] list, int[] coeffs) voidbuildObjToMaximize(String id, org.xcsp.parser.entries.XVariables.XVarInteger x) voidbuildObjToMinimize(String id, org.xcsp.common.predicates.XNodeParent<org.xcsp.parser.entries.XVariables.XVarInteger> tree) voidbuildObjToMinimize(String id, org.xcsp.common.Types.TypeObjective type, org.xcsp.common.predicates.XNode<org.xcsp.parser.entries.XVariables.XVarInteger>[] trees) voidbuildObjToMinimize(String id, org.xcsp.common.Types.TypeObjective type, org.xcsp.common.predicates.XNode<org.xcsp.parser.entries.XVariables.XVarInteger>[] trees, int[] coeffs) voidbuildObjToMinimize(String id, org.xcsp.common.Types.TypeObjective type, org.xcsp.parser.entries.XVariables.XVarInteger[] list) voidbuildObjToMinimize(String id, org.xcsp.common.Types.TypeObjective type, org.xcsp.parser.entries.XVariables.XVarInteger[] list, int[] coeffs) voidbuildObjToMinimize(String id, org.xcsp.parser.entries.XVariables.XVarInteger x) voidbuildVarInteger(org.xcsp.parser.entries.XVariables.XVarInteger x, int[] values) voidbuildVarInteger(org.xcsp.parser.entries.XVariables.XVarInteger x, int minValue, int maxValue) org.xcsp.parser.callbacks.XCallbacks.Implemimplem()static XCSP3.XCSP3LoadedInstancestatic voidMethods inherited from class org.maxicp.modeling.xcsp3.XCallbacksDecomp
buildCtrAllDifferent, buildCtrAllDifferentList, buildCtrAllDifferentMatrix, buildCtrExtension, buildCtrExtension, buildCtrIntension, buildCtrLexMatrix, buildCtrNoOverlap2D, buildCtrNoOverlap2D, buildEndsFromStartAndLength, buildEndsFromStartAndLength, buildVarSymbolic, convertSymbolicTree, convertSymbolicTreeLeaf, generateInstantiationWithSymbolic, generateReservedArrayIdx, unimplementedCaseMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.xcsp.parser.callbacks.XCallbacks
buildCtrFalse, buildCtrTrue, loadAnnotations, loadArray, loadBlock, loadConstraints, loadConstraints, loadCtr, loadCtrs, loadDocument, loadGroup, loadInstance, loadInstance, loadLogic, loadObj, loadObjectives, loadSlide, loadVar, loadVariables, repostMethods inherited from interface org.xcsp.parser.callbacks.XCallbacks2
beginAnnotations, beginArray, beginBlock, beginConstraints, beginGroup, beginInstance, beginLogic, beginObjectives, beginSlide, beginVariables, buildAnnotationDecision, buildCtrAllDifferent, buildCtrAllDifferentExcept, buildCtrAllDifferentMatrix, buildCtrAllEqual, buildCtrBinPacking, buildCtrBinPacking, buildCtrCircuit, buildCtrClause, buildCtrExtension, buildCtrLogic, buildCtrLogic, buildCtrLogic, buildCtrLogic, buildCtrMaximum, buildCtrMaximum, buildCtrMinimum, buildCtrMinimum, buildCtrOrdered, buildCtrOrdered, buildCtrPrecedence, buildCtrPrimitive, buildCtrPrimitive, buildCtrSum, buildCtrSum, buildCtrSum, endAnnotations, endArray, endBlock, endConstraints, endGroup, endInstance, endLogic, endObjectives, endSlide, endVariables
-
Field Details
-
expr_cache
-
-
Method Details
-
load
- Throws:
Exception
-
main
- Throws:
Exception
-
implem
public org.xcsp.parser.callbacks.XCallbacks.Implem implem() -
buildVarInteger
public void buildVarInteger(org.xcsp.parser.entries.XVariables.XVarInteger x, int minValue, int maxValue) -
buildVarInteger
public void buildVarInteger(org.xcsp.parser.entries.XVariables.XVarInteger x, int[] values) -
buildCtrAllDifferent
-
buildCtrPrimitive
public void buildCtrPrimitive(String id, org.xcsp.parser.entries.XVariables.XVarInteger x, org.xcsp.common.Types.TypeConditionOperatorRel op, int k) -
buildCtrPrimitive
public void buildCtrPrimitive(String id, org.xcsp.parser.entries.XVariables.XVarInteger x, org.xcsp.common.Types.TypeArithmeticOperator aop, org.xcsp.parser.entries.XVariables.XVarInteger y, org.xcsp.common.Types.TypeConditionOperatorRel op, int k) -
buildCtrPrimitive
public void buildCtrPrimitive(String id, org.xcsp.parser.entries.XVariables.XVarInteger x, org.xcsp.common.Types.TypeArithmeticOperator aop, int p, org.xcsp.common.Types.TypeConditionOperatorRel op, org.xcsp.parser.entries.XVariables.XVarInteger z) -
buildCtrPrimitive
public void buildCtrPrimitive(String id, org.xcsp.parser.entries.XVariables.XVarInteger x, org.xcsp.common.Types.TypeArithmeticOperator aop, org.xcsp.parser.entries.XVariables.XVarInteger y, org.xcsp.common.Types.TypeConditionOperatorRel op, org.xcsp.parser.entries.XVariables.XVarInteger z) -
buildCtrPrimitive
public void buildCtrPrimitive(String id, org.xcsp.parser.entries.XVariables.XVarInteger x, org.xcsp.common.Types.TypeConditionOperatorSet op, int[] t) -
buildCtrPrimitive
public void buildCtrPrimitive(String id, org.xcsp.parser.entries.XVariables.XVarInteger x, org.xcsp.common.Types.TypeConditionOperatorSet op, int min, int max) -
buildCtrIntension
public void buildCtrIntension(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] scope, org.xcsp.common.predicates.XNodeParent<org.xcsp.parser.entries.XVariables.XVarInteger> syntaxTreeRoot) -
buildCtrSum
public void buildCtrSum(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list, org.xcsp.common.Condition condition) -
buildCtrSum
public void buildCtrSum(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list, int[] coeffs, org.xcsp.common.Condition condition) -
buildCtrExtension
-
buildCtrExtension
-
buildCtrInstantiation
public void buildCtrInstantiation(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list, int[] values) -
buildCtrMinimum
public void buildCtrMinimum(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list, org.xcsp.common.Condition condition) -
buildCtrMaximum
public void buildCtrMaximum(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list, org.xcsp.common.Condition condition) -
buildCtrOrdered
public void buildCtrOrdered(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list, org.xcsp.common.Types.TypeOperatorRel operator) -
buildCtrElement
public void buildCtrElement(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list, org.xcsp.common.Condition condition) -
buildCtrElement
public void buildCtrElement(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list, int startIndex, org.xcsp.parser.entries.XVariables.XVarInteger index, org.xcsp.common.Types.TypeRank rank, org.xcsp.common.Condition condition) -
buildCtrElement
public void buildCtrElement(String id, int[] list, int startIndex, org.xcsp.parser.entries.XVariables.XVarInteger index, org.xcsp.common.Types.TypeRank rank, org.xcsp.common.Condition condition) -
buildCtrElement
public void buildCtrElement(String id, int[][] matrix, int startRowIndex, org.xcsp.parser.entries.XVariables.XVarInteger rowIndex, int startColIndex, org.xcsp.parser.entries.XVariables.XVarInteger colIndex, org.xcsp.common.Condition condition) -
buildCtrElement
public void buildCtrElement(String id, org.xcsp.parser.entries.XVariables.XVarInteger[][] matrix, int startRowIndex, org.xcsp.parser.entries.XVariables.XVarInteger rowIndex, int startColIndex, org.xcsp.parser.entries.XVariables.XVarInteger colIndex, org.xcsp.common.Condition condition) -
buildCtrCumulative
public void buildCtrCumulative(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] origins, int[] lengths, int[] heights, org.xcsp.common.Condition condition) Description copied from class:XCallbacksDecompCumulative constraint. Infer the parameters ends from origins and length- Specified by:
buildCtrCumulativein interfaceorg.xcsp.parser.callbacks.XCallbacks- Specified by:
buildCtrCumulativein interfaceorg.xcsp.parser.callbacks.XCallbacks2- Overrides:
buildCtrCumulativein classXCallbacksDecomp
-
buildCtrCumulative
public void buildCtrCumulative(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] origins, int[] lengths, org.xcsp.parser.entries.XVariables.XVarInteger[] ends, int[] heights, org.xcsp.common.Condition condition) -
buildCtrNoOverlap
public void buildCtrNoOverlap(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] origins, int[] lengths, boolean zeroIgnored) -
buildCtrCircuit
public void buildCtrCircuit(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list, int startIndex) -
buildCtrCircuit
public void buildCtrCircuit(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list, int startIndex, int size) -
buildObjToMinimize
-
buildObjToMaximize
-
buildObjToMinimize
public void buildObjToMinimize(String id, org.xcsp.common.predicates.XNodeParent<org.xcsp.parser.entries.XVariables.XVarInteger> tree) -
buildObjToMaximize
public void buildObjToMaximize(String id, org.xcsp.common.predicates.XNodeParent<org.xcsp.parser.entries.XVariables.XVarInteger> tree) -
buildObjToMinimize
public void buildObjToMinimize(String id, org.xcsp.common.Types.TypeObjective type, org.xcsp.parser.entries.XVariables.XVarInteger[] list) -
buildObjToMaximize
public void buildObjToMaximize(String id, org.xcsp.common.Types.TypeObjective type, org.xcsp.parser.entries.XVariables.XVarInteger[] list) -
buildObjToMinimize
public void buildObjToMinimize(String id, org.xcsp.common.Types.TypeObjective type, org.xcsp.parser.entries.XVariables.XVarInteger[] list, int[] coeffs) -
buildObjToMaximize
public void buildObjToMaximize(String id, org.xcsp.common.Types.TypeObjective type, org.xcsp.parser.entries.XVariables.XVarInteger[] list, int[] coeffs) -
buildObjToMinimize
public void buildObjToMinimize(String id, org.xcsp.common.Types.TypeObjective type, org.xcsp.common.predicates.XNode<org.xcsp.parser.entries.XVariables.XVarInteger>[] trees) -
buildObjToMaximize
public void buildObjToMaximize(String id, org.xcsp.common.Types.TypeObjective type, org.xcsp.common.predicates.XNode<org.xcsp.parser.entries.XVariables.XVarInteger>[] trees) -
buildObjToMinimize
public void buildObjToMinimize(String id, org.xcsp.common.Types.TypeObjective type, org.xcsp.common.predicates.XNode<org.xcsp.parser.entries.XVariables.XVarInteger>[] trees, int[] coeffs) -
buildObjToMaximize
public void buildObjToMaximize(String id, org.xcsp.common.Types.TypeObjective type, org.xcsp.common.predicates.XNode<org.xcsp.parser.entries.XVariables.XVarInteger>[] trees, int[] coeffs) -
buildCtrLex
public void buildCtrLex(String id, org.xcsp.parser.entries.XVariables.XVarInteger[][] lists, org.xcsp.common.Types.TypeOperatorRel operator) -
buildCtrNotAllEqual
-
buildCtrAllEqual
-
buildCtrCardinality
public void buildCtrCardinality(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list, boolean closed, int[] values, org.xcsp.parser.entries.XVariables.XVarInteger[] occurs) -
buildCtrCardinality
public void buildCtrCardinality(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list, boolean closed, int[] values, int[] occurs) -
buildCtrCardinality
public void buildCtrCardinality(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list, boolean closed, int[] values, int[] occursMin, int[] occursMax) -
buildCtrCardinality
public void buildCtrCardinality(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list, boolean closed, org.xcsp.parser.entries.XVariables.XVarInteger[] values, org.xcsp.parser.entries.XVariables.XVarInteger[] occurs) -
buildCtrCardinality
public void buildCtrCardinality(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list, boolean closed, org.xcsp.parser.entries.XVariables.XVarInteger[] values, int[] occurs) -
buildCtrCardinality
public void buildCtrCardinality(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list, boolean closed, org.xcsp.parser.entries.XVariables.XVarInteger[] values, int[] occursMin, int[] occursMax) -
buildCtrSum
public void buildCtrSum(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list, org.xcsp.parser.entries.XVariables.XVarInteger[] coeffs, org.xcsp.common.Condition condition) -
buildCtrRegular
-
buildCtrMDD
public void buildCtrMDD(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list, org.xcsp.common.structures.Transition[] transitions) -
buildCtrCumulative
public void buildCtrCumulative(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] origins, int[] lengths, org.xcsp.parser.entries.XVariables.XVarInteger[] heights, org.xcsp.common.Condition condition) Description copied from class:XCallbacksDecompCumulative constraint. Infer the parameters ends from origins and length- Specified by:
buildCtrCumulativein interfaceorg.xcsp.parser.callbacks.XCallbacks- Specified by:
buildCtrCumulativein interfaceorg.xcsp.parser.callbacks.XCallbacks2- Overrides:
buildCtrCumulativein classXCallbacksDecomp
-
buildCtrCumulative
public void buildCtrCumulative(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] origins, org.xcsp.parser.entries.XVariables.XVarInteger[] lengths, int[] heights, org.xcsp.common.Condition condition) Description copied from class:XCallbacksDecompCumulative constraint. Infer the parameters ends from origins and length- Specified by:
buildCtrCumulativein interfaceorg.xcsp.parser.callbacks.XCallbacks- Specified by:
buildCtrCumulativein interfaceorg.xcsp.parser.callbacks.XCallbacks2- Overrides:
buildCtrCumulativein classXCallbacksDecomp
-
buildCtrCumulative
public void buildCtrCumulative(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] origins, org.xcsp.parser.entries.XVariables.XVarInteger[] lengths, org.xcsp.parser.entries.XVariables.XVarInteger[] heights, org.xcsp.common.Condition condition) Description copied from class:XCallbacksDecompCumulative constraint. Infer the parameters ends from origins and length- Specified by:
buildCtrCumulativein interfaceorg.xcsp.parser.callbacks.XCallbacks- Specified by:
buildCtrCumulativein interfaceorg.xcsp.parser.callbacks.XCallbacks2- Overrides:
buildCtrCumulativein classXCallbacksDecomp
-
buildCtrCumulative
public void buildCtrCumulative(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] origins, int[] lengths, org.xcsp.parser.entries.XVariables.XVarInteger[] ends, org.xcsp.parser.entries.XVariables.XVarInteger[] heights, org.xcsp.common.Condition condition) -
buildCtrCumulative
public void buildCtrCumulative(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] origins, org.xcsp.parser.entries.XVariables.XVarInteger[] lengths, org.xcsp.parser.entries.XVariables.XVarInteger[] ends, int[] heights, org.xcsp.common.Condition condition) -
buildCtrCumulative
public void buildCtrCumulative(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] origins, org.xcsp.parser.entries.XVariables.XVarInteger[] lengths, org.xcsp.parser.entries.XVariables.XVarInteger[] ends, org.xcsp.parser.entries.XVariables.XVarInteger[] heights, org.xcsp.common.Condition condition) -
buildCtrCount
public void buildCtrCount(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list, int[] values, org.xcsp.common.Condition condition) -
buildCtrCount
public void buildCtrCount(String id, org.xcsp.common.predicates.XNode<org.xcsp.parser.entries.XVariables.XVarInteger>[] trees, int[] values, org.xcsp.common.Condition condition) -
buildCtrCount
public void buildCtrCount(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list, org.xcsp.parser.entries.XVariables.XVarInteger[] values, org.xcsp.common.Condition condition) -
buildCtrAtLeast
public void buildCtrAtLeast(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list, int value, int k) -
buildCtrAtMost
public void buildCtrAtMost(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list, int value, int k) -
buildCtrExactly
public void buildCtrExactly(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list, int value, int k) -
buildCtrExactly
public void buildCtrExactly(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list, int value, org.xcsp.parser.entries.XVariables.XVarInteger k) -
buildCtrAmong
public void buildCtrAmong(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list, int[] values, int k) -
buildCtrAmong
public void buildCtrAmong(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list, int[] values, org.xcsp.parser.entries.XVariables.XVarInteger k) -
buildCtrNValues
public void buildCtrNValues(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list, org.xcsp.common.Condition condition) -
buildCtrNValuesExcept
public void buildCtrNValuesExcept(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list, int[] except, org.xcsp.common.Condition condition) -
buildCtrNValues
public void buildCtrNValues(String id, org.xcsp.common.predicates.XNode<org.xcsp.parser.entries.XVariables.XVarInteger>[] trees, org.xcsp.common.Condition condition) -
buildCtrNoOverlap
public void buildCtrNoOverlap(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] origins, org.xcsp.parser.entries.XVariables.XVarInteger[] lengths, boolean zeroIgnored) -
buildCtrNoOverlap
public void buildCtrNoOverlap(String id, org.xcsp.parser.entries.XVariables.XVarInteger[][] origins, org.xcsp.parser.entries.XVariables.XVarInteger[][] lengths, boolean zeroIgnored) - Specified by:
buildCtrNoOverlapin interfaceorg.xcsp.parser.callbacks.XCallbacks- Specified by:
buildCtrNoOverlapin interfaceorg.xcsp.parser.callbacks.XCallbacks2- Overrides:
buildCtrNoOverlapin classXCallbacksDecomp
-
buildCtrNoOverlap
public void buildCtrNoOverlap(String id, org.xcsp.parser.entries.XVariables.XVarInteger[][] origins, int[][] lengths, boolean zeroIgnored) - Specified by:
buildCtrNoOverlapin interfaceorg.xcsp.parser.callbacks.XCallbacks- Specified by:
buildCtrNoOverlapin interfaceorg.xcsp.parser.callbacks.XCallbacks2- Overrides:
buildCtrNoOverlapin classXCallbacksDecomp
-
buildCtrChannel
public void buildCtrChannel(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list, int startIndex) -
buildCtrChannel
public void buildCtrChannel(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list1, int startIndex1, org.xcsp.parser.entries.XVariables.XVarInteger[] list2, int startIndex2) -
buildCtrChannel
public void buildCtrChannel(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list, int startIndex, org.xcsp.parser.entries.XVariables.XVarInteger value) -
buildCtrStretch
public void buildCtrStretch(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list, int[] values, int[] widthsMin, int[] widthsMax) -
buildCtrStretch
public void buildCtrStretch(String id, org.xcsp.parser.entries.XVariables.XVarInteger[] list, int[] values, int[] widthsMin, int[] widthsMax, int[][] patterns)
-