Package org.xcsp.parser.callbacks
Interface XCallbacks2
-
- All Superinterfaces:
XCallbacks
- All Known Implementing Classes:
CompetitionValidator,FeatureDisplayer,SolutionChecker
public interface XCallbacks2 extends XCallbacks
- Author:
- Christophe Lecoutre
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.xcsp.parser.callbacks.XCallbacks
XCallbacks.Implem, XCallbacks.XCallbacksParameters
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default voidbeginAnnotations(List<ParsingEntry.AEntry> aEntries)default voidbeginArray(XVariables.XArray a)Method called at the beginning of the process of loading the specified array of variables.default voidbeginBlock(XConstraints.XBlock b)Method called at the beginning of the process of loading the specified block.default voidbeginConstraints(List<ParsingEntry.CEntry> cEntries)Method called at the beginning of the process of loading the constraints of the XCSP3 instance.default voidbeginGroup(XConstraints.XGroup g)Method called at the beginning of the process of loading the specified group of constraints.default voidbeginInstance(Types.TypeFramework type)Methods called at Specific Momentsdefault voidbeginLogic(XConstraints.XLogic l)Method called at the beginning of the process of loading the specified logic-based meta-constraint<and>, <or>, <iff>, <not>, <ifThen> or <ifThenElse>.default voidbeginObjectives(List<ParsingEntry.OEntry> oEntries, Types.TypeCombination type)Method called at the beginning of the process of loading the objectives (if any) of the XCSP3 instance.default voidbeginSlide(XConstraints.XSlide s)Method called at the beginning of the process of loading the specified meta-constraint slide.default voidbeginVariables(List<ParsingEntry.VEntry> vEntries)Method called at the beginning of the process of loading the variables of the XCSP3 instance.default voidbuildAnnotationDecision(XVariables.XVarInteger[] list)Methods to be implemented on Annotationsdefault voidbuildAnnotationValHeuristicStatic(XVariables.XVarInteger[] list, int[] order)default voidbuildCtrAdhoc(String id, String form, Map<String,Object> map)default voidbuildCtrAllDifferent(String id, XNode<XVariables.XVarInteger>[] trees)default voidbuildCtrAllDifferent(String id, XVariables.XVarInteger[] list)Full information about the constraint (this form) in the specifications (Chapter 4).default voidbuildCtrAllDifferent(String id, XVariables.XVarSymbolic[] list)default voidbuildCtrAllDifferentExcept(String id, XNode<XVariables.XVarInteger>[] trees, int[] except)default voidbuildCtrAllDifferentExcept(String id, XVariables.XVarInteger[] list, int[] except)Full information about the constraint (this form) in the specifications (Chapter 4).default voidbuildCtrAllDifferentList(String id, XVariables.XVarInteger[][] lists)Full information about the constraint (this form) in the specifications (Chapter 4).default voidbuildCtrAllDifferentList(String id, XVariables.XVarInteger[][] lists, int[][] except)default voidbuildCtrAllDifferentMatrix(String id, XVariables.XVarInteger[][] matrix)Full information about the constraint (this form) in the specifications (Chapter 4).default voidbuildCtrAllDifferentMatrix(String id, XVariables.XVarInteger[][] matrix, int[] except)default voidbuildCtrAllEqual(String id, XNode<XVariables.XVarInteger>[] trees)default voidbuildCtrAllEqual(String id, XVariables.XVarInteger[] list)Callback method for building a constraintallEqual.default voidbuildCtrAllEqualExcept(String id, XNode<XVariables.XVarInteger>[] trees, int[] except)default voidbuildCtrAllEqualExcept(String id, XVariables.XVarInteger[] list, int[] except)default voidbuildCtrAmong(String id, XVariables.XVarInteger[] list, int[] values, int k)Full information about the constraint (this form) in the specifications (Chapter 4).default voidbuildCtrAmong(String id, XVariables.XVarInteger[] list, int[] values, XVariables.XVarInteger k)Full information about the constraint (this form) in the specifications (Chapter 4).default voidbuildCtrAtLeast(String id, XVariables.XVarInteger[] list, int value, int k)Full information about the constraint (this form) in the specifications (Chapter 4).default voidbuildCtrAtMost(String id, XVariables.XVarInteger[] list, int value, int k)Full information about the constraint (this form) in the specifications (Chapter 4).default voidbuildCtrBinPacking(String id, XVariables.XVarInteger[] list, int[] sizes, int[] capacities, boolean loads)default voidbuildCtrBinPacking(String id, XVariables.XVarInteger[] list, int[] sizes, Condition condition)default voidbuildCtrBinPacking(String id, XVariables.XVarInteger[] list, int[] sizes, Condition[] conditions, int startIndex)default voidbuildCtrBinPacking(String id, XVariables.XVarInteger[] list, int[] sizes, XVariables.XVarInteger[] capacities, boolean loads)default voidbuildCtrCardinality(String id, XVariables.XVarInteger[] list, boolean closed, int[] values, int[] occurs)Full information about the constraint (this form) in the specifications (Chapter 4).default voidbuildCtrCardinality(String id, XVariables.XVarInteger[] list, boolean closed, int[] values, int[] occursMin, int[] occursMax)Full information about the constraint (this form) in the specifications (Chapter 4).default voidbuildCtrCardinality(String id, XVariables.XVarInteger[] list, boolean closed, int[] values, XVariables.XVarInteger[] occurs)Full information about the constraint (this form) in the specifications (Chapter 4).default voidbuildCtrCardinality(String id, XVariables.XVarInteger[] list, boolean closed, XVariables.XVarInteger[] values, int[] occurs)Full information about the constraint (this form) in the specifications (Chapter 4).default voidbuildCtrCardinality(String id, XVariables.XVarInteger[] list, boolean closed, XVariables.XVarInteger[] values, int[] occursMin, int[] occursMax)Full information about the constraint (this form) in the specifications (Chapter 4).default voidbuildCtrCardinality(String id, XVariables.XVarInteger[] list, boolean closed, XVariables.XVarInteger[] values, XVariables.XVarInteger[] occurs)Full information about the constraint (this form) in the specifications (Chapter 4).default voidbuildCtrChannel(String id, XVariables.XVarInteger[] list, int startIndex)Full information about the constraint (this form) in the specifications (Chapter 4).default voidbuildCtrChannel(String id, XVariables.XVarInteger[] list, int startIndex, XVariables.XVarInteger value)Full information about the constraint (this form) in the specifications (Chapter 4).default voidbuildCtrChannel(String id, XVariables.XVarInteger[] list1, int startIndex1, XVariables.XVarInteger[] list2, int startIndex2)Full information about the constraint (this form) in the specifications (Chapter 4).default voidbuildCtrCircuit(String id, XVariables.XVarInteger[] list, int startIndex)Full information about the constraint (this form) in the specifications (Chapter 4).default voidbuildCtrCircuit(String id, XVariables.XVarInteger[] list, int startIndex, int size)Full information about the constraint (this form) in the specifications (Chapter 4).default voidbuildCtrCircuit(String id, XVariables.XVarInteger[] list, int startIndex, XVariables.XVarInteger size)Full information about the constraint (this form) in the specifications (Chapter 4).default voidbuildCtrClause(String id, XVariables.XVarInteger[] pos, XVariables.XVarInteger[] neg)Full information about the constraint (this form) in the specifications (Chapter 4).default voidbuildCtrCount(String id, XNode<XVariables.XVarInteger>[] trees, int[] values, Condition condition)default voidbuildCtrCount(String id, XVariables.XVarInteger[] list, int[] values, Condition condition)Full information about the constraint (this form) in the specifications (Chapter 4).default voidbuildCtrCount(String id, XVariables.XVarInteger[] list, XVariables.XVarInteger[] values, Condition condition)Full information about the constraint (this form) in the specifications (Chapter 4).default voidbuildCtrCumulative(String id, XVariables.XVarInteger[] origins, int[] lengths, int[] heights, Condition condition)Full information about the constraint (this form) in the specifications (Chapter 4).default voidbuildCtrCumulative(String id, XVariables.XVarInteger[] origins, int[] lengths, XVariables.XVarInteger[] ends, int[] heights, Condition condition)Full information about the constraint (this form) in the specifications (Chapter 4).default voidbuildCtrCumulative(String id, XVariables.XVarInteger[] origins, int[] lengths, XVariables.XVarInteger[] heights, Condition condition)Full information about the constraint (this form) in the specifications (Chapter 4).default voidbuildCtrCumulative(String id, XVariables.XVarInteger[] origins, int[] lengths, XVariables.XVarInteger[] ends, XVariables.XVarInteger[] heights, Condition condition)Full information about the constraint (this form) in the specifications (Chapter 4).default voidbuildCtrCumulative(String id, XVariables.XVarInteger[] origins, XVariables.XVarInteger[] lengths, int[] heights, Condition condition)Full information about the constraint (this form) in the specifications (Chapter 4).default voidbuildCtrCumulative(String id, XVariables.XVarInteger[] origins, XVariables.XVarInteger[] lengths, XVariables.XVarInteger[] ends, int[] heights, Condition condition)Full information about the constraint (this form) in the specifications (Chapter 4).default voidbuildCtrCumulative(String id, XVariables.XVarInteger[] origins, XVariables.XVarInteger[] lengths, XVariables.XVarInteger[] heights, Condition condition)Full information about the constraint (this form) in the specifications (Chapter 4).default voidbuildCtrCumulative(String id, XVariables.XVarInteger[] origins, XVariables.XVarInteger[] lengths, XVariables.XVarInteger[] ends, XVariables.XVarInteger[] heights, Condition condition)Full information about the constraint (this form) in the specifications (Chapter 4).default voidbuildCtrElement(String id, int[][] matrix, int startRowIndex, XVariables.XVarInteger rowIndex, int startColIndex, XVariables.XVarInteger colIndex, Condition condition)default voidbuildCtrElement(String id, int[] list, int startIndex, XVariables.XVarInteger index, Types.TypeRank rank, Condition condition)default voidbuildCtrElement(String id, XVariables.XVarInteger[][] matrix, int startRowIndex, XVariables.XVarInteger rowIndex, int startColIndex, XVariables.XVarInteger colIndex, Condition condition)default voidbuildCtrElement(String id, XVariables.XVarInteger[] list, int startIndex, XVariables.XVarInteger index, Types.TypeRank rank, Condition condition)default voidbuildCtrElement(String id, XVariables.XVarInteger[] list, Condition condition)default voidbuildCtrExactly(String id, XVariables.XVarInteger[] list, int value, int k)Full information about the constraint (this form) in the specifications (Chapter 4).default voidbuildCtrExactly(String id, XVariables.XVarInteger[] list, int value, XVariables.XVarInteger k)Full information about the constraint (this form) in the specifications (Chapter 4).default voidbuildCtrExtension(String id, XVariables.XVarInteger[] list, int[][] tuples, boolean positive, Set<Types.TypeFlag> flags)Callback method for building a (non-unary) extensional constraint.default voidbuildCtrExtension(String id, XVariables.XVarInteger[] list, AbstractTuple[] tuples, boolean positive, Set<Types.TypeFlag> flags)default voidbuildCtrExtension(String id, XVariables.XVarInteger x, int[] values, boolean positive, Set<Types.TypeFlag> flags)Callback method for building a unary extensional constraint.default voidbuildCtrExtension(String id, XVariables.XVarSymbolic[] list, String[][] tuples, boolean positive, Set<Types.TypeFlag> flags)default voidbuildCtrExtension(String id, XVariables.XVarSymbolic x, String[] values, boolean positive, Set<Types.TypeFlag> flags)default voidbuildCtrFlow(String id, XVariables.XVarInteger[] list, int[] balance, int[][] arcs)default voidbuildCtrFlow(String id, XVariables.XVarInteger[] list, int[] balance, int[][] arcs, int[] weights, Condition condition)default voidbuildCtrInstantiation(String id, XVariables.XVarInteger[] list, int[] values)Full information about the constraint (this form) in the specifications (Chapter 4).default voidbuildCtrIntension(String id, XVariables.XVarInteger[] scope, XNodeParent<XVariables.XVarInteger> tree)Callback method for building a constraintintensionfrom the specified syntactic tree.default voidbuildCtrIntension(String id, XVariables.XVarSymbolic[] scope, XNodeParent<XVariables.XVarSymbolic> syntaxTreeRoot)default voidbuildCtrKnapsack(String id, XVariables.XVarInteger[] list, int[] weights, Condition wcondition, int[] profits, Condition pcondition)default voidbuildCtrLex(String id, XVariables.XVarInteger[][] lists, Types.TypeOperatorRel operator)Full information about the constraint (this form) in the specifications (Chapter 4).default voidbuildCtrLex(String id, XVariables.XVarInteger[] list, int[] limit, Types.TypeOperatorRel operator)default voidbuildCtrLexMatrix(String id, XVariables.XVarInteger[][] matrix, Types.TypeOperatorRel operator)Full information about the constraint (this form) in the specifications (Chapter 4).default voidbuildCtrLogic(String id, Types.TypeLogicalOperator op, XVariables.XVarInteger[] vars)Callback method for building a logic constraint with one of the following forms: * and(x1,x2,...,xr) or(x1,x2,...,xr) xor(x1,x2,...,xr) iff(x1,x2,...,xr) imp(x1,x2) with x1,x2,..., xr being 0/1 variablesdefault voidbuildCtrLogic(String id, XVariables.XVarInteger x, Types.TypeEqNeOperator op, Types.TypeLogicalOperator lop, XVariables.XVarInteger[] vars)Callback method for building a logic constraint with one of the following forms: * x = and(x1,x2,...,xr) x = or(x1,x2,...,xr) x = xor(x1,x2,...,xr) x = iff(x1,x2,...,xr) x = imp(x1,x2) x ≠ and(x1,x2,...,xr) x ≠ or(x1,x2,...,xr) x ≠ xor(x1,x2,...,xr) x ≠ iff(x1,x2,...,xr) x ≠ imp(x1,x2) with x1,x2,..., xr being 0/1 variablesdefault voidbuildCtrLogic(String id, XVariables.XVarInteger x, XVariables.XVarInteger y, Types.TypeConditionOperatorRel op, int k)Callback method for building a "logic" constraint with the following form: x = (y ⊙ k) with x a 0/1 variable, y an integer variable, k a constant (integer) and ⊙ a relational operator in {<,≤,≥,>,=,≠}default voidbuildCtrLogic(String id, XVariables.XVarInteger x, XVariables.XVarInteger y, Types.TypeConditionOperatorRel op, XVariables.XVarInteger z)Callback method for building a "logic" constraint with the following form: x = (y ⊙ z) with x a 0/1 variable, y and z two integer variables, and ⊙ a relational operator in {<,≤,≥,>,=,≠}default voidbuildCtrMaximum(String id, XNode<XVariables.XVarInteger>[] trees, Condition condition)default voidbuildCtrMaximum(String id, XVariables.XVarInteger[] list, int startIndex, XVariables.XVarInteger index, Types.TypeRank rank, Condition condition)Full information about the constraint (this form) in the specifications (Chapter 4).default voidbuildCtrMaximum(String id, XVariables.XVarInteger[] list, Condition condition)Full information about the constraint (this form) in the specifications (Chapter 4).default voidbuildCtrMaximumArg(String id, XNode<XVariables.XVarInteger>[] trees, Types.TypeRank rank, Condition condition)default voidbuildCtrMaximumArg(String id, XVariables.XVarInteger[] list, Types.TypeRank rank, Condition condition)default voidbuildCtrMDD(String id, XVariables.XVarInteger[] list, Transition[] transitions)Full information about the constraint (this form) in the specifications (Chapter 4).default voidbuildCtrMinimum(String id, XNode<XVariables.XVarInteger>[] trees, Condition condition)default voidbuildCtrMinimum(String id, XVariables.XVarInteger[] list, int startIndex, XVariables.XVarInteger index, Types.TypeRank rank, Condition condition)Full information about the constraint (this form) in the specifications (Chapter 4).default voidbuildCtrMinimum(String id, XVariables.XVarInteger[] list, Condition condition)Full information about the constraint (this form) in the specifications (Chapter 4).default voidbuildCtrMinimumArg(String id, XNode<XVariables.XVarInteger>[] trees, Types.TypeRank rank, Condition condition)default voidbuildCtrMinimumArg(String id, XVariables.XVarInteger[] list, Types.TypeRank rank, Condition condition)default voidbuildCtrNoOverlap(String id, XVariables.XVarInteger[][] origins, int[][] lengths, boolean zeroIgnored)Full information about the constraint (this form) in the specifications (Chapter 4).default voidbuildCtrNoOverlap(String id, XVariables.XVarInteger[][] origins, XVariables.XVarInteger[][] lengths, boolean zeroIgnored)Full information about the constraint (this form) in the specifications (Chapter 4).default voidbuildCtrNoOverlap(String id, XVariables.XVarInteger[] origins, int[] lengths, boolean zeroIgnored)Full information about the constraint (this form) in the specifications (Chapter 4).default voidbuildCtrNoOverlap(String id, XVariables.XVarInteger[] origins, XVariables.XVarInteger[] lengths, boolean zeroIgnored)Full information about the constraint (this form) in the specifications (Chapter 4).default voidbuildCtrNoOverlap(String id, XVariables.XVarInteger[] xs, XVariables.XVarInteger[] ys, XVariables.XVarInteger[] lx, int[] ly, boolean zeroIgnored)default voidbuildCtrNotAllEqual(String id, XVariables.XVarInteger[] list)Full information about the constraint (this form) in the specifications (Chapter 4).default voidbuildCtrNValues(String id, XNode<XVariables.XVarInteger>[] trees, Condition condition)default voidbuildCtrNValues(String id, XVariables.XVarInteger[] list, Condition condition)Full information about the constraint (this form) in the specifications (Chapter 4).default voidbuildCtrNValuesExcept(String id, XVariables.XVarInteger[] list, int[] except, Condition condition)Full information about the constraint (this form) in the specifications (Chapter 4).default voidbuildCtrOrdered(String id, XVariables.XVarInteger[] list, int[] lengths, Types.TypeOperatorRel operator)Full information about the constraint (this form) in the specifications (Chapter 4).default voidbuildCtrOrdered(String id, XVariables.XVarInteger[] list, Types.TypeOperatorRel operator)Full information about the constraint (this form) in the specifications (Chapter 4).default voidbuildCtrOrdered(String id, XVariables.XVarInteger[] list, XVariables.XVarInteger[] lengths, Types.TypeOperatorRel operator)Full information about the constraint (this form) in the specifications (Chapter 4).default voidbuildCtrPrecedence(String id, XVariables.XVarInteger[] list)default voidbuildCtrPrecedence(String id, XVariables.XVarInteger[] list, int[] values, boolean covered)default voidbuildCtrPrimitive(String id, XVariables.XVarInteger x, Types.TypeArithmeticOperator aop, int p, Types.TypeConditionOperatorRel op, int k)Callback method for building an unary primitive constraint with one of the following forms: (x + p) ⊙ k (x - p) ⊙ k (x * p) ⊙ k (x / p) ⊙ k (x % p) ⊙ k (x ^ p) ⊙ k |x - p| ⊙ k with x being an integer variable, p and k constants (integers) and ⊙ a relational operator in {<,≤,≥,>,=,≠}default voidbuildCtrPrimitive(String id, XVariables.XVarInteger x, Types.TypeArithmeticOperator aop, int p, Types.TypeConditionOperatorRel op, XVariables.XVarInteger y)Callback method for building a binary primitive constraint with one of the following forms: (x + p) ⊙ y (x - p) ⊙ y (x * p) ⊙ y (x / p) ⊙ y (x % p) ⊙ y (x ^ p) ⊙ y |x - p| ⊙ y with x and y being two integer variables, p a constant (integer) and ⊙ a relational operator in {<,≤,≥,>,=,≠}default voidbuildCtrPrimitive(String id, XVariables.XVarInteger x, Types.TypeArithmeticOperator aop, XVariables.XVarInteger y, Types.TypeConditionOperatorRel op, int k)Callback method for building a binary primitive constraint with one of the following forms: (x + y) ⊙ k (x - y) ⊙ k (x * y) ⊙ k (x / y) ⊙ k (x % y) ⊙ k (x ^ y) ⊙ k |x - y| ⊙ k with x and y being two integer variables, k a constant (integer) and ⊙ a relational operator in {<,≤,≥,>,=,≠}default voidbuildCtrPrimitive(String id, XVariables.XVarInteger x, Types.TypeArithmeticOperator aop, XVariables.XVarInteger y, Types.TypeConditionOperatorRel op, XVariables.XVarInteger z)Callback method for building a ternary primitive constraint with one of the following forms: (x + y) ⊙ z (x - y) ⊙ z (x * y) ⊙ z (x / y) ⊙ z (x % y) ⊙ z (x ^ y) ⊙ z |x - y| ⊙ z with x, y and z being three integer variables, and ⊙ a relational operator in {<,≤,≥,>,=,≠}default voidbuildCtrPrimitive(String id, XVariables.XVarInteger x, Types.TypeConditionOperatorRel op, int k)Callback method for building an unary primitive constraint with one of the following forms: x < k x ≤ k x ≥ k x > k x = k x ≠ k with x being an integer variable and k a constant (integer).default voidbuildCtrPrimitive(String id, XVariables.XVarInteger x, Types.TypeConditionOperatorSet op, int[] t)Callback method for building an unary primitive constraint with one of the following forms: x ∈ t x ∉ t with x being an integer variable and t a set of constants (integers) represented by an array.default voidbuildCtrPrimitive(String id, XVariables.XVarInteger x, Types.TypeConditionOperatorSet op, int min, int max)Callback method for building an unary primitive constraint with one of the following forms: x ∈ min..max x ∉ min..max with x being an integer variable and min and max two constants (integers) denoting the bounds of an integer interval.default voidbuildCtrPrimitive(String id, XVariables.XVarInteger x, Types.TypeUnaryArithmeticOperator aop, XVariables.XVarInteger y)Callback method for building a binary primitive constraint with one of the following forms: x = |y| x = -y x = y*y with x, and y being two integer variables.default voidbuildCtrRegular(String id, XVariables.XVarInteger[] list, Transition[] transitions, String startState, String[] finalStates)Full information about the constraint (this form) in the specifications (Chapter 4).default voidbuildCtrStretch(String id, XVariables.XVarInteger[] list, int[] values, int[] widthsMin, int[] widthsMax)Full information about the constraint (this form) in the specifications (Chapter 4).default voidbuildCtrStretch(String id, XVariables.XVarInteger[] list, int[] values, int[] widthsMin, int[] widthsMax, int[][] patterns)Full information about the constraint (this form) in the specifications (Chapter 4).default voidbuildCtrSum(String id, XNode<XVariables.XVarInteger>[] trees, int[] coeffs, Condition condition)default voidbuildCtrSum(String id, XNode<XVariables.XVarInteger>[] trees, Condition condition)default voidbuildCtrSum(String id, XNode<XVariables.XVarInteger>[] trees, XVariables.XVarInteger[] coeffs, Condition condition)default voidbuildCtrSum(String id, XVariables.XVarInteger[] list, int[] coeffs, Condition condition)Full information about the constraint (this form) in the specifications (Chapter 4).default voidbuildCtrSum(String id, XVariables.XVarInteger[] list, Condition condition)Full information about the constraint (this form) in the specifications (Chapter 4).default voidbuildCtrSum(String id, XVariables.XVarInteger[] list, XVariables.XVarInteger[] coeffs, Condition condition)Full information about the constraint (this form) in the specifications (Chapter 4).default voidbuildObjToMaximize(String id, XNodeParent<XVariables.XVarInteger> tree)default voidbuildObjToMaximize(String id, Types.TypeObjective type, XNode<XVariables.XVarInteger>[] trees)default voidbuildObjToMaximize(String id, Types.TypeObjective type, XNode<XVariables.XVarInteger>[] trees, int[] coeffs)default voidbuildObjToMaximize(String id, Types.TypeObjective type, XVariables.XVarInteger[] list)default voidbuildObjToMaximize(String id, Types.TypeObjective type, XVariables.XVarInteger[] list, int[] coeffs)default voidbuildObjToMaximize(String id, XVariables.XVarInteger x)default voidbuildObjToMinimize(String id, XNodeParent<XVariables.XVarInteger> tree)default voidbuildObjToMinimize(String id, Types.TypeObjective type, XNode<XVariables.XVarInteger>[] trees)default voidbuildObjToMinimize(String id, Types.TypeObjective type, XNode<XVariables.XVarInteger>[] trees, int[] coeffs)default voidbuildObjToMinimize(String id, Types.TypeObjective type, XVariables.XVarInteger[] list)default voidbuildObjToMinimize(String id, Types.TypeObjective type, XVariables.XVarInteger[] list, int[] coeffs)default voidbuildObjToMinimize(String id, XVariables.XVarInteger x)Methods to be implemented for managing objectivesdefault voidbuildVarInteger(XVariables.XVarInteger x, int[] values)Callback method for building in the solver an integer variable whose domain is given by the specified array.default voidbuildVarInteger(XVariables.XVarInteger x, int minValue, int maxValue)Callback method for building in the solver an integer variable whose domain contains all integer values between the two specified bounds.default voidbuildVarSymbolic(XVariables.XVarSymbolic x, String[] values)Methods to be implemented on symbolic variables/constraintsdefault voidendAnnotations()default voidendArray(XVariables.XArray a)Method called at the end of the process of loading the specified array of variables.default voidendBlock(XConstraints.XBlock b)Method called at the end of the process of loading the specified block.default voidendConstraints()Method called at the end of the process of loading the constraints of the XCSP3 instance.default voidendGroup(XConstraints.XGroup g)Method called at the end of the process of loading the specified group of constraints.default voidendInstance()Method called at the end of the process of loading the XCSP3 instance.default voidendLogic(XConstraints.XLogic l)Method called at the end of the process of loading the specified logic-based meta-constraint<and>, <or>, <iff>, <not>, <ifThen> or <ifThenElse>.default voidendObjectives()Method called at the end of the process of loading the objectives (if any) of the XCSP3 instance.default voidendSlide(XConstraints.XSlide s)Method called at the end of the process of loading the specified meta-constraint slide.default voidendVariables()Method called at the end of the process of loading the variables of the XCSP3 instance.default ObjectunimplementedCase(Object... objects)Methods to be implemented on integer variables/constraints-
Methods inherited from interface org.xcsp.parser.callbacks.XCallbacks
buildCtrFalse, buildCtrTrue, implem, loadAnn, loadAnnotations, loadArray, loadBlock, loadConstraints, loadConstraints, loadCtr, loadCtrs, loadDocument, loadGroup, loadInstance, loadInstance, loadLogic, loadObj, loadObjectives, loadSlide, loadVar, loadVariables, repost
-
-
-
-
Method Detail
-
beginInstance
default void beginInstance(Types.TypeFramework type)
Methods called at Specific Moments- Specified by:
beginInstancein interfaceXCallbacks- Parameters:
type- the framework of the XCSP3 instance
-
endInstance
default void endInstance()
Description copied from interface:XCallbacksMethod called at the end of the process of loading the XCSP3 instance. Implement (or redefine) this method (if you implement XCallbacks2) in case you want some special operation to be executed (for example, for debugging).- Specified by:
endInstancein interfaceXCallbacks
-
beginVariables
default void beginVariables(List<ParsingEntry.VEntry> vEntries)
Description copied from interface:XCallbacksMethod called at the beginning of the process of loading the variables of the XCSP3 instance. Implement (or redefine) this method (if you implement XCallbacks2) in case you want some special operation to be executed (for example, for debugging).- Specified by:
beginVariablesin interfaceXCallbacks- Parameters:
vEntries- the list of objects found in
-
endVariables
default void endVariables()
Description copied from interface:XCallbacksMethod called at the end of the process of loading the variables of the XCSP3 instance. Implement (or redefine) this method (if you implement XCallbacks2) in case you want some special operation to be executed (for example, for debugging).- Specified by:
endVariablesin interfaceXCallbacks
-
beginArray
default void beginArray(XVariables.XArray a)
Description copied from interface:XCallbacksMethod called at the beginning of the process of loading the specified array of variables. Implement (or redefine) this method (if you implement XCallbacks2) in case you want some special operation to be executed (for example, for debugging).- Specified by:
beginArrayin interfaceXCallbacks- Parameters:
a- an object representing an array of variables
-
endArray
default void endArray(XVariables.XArray a)
Description copied from interface:XCallbacksMethod called at the end of the process of loading the specified array of variables. Implement (or redefine) this method (if you implement XCallbacks2) in case you want some special operation to be executed (for example, for debugging).- Specified by:
endArrayin interfaceXCallbacks- Parameters:
a- an object representing an array of variables
-
beginConstraints
default void beginConstraints(List<ParsingEntry.CEntry> cEntries)
Description copied from interface:XCallbacksMethod called at the beginning of the process of loading the constraints of the XCSP3 instance. Implement (or redefine) this method (if you implement XCallbacks2) in case you want some special operation to be executed (for example, for debugging).- Specified by:
beginConstraintsin interfaceXCallbacks- Parameters:
cEntries- the list of objects found in
-
endConstraints
default void endConstraints()
Description copied from interface:XCallbacksMethod called at the end of the process of loading the constraints of the XCSP3 instance. Implement (or redefine) this method (if you implement XCallbacks2) in case you want some special operation to be executed (for example, for debugging).- Specified by:
endConstraintsin interfaceXCallbacks
-
beginBlock
default void beginBlock(XConstraints.XBlock b)
Description copied from interface:XCallbacksMethod called at the beginning of the process of loading the specified block. Implement (or redefine) this method (if you implement XCallbacks2) in case you want some special operation to be executed (for example, for debugging).- Specified by:
beginBlockin interfaceXCallbacks- Parameters:
b- a block to be loaded
-
endBlock
default void endBlock(XConstraints.XBlock b)
Description copied from interface:XCallbacksMethod called at the end of the process of loading the specified block. Implement (or redefine) this method (if you implement XCallbacks2) in case you want some special operation to be executed (for example, for debugging).- Specified by:
endBlockin interfaceXCallbacks- Parameters:
b- a block
-
beginGroup
default void beginGroup(XConstraints.XGroup g)
Description copied from interface:XCallbacksMethod called at the beginning of the process of loading the specified group of constraints. Implement (or redefine) this method (if you implement XCallbacks2) in case you want some special operation to be executed (for example, for debugging).- Specified by:
beginGroupin interfaceXCallbacks- Parameters:
g- a group to be loaded
-
endGroup
default void endGroup(XConstraints.XGroup g)
Description copied from interface:XCallbacksMethod called at the end of the process of loading the specified group of constraints. Implement (or redefine) this method (if you implement XCallbacks2) in case you want some special operation to be executed (for example, for debugging).- Specified by:
endGroupin interfaceXCallbacks- Parameters:
g- a group
-
beginSlide
default void beginSlide(XConstraints.XSlide s)
Description copied from interface:XCallbacksMethod called at the beginning of the process of loading the specified meta-constraint slide. Implement (or redefine) this method (if you implement XCallbacks2) in case you want some special operation to be executed (for example, for debugging).- Specified by:
beginSlidein interfaceXCallbacks- Parameters:
s- a meta-constraint slide to be loaded
-
endSlide
default void endSlide(XConstraints.XSlide s)
Description copied from interface:XCallbacksMethod called at the end of the process of loading the specified meta-constraint slide. Implement (or redefine) this method (if you implement XCallbacks2) in case you want some special operation to be executed (for example, for debugging).- Specified by:
endSlidein interfaceXCallbacks- Parameters:
s- a meta-constraint slide
-
beginLogic
default void beginLogic(XConstraints.XLogic l)
Description copied from interface:XCallbacksMethod called at the beginning of the process of loading the specified logic-based meta-constraint<and>, <or>, <iff>, <not>, <ifThen> or <ifThenElse>. Implement (or redefine) this method (if you implement XCallbacks2).- Specified by:
beginLogicin interfaceXCallbacks- Parameters:
l- a logic-based meta-constraint to be loaded
-
endLogic
default void endLogic(XConstraints.XLogic l)
Description copied from interface:XCallbacksMethod called at the end of the process of loading the specified logic-based meta-constraint<and>, <or>, <iff>, <not>, <ifThen> or <ifThenElse>. Implement (or redefine) this method (if you implement XCallbacks2) in case you want some special operation to be executed (for example, for debugging).- Specified by:
endLogicin interfaceXCallbacks- Parameters:
l- a logic-based meta-constraint
-
beginObjectives
default void beginObjectives(List<ParsingEntry.OEntry> oEntries, Types.TypeCombination type)
Description copied from interface:XCallbacksMethod called at the beginning of the process of loading the objectives (if any) of the XCSP3 instance. Implement (or redefine) this method (if you implement XCallbacks2) in case you want some special operation to be executed (for example, for debugging).- Specified by:
beginObjectivesin interfaceXCallbacks- Parameters:
oEntries- the list of objects found intype- the type indicating how to manage multi-optimization; this parameter is irrelevant in case of mono-optimization
-
endObjectives
default void endObjectives()
Description copied from interface:XCallbacksMethod called at the end of the process of loading the objectives (if any) of the XCSP3 instance. Implement (or redefine) this method (if you implement XCallbacks2) in case you want some special operation to be executed (for example, for debugging).- Specified by:
endObjectivesin interfaceXCallbacks
-
beginAnnotations
default void beginAnnotations(List<ParsingEntry.AEntry> aEntries)
- Specified by:
beginAnnotationsin interfaceXCallbacks
-
endAnnotations
default void endAnnotations()
- Specified by:
endAnnotationsin interfaceXCallbacks
-
unimplementedCase
default Object unimplementedCase(Object... objects)
Methods to be implemented on integer variables/constraints- Specified by:
unimplementedCasein interfaceXCallbacks- Parameters:
objects- objects to be displayed (with toString())- Returns:
- a fake object because the exception will quit first.
-
buildVarInteger
default void buildVarInteger(XVariables.XVarInteger x, int minValue, int maxValue)
Description copied from interface:XCallbacksCallback method for building in the solver an integer variable whose domain contains all integer values between the two specified bounds.- Specified by:
buildVarIntegerin interfaceXCallbacks- Parameters:
x- an integer variable built by the parserminValue- the minimum value of the domain of xmaxValue- the maximum value of the domain of x
-
buildVarInteger
default void buildVarInteger(XVariables.XVarInteger x, int[] values)
Description copied from interface:XCallbacksCallback method for building in the solver an integer variable whose domain is given by the specified array.- Specified by:
buildVarIntegerin interfaceXCallbacks- Parameters:
x- an integer variable built by the parservalues- the values in the domain of x
-
buildCtrIntension
default void buildCtrIntension(String id, XVariables.XVarInteger[] scope, XNodeParent<XVariables.XVarInteger> tree)
Description copied from interface:XCallbacksCallback method for building a constraintintensionfrom the specified syntactic tree. Variables of the specified array of variables are exactly those that are present in the tree.- Specified by:
buildCtrIntensionin interfaceXCallbacks- Parameters:
id- the id of the constraintscope- the list of integer variables of the constrainttree- the root of a syntactic tree representing the predicate associated with the constraint
-
buildCtrPrimitive
default void buildCtrPrimitive(String id, XVariables.XVarInteger x, Types.TypeConditionOperatorRel op, int k)
Description copied from interface:XCallbacksCallback method for building an unary primitive constraint with one of the following forms:- x < k
- x ≤ k
- x ≥ k
- x > k
- x = k
- x ≠ k
- Specified by:
buildCtrPrimitivein interfaceXCallbacks- Parameters:
id- the id of the constraintx- an integer variableop- a relational operatork- a constant (integer)
-
buildCtrPrimitive
default void buildCtrPrimitive(String id, XVariables.XVarInteger x, Types.TypeConditionOperatorSet op, int[] t)
Description copied from interface:XCallbacksCallback method for building an unary primitive constraint with one of the following forms:- x ∈ t
- x ∉ t
- Specified by:
buildCtrPrimitivein interfaceXCallbacks- Parameters:
id- the id of the constraintx- an integer variableop- a set operatort- a set (array) of constants (integers)
-
buildCtrPrimitive
default void buildCtrPrimitive(String id, XVariables.XVarInteger x, Types.TypeConditionOperatorSet op, int min, int max)
Description copied from interface:XCallbacksCallback method for building an unary primitive constraint with one of the following forms:- x ∈ min..max
- x ∉ min..max
- Specified by:
buildCtrPrimitivein interfaceXCallbacks- Parameters:
id- the id of the constraintx- an integer variableop- a set operatormin- the minimum value of the intervalmax- the maximum value of the interval
-
buildCtrPrimitive
default void buildCtrPrimitive(String id, XVariables.XVarInteger x, Types.TypeArithmeticOperator aop, int p, Types.TypeConditionOperatorRel op, int k)
Description copied from interface:XCallbacksCallback method for building an unary primitive constraint with one of the following forms:- (x + p) ⊙ k
- (x - p) ⊙ k
- (x * p) ⊙ k
- (x / p) ⊙ k
- (x % p) ⊙ k
- (x ^ p) ⊙ k
- |x - p| ⊙ k
- Specified by:
buildCtrPrimitivein interfaceXCallbacks- Parameters:
id- the id of the constraintx- an integer variableaop- an arithmetic operatorp- a constant (integer)op- a relational operatork- a constant (integer)
-
buildCtrPrimitive
default void buildCtrPrimitive(String id, XVariables.XVarInteger x, Types.TypeUnaryArithmeticOperator aop, XVariables.XVarInteger y)
Description copied from interface:XCallbacksCallback method for building a binary primitive constraint with one of the following forms:- x = |y|
- x = -y
- x = y*y
- Specified by:
buildCtrPrimitivein interfaceXCallbacks- Parameters:
id- the id of the constraintx- an integer variableaop- a unary arithmetic operatory- an integer variable
-
buildCtrPrimitive
default void buildCtrPrimitive(String id, XVariables.XVarInteger x, Types.TypeArithmeticOperator aop, XVariables.XVarInteger y, Types.TypeConditionOperatorRel op, int k)
Description copied from interface:XCallbacksCallback method for building a binary primitive constraint with one of the following forms:- (x + y) ⊙ k
- (x - y) ⊙ k
- (x * y) ⊙ k
- (x / y) ⊙ k
- (x % y) ⊙ k
- (x ^ y) ⊙ k
- |x - y| ⊙ k
- Specified by:
buildCtrPrimitivein interfaceXCallbacks- Parameters:
id- the id of the constraintx- an integer variableaop- an arithmetic operatory- an integer variableop- a relational operatork- a constant (integer)
-
buildCtrPrimitive
default void buildCtrPrimitive(String id, XVariables.XVarInteger x, Types.TypeArithmeticOperator aop, int p, Types.TypeConditionOperatorRel op, XVariables.XVarInteger y)
Description copied from interface:XCallbacksCallback method for building a binary primitive constraint with one of the following forms:- (x + p) ⊙ y
- (x - p) ⊙ y
- (x * p) ⊙ y
- (x / p) ⊙ y
- (x % p) ⊙ y
- (x ^ p) ⊙ y
- |x - p| ⊙ y
- Specified by:
buildCtrPrimitivein interfaceXCallbacks- Parameters:
id- the id of the constraintx- an integer variableaop- an arithmetic operatorp- a constant (integer)op- a relational operatory- an integer variable
-
buildCtrPrimitive
default void buildCtrPrimitive(String id, XVariables.XVarInteger x, Types.TypeArithmeticOperator aop, XVariables.XVarInteger y, Types.TypeConditionOperatorRel op, XVariables.XVarInteger z)
Description copied from interface:XCallbacksCallback method for building a ternary primitive constraint with one of the following forms:- (x + y) ⊙ z
- (x - y) ⊙ z
- (x * y) ⊙ z
- (x / y) ⊙ z
- (x % y) ⊙ z
- (x ^ y) ⊙ z
- |x - y| ⊙ z
- Specified by:
buildCtrPrimitivein interfaceXCallbacks- Parameters:
id- the id of the constraintx- an integer variableaop- an arithmetic operatory- an integer variableop- a relational operatorz- an integer variable
-
buildCtrLogic
default void buildCtrLogic(String id, Types.TypeLogicalOperator op, XVariables.XVarInteger[] vars)
Description copied from interface:XCallbacksCallback method for building a logic constraint with one of the following forms: *- and(x1,x2,...,xr)
- or(x1,x2,...,xr)
- xor(x1,x2,...,xr)
- iff(x1,x2,...,xr)
- imp(x1,x2)
- Specified by:
buildCtrLogicin interfaceXCallbacks- Parameters:
id- the id of the constraintop- a logical operatorvars- a set (array) of 0/1 variables
-
buildCtrLogic
default void buildCtrLogic(String id, XVariables.XVarInteger x, Types.TypeEqNeOperator op, Types.TypeLogicalOperator lop, XVariables.XVarInteger[] vars)
Description copied from interface:XCallbacksCallback method for building a logic constraint with one of the following forms: *- x = and(x1,x2,...,xr)
- x = or(x1,x2,...,xr)
- x = xor(x1,x2,...,xr)
- x = iff(x1,x2,...,xr)
- x = imp(x1,x2)
- x ≠ and(x1,x2,...,xr)
- x ≠ or(x1,x2,...,xr)
- x ≠ xor(x1,x2,...,xr)
- x ≠ iff(x1,x2,...,xr)
- x ≠ imp(x1,x2)
- Specified by:
buildCtrLogicin interfaceXCallbacks- Parameters:
id- the id of the constraintx- a 0/1 variableop- either the operator EQ or the operator NElop- a logical operatorvars- a set (array) of 0/1 variables
-
buildCtrLogic
default void buildCtrLogic(String id, XVariables.XVarInteger x, XVariables.XVarInteger y, Types.TypeConditionOperatorRel op, int k)
Description copied from interface:XCallbacksCallback method for building a "logic" constraint with the following form:- x = (y ⊙ k)
- Specified by:
buildCtrLogicin interfaceXCallbacks- Parameters:
id- the id of the constraintx- a 0/1 variabley- an integer variableop- a relational operatork- a constant (integer)
-
buildCtrLogic
default void buildCtrLogic(String id, XVariables.XVarInteger x, XVariables.XVarInteger y, Types.TypeConditionOperatorRel op, XVariables.XVarInteger z)
Description copied from interface:XCallbacksCallback method for building a "logic" constraint with the following form:- x = (y ⊙ z)
- Specified by:
buildCtrLogicin interfaceXCallbacks- Parameters:
id- the id of the constraintx- a 0/1 variabley- an integer variableop- a relational operatorz- an integer variable
-
buildCtrExtension
default void buildCtrExtension(String id, XVariables.XVarInteger x, int[] values, boolean positive, Set<Types.TypeFlag> flags)
Description copied from interface:XCallbacksCallback method for building a unary extensional constraint. Values are supports (accepted by the constraint) iff the specified Boolean is true, otherwise they are conflicts (not accepted by the constraint). The flag STARRED_TUPLES cannot appear in the specified set (because this is a unary constraint). The flag UNCLEAN_TUPLES, if present, indicates that all specified values do not necessarily belong to the (initial) domain of the specified variable. More information in the specifications (Chapter 4). Quick information available at XCSP3 website (Tab Specifications).- Specified by:
buildCtrExtensionin interfaceXCallbacks- Parameters:
id- the id of the constraintx- an integer variablevalues- supports or conflictspositive- values are supports iff this value is trueflags- set of flags giving information about the values
-
buildCtrExtension
default void buildCtrExtension(String id, XVariables.XVarInteger[] list, int[][] tuples, boolean positive, Set<Types.TypeFlag> flags)
Description copied from interface:XCallbacksCallback method for building a (non-unary) extensional constraint. Tuples are supports (accepted by the constraint) iff the specified Boolean is true, otherwise they are conflicts (not accepted by the constraint). The flag STARRED_TUPLES indicates if the symbol * (denoted by Constants.STAR_INT, whose value is Integer.MAX_VALUE - 1) is present in some tuple(s). The flag UNCLEAN_TUPLES, if present, indicates that all specified tuples do not necessarily belong to the (initial) domains of the specified variables. More information in the specifications (Chapter 4). Quick information available at XCSP3 website (Tab Specifications).- Specified by:
buildCtrExtensionin interfaceXCallbacks- Parameters:
id- the id of the constraintlist- the scope of the constrainttuples- supports or conflictspositive- tuples are supports iff this value is trueflags- set of flags giving information about the tuples
-
buildCtrExtension
default void buildCtrExtension(String id, XVariables.XVarInteger[] list, AbstractTuple[] tuples, boolean positive, Set<Types.TypeFlag> flags)
- Specified by:
buildCtrExtensionin interfaceXCallbacks
-
buildCtrRegular
default void buildCtrRegular(String id, XVariables.XVarInteger[] list, Transition[] transitions, String startState, String[] finalStates)
Description copied from interface:XCallbacksFull information about the constraint (this form) in the specifications (Chapter 4).
Quick information available on the XCSP3 website (Tab Specifications) .
Select the constraint after opening the left navigation bar below heading XCSP3-core.- Specified by:
buildCtrRegularin interfaceXCallbacks
-
buildCtrMDD
default void buildCtrMDD(String id, XVariables.XVarInteger[] list, Transition[] transitions)
Description copied from interface:XCallbacksFull information about the constraint (this form) in the specifications (Chapter 4).
Quick information available on the XCSP3 website (Tab Specifications) .
Select the constraint after opening the left navigation bar below heading XCSP3-core.- Specified by:
buildCtrMDDin interfaceXCallbacks
-
buildCtrAllDifferent
default void buildCtrAllDifferent(String id, XVariables.XVarInteger[] list)
Description copied from interface:XCallbacksFull information about the constraint (this form) in the specifications (Chapter 4).
Quick information available on the XCSP3 website (Tab Specifications) .
Select the constraint after opening the left navigation bar below heading XCSP3-core.- Specified by:
buildCtrAllDifferentin interfaceXCallbacks
-
buildCtrAllDifferent
default void buildCtrAllDifferent(String id, XNode<XVariables.XVarInteger>[] trees)
- Specified by:
buildCtrAllDifferentin interfaceXCallbacks
-
buildCtrAllDifferentExcept
default void buildCtrAllDifferentExcept(String id, XVariables.XVarInteger[] list, int[] except)
Description copied from interface:XCallbacksFull information about the constraint (this form) in the specifications (Chapter 4).
Quick information available on the XCSP3 website (Tab Specifications) .
Select the constraint after opening the left navigation bar below heading XCSP3-core.- Specified by:
buildCtrAllDifferentExceptin interfaceXCallbacks
-
buildCtrAllDifferentExcept
default void buildCtrAllDifferentExcept(String id, XNode<XVariables.XVarInteger>[] trees, int[] except)
- Specified by:
buildCtrAllDifferentExceptin interfaceXCallbacks
-
buildCtrAllDifferentList
default void buildCtrAllDifferentList(String id, XVariables.XVarInteger[][] lists)
Description copied from interface:XCallbacksFull information about the constraint (this form) in the specifications (Chapter 4).
Quick information available on the XCSP3 website (Tab Specifications) .
Select the constraint after opening the left navigation bar below heading XCSP3-core.- Specified by:
buildCtrAllDifferentListin interfaceXCallbacks
-
buildCtrAllDifferentList
default void buildCtrAllDifferentList(String id, XVariables.XVarInteger[][] lists, int[][] except)
- Specified by:
buildCtrAllDifferentListin interfaceXCallbacks
-
buildCtrAllDifferentMatrix
default void buildCtrAllDifferentMatrix(String id, XVariables.XVarInteger[][] matrix)
Description copied from interface:XCallbacksFull information about the constraint (this form) in the specifications (Chapter 4).
Quick information available on the XCSP3 website (Tab Specifications) .
Select the constraint after opening the left navigation bar below heading XCSP3-core.- Specified by:
buildCtrAllDifferentMatrixin interfaceXCallbacks
-
buildCtrAllDifferentMatrix
default void buildCtrAllDifferentMatrix(String id, XVariables.XVarInteger[][] matrix, int[] except)
- Specified by:
buildCtrAllDifferentMatrixin interfaceXCallbacks
-
buildCtrAllEqual
default void buildCtrAllEqual(String id, XVariables.XVarInteger[] list)
Description copied from interface:XCallbacksCallback method for building a constraintallEqual.- Specified by:
buildCtrAllEqualin interfaceXCallbacks- Parameters:
id- the id of the constraintlist- the list of variables of the constraint
-
buildCtrAllEqual
default void buildCtrAllEqual(String id, XNode<XVariables.XVarInteger>[] trees)
- Specified by:
buildCtrAllEqualin interfaceXCallbacks
-
buildCtrAllEqualExcept
default void buildCtrAllEqualExcept(String id, XVariables.XVarInteger[] list, int[] except)
- Specified by:
buildCtrAllEqualExceptin interfaceXCallbacks
-
buildCtrAllEqualExcept
default void buildCtrAllEqualExcept(String id, XNode<XVariables.XVarInteger>[] trees, int[] except)
- Specified by:
buildCtrAllEqualExceptin interfaceXCallbacks
-
buildCtrOrdered
default void buildCtrOrdered(String id, XVariables.XVarInteger[] list, Types.TypeOperatorRel operator)
Description copied from interface:XCallbacksFull information about the constraint (this form) in the specifications (Chapter 4).
Quick information available on the XCSP3 website (Tab Specifications) .
Select the constraint after opening the left navigation bar below heading XCSP3-core.- Specified by:
buildCtrOrderedin interfaceXCallbacks
-
buildCtrOrdered
default void buildCtrOrdered(String id, XVariables.XVarInteger[] list, int[] lengths, Types.TypeOperatorRel operator)
Description copied from interface:XCallbacksFull information about the constraint (this form) in the specifications (Chapter 4).
Quick information available on the XCSP3 website (Tab Specifications) .
Select the constraint after opening the left navigation bar below heading XCSP3-core.- Specified by:
buildCtrOrderedin interfaceXCallbacks
-
buildCtrOrdered
default void buildCtrOrdered(String id, XVariables.XVarInteger[] list, XVariables.XVarInteger[] lengths, Types.TypeOperatorRel operator)
Description copied from interface:XCallbacksFull information about the constraint (this form) in the specifications (Chapter 4).
Quick information available on the XCSP3 website (Tab Specifications) .
Select the constraint after opening the left navigation bar below heading XCSP3-core.- Specified by:
buildCtrOrderedin interfaceXCallbacks
-
buildCtrLex
default void buildCtrLex(String id, XVariables.XVarInteger[] list, int[] limit, Types.TypeOperatorRel operator)
- Specified by:
buildCtrLexin interfaceXCallbacks
-
buildCtrLex
default void buildCtrLex(String id, XVariables.XVarInteger[][] lists, Types.TypeOperatorRel operator)
Description copied from interface:XCallbacksFull information about the constraint (this form) in the specifications (Chapter 4).
Quick information available on the XCSP3 website (Tab Specifications) .
Select the constraint after opening the left navigation bar below heading XCSP3-core.- Specified by:
buildCtrLexin interfaceXCallbacks
-
buildCtrLexMatrix
default void buildCtrLexMatrix(String id, XVariables.XVarInteger[][] matrix, Types.TypeOperatorRel operator)
Description copied from interface:XCallbacksFull information about the constraint (this form) in the specifications (Chapter 4).
Quick information available on the XCSP3 website (Tab Specifications) .
Select the constraint after opening the left navigation bar below heading XCSP3-core.- Specified by:
buildCtrLexMatrixin interfaceXCallbacks
-
buildCtrPrecedence
default void buildCtrPrecedence(String id, XVariables.XVarInteger[] list)
- Specified by:
buildCtrPrecedencein interfaceXCallbacks
-
buildCtrPrecedence
default void buildCtrPrecedence(String id, XVariables.XVarInteger[] list, int[] values, boolean covered)
- Specified by:
buildCtrPrecedencein interfaceXCallbacks
-
buildCtrSum
default void buildCtrSum(String id, XVariables.XVarInteger[] list, Condition condition)
Description copied from interface:XCallbacksFull information about the constraint (this form) in the specifications (Chapter 4).
Quick information available on the XCSP3 website (Tab Specifications) .
Select the constraint after opening the left navigation bar below heading XCSP3-core.- Specified by:
buildCtrSumin interfaceXCallbacks
-
buildCtrSum
default void buildCtrSum(String id, XVariables.XVarInteger[] list, int[] coeffs, Condition condition)
Description copied from interface:XCallbacksFull information about the constraint (this form) in the specifications (Chapter 4).
Quick information available on the XCSP3 website (Tab Specifications) .
Select the constraint after opening the left navigation bar below heading XCSP3-core.- Specified by:
buildCtrSumin interfaceXCallbacks
-
buildCtrSum
default void buildCtrSum(String id, XVariables.XVarInteger[] list, XVariables.XVarInteger[] coeffs, Condition condition)
Description copied from interface:XCallbacksFull information about the constraint (this form) in the specifications (Chapter 4).
Quick information available on the XCSP3 website (Tab Specifications) .
Select the constraint after opening the left navigation bar below heading XCSP3-core.- Specified by:
buildCtrSumin interfaceXCallbacks
-
buildCtrSum
default void buildCtrSum(String id, XNode<XVariables.XVarInteger>[] trees, Condition condition)
- Specified by:
buildCtrSumin interfaceXCallbacks
-
buildCtrSum
default void buildCtrSum(String id, XNode<XVariables.XVarInteger>[] trees, int[] coeffs, Condition condition)
- Specified by:
buildCtrSumin interfaceXCallbacks
-
buildCtrSum
default void buildCtrSum(String id, XNode<XVariables.XVarInteger>[] trees, XVariables.XVarInteger[] coeffs, Condition condition)
- Specified by:
buildCtrSumin interfaceXCallbacks
-
buildCtrCount
default void buildCtrCount(String id, XVariables.XVarInteger[] list, int[] values, Condition condition)
Description copied from interface:XCallbacksFull information about the constraint (this form) in the specifications (Chapter 4).
Quick information available on the XCSP3 website (Tab Specifications) .
Select the constraint after opening the left navigation bar below heading XCSP3-core.- Specified by:
buildCtrCountin interfaceXCallbacks
-
buildCtrCount
default void buildCtrCount(String id, XNode<XVariables.XVarInteger>[] trees, int[] values, Condition condition)
- Specified by:
buildCtrCountin interfaceXCallbacks
-
buildCtrCount
default void buildCtrCount(String id, XVariables.XVarInteger[] list, XVariables.XVarInteger[] values, Condition condition)
Description copied from interface:XCallbacksFull information about the constraint (this form) in the specifications (Chapter 4).
Quick information available on the XCSP3 website (Tab Specifications) .
Select the constraint after opening the left navigation bar below heading XCSP3-core.- Specified by:
buildCtrCountin interfaceXCallbacks
-
buildCtrAtLeast
default void buildCtrAtLeast(String id, XVariables.XVarInteger[] list, int value, int k)
Description copied from interface:XCallbacksFull information about the constraint (this form) in the specifications (Chapter 4).
Quick information available on the XCSP3 website (Tab Specifications) .
Select the constraint after opening the left navigation bar below heading XCSP3-core.- Specified by:
buildCtrAtLeastin interfaceXCallbacks
-
buildCtrAtMost
default void buildCtrAtMost(String id, XVariables.XVarInteger[] list, int value, int k)
Description copied from interface:XCallbacksFull information about the constraint (this form) in the specifications (Chapter 4).
Quick information available on the XCSP3 website (Tab Specifications) .
Select the constraint after opening the left navigation bar below heading XCSP3-core.- Specified by:
buildCtrAtMostin interfaceXCallbacks
-
buildCtrExactly
default void buildCtrExactly(String id, XVariables.XVarInteger[] list, int value, int k)
Description copied from interface:XCallbacksFull information about the constraint (this form) in the specifications (Chapter 4).
Quick information available on the XCSP3 website (Tab Specifications) .
Select the constraint after opening the left navigation bar below heading XCSP3-core.- Specified by:
buildCtrExactlyin interfaceXCallbacks
-
buildCtrExactly
default void buildCtrExactly(String id, XVariables.XVarInteger[] list, int value, XVariables.XVarInteger k)
Description copied from interface:XCallbacksFull information about the constraint (this form) in the specifications (Chapter 4).
Quick information available on the XCSP3 website (Tab Specifications) .
Select the constraint after opening the left navigation bar below heading XCSP3-core.- Specified by:
buildCtrExactlyin interfaceXCallbacks
-
buildCtrAmong
default void buildCtrAmong(String id, XVariables.XVarInteger[] list, int[] values, int k)
Description copied from interface:XCallbacksFull information about the constraint (this form) in the specifications (Chapter 4).
Quick information available on the XCSP3 website (Tab Specifications) .
Select the constraint after opening the left navigation bar below heading XCSP3-core.- Specified by:
buildCtrAmongin interfaceXCallbacks
-
buildCtrAmong
default void buildCtrAmong(String id, XVariables.XVarInteger[] list, int[] values, XVariables.XVarInteger k)
Description copied from interface:XCallbacksFull information about the constraint (this form) in the specifications (Chapter 4).
Quick information available on the XCSP3 website (Tab Specifications) .
Select the constraint after opening the left navigation bar below heading XCSP3-core.- Specified by:
buildCtrAmongin interfaceXCallbacks
-
buildCtrNValues
default void buildCtrNValues(String id, XVariables.XVarInteger[] list, Condition condition)
Description copied from interface:XCallbacksFull information about the constraint (this form) in the specifications (Chapter 4).
Quick information available on the XCSP3 website (Tab Specifications) .
Select the constraint after opening the left navigation bar below heading XCSP3-core.- Specified by:
buildCtrNValuesin interfaceXCallbacks
-
buildCtrNValuesExcept
default void buildCtrNValuesExcept(String id, XVariables.XVarInteger[] list, int[] except, Condition condition)
Description copied from interface:XCallbacksFull information about the constraint (this form) in the specifications (Chapter 4).
Quick information available on the XCSP3 website (Tab Specifications) .
Select the constraint after opening the left navigation bar below heading XCSP3-core.- Specified by:
buildCtrNValuesExceptin interfaceXCallbacks
-
buildCtrNValues
default void buildCtrNValues(String id, XNode<XVariables.XVarInteger>[] trees, Condition condition)
- Specified by:
buildCtrNValuesin interfaceXCallbacks
-
buildCtrNotAllEqual
default void buildCtrNotAllEqual(String id, XVariables.XVarInteger[] list)
Description copied from interface:XCallbacksFull information about the constraint (this form) in the specifications (Chapter 4).
Quick information available on the XCSP3 website (Tab Specifications) .
Select the constraint after opening the left navigation bar below heading XCSP3-core.- Specified by:
buildCtrNotAllEqualin interfaceXCallbacks
-
buildCtrCardinality
default void buildCtrCardinality(String id, XVariables.XVarInteger[] list, boolean closed, int[] values, XVariables.XVarInteger[] occurs)
Description copied from interface:XCallbacksFull information about the constraint (this form) in the specifications (Chapter 4).
Quick information available on the XCSP3 website (Tab Specifications) .
Select the constraint after opening the left navigation bar below heading XCSP3-core.- Specified by:
buildCtrCardinalityin interfaceXCallbacks
-
buildCtrCardinality
default void buildCtrCardinality(String id, XVariables.XVarInteger[] list, boolean closed, int[] values, int[] occurs)
Description copied from interface:XCallbacksFull information about the constraint (this form) in the specifications (Chapter 4).
Quick information available on the XCSP3 website (Tab Specifications) .
Select the constraint after opening the left navigation bar below heading XCSP3-core.- Specified by:
buildCtrCardinalityin interfaceXCallbacks
-
buildCtrCardinality
default void buildCtrCardinality(String id, XVariables.XVarInteger[] list, boolean closed, int[] values, int[] occursMin, int[] occursMax)
Description copied from interface:XCallbacksFull information about the constraint (this form) in the specifications (Chapter 4).
Quick information available on the XCSP3 website (Tab Specifications) .
Select the constraint after opening the left navigation bar below heading XCSP3-core.- Specified by:
buildCtrCardinalityin interfaceXCallbacks
-
buildCtrCardinality
default void buildCtrCardinality(String id, XVariables.XVarInteger[] list, boolean closed, XVariables.XVarInteger[] values, XVariables.XVarInteger[] occurs)
Description copied from interface:XCallbacksFull information about the constraint (this form) in the specifications (Chapter 4).
Quick information available on the XCSP3 website (Tab Specifications) .
Select the constraint after opening the left navigation bar below heading XCSP3-core.- Specified by:
buildCtrCardinalityin interfaceXCallbacks
-
buildCtrCardinality
default void buildCtrCardinality(String id, XVariables.XVarInteger[] list, boolean closed, XVariables.XVarInteger[] values, int[] occurs)
Description copied from interface:XCallbacksFull information about the constraint (this form) in the specifications (Chapter 4).
Quick information available on the XCSP3 website (Tab Specifications) .
Select the constraint after opening the left navigation bar below heading XCSP3-core.- Specified by:
buildCtrCardinalityin interfaceXCallbacks
-
buildCtrCardinality
default void buildCtrCardinality(String id, XVariables.XVarInteger[] list, boolean closed, XVariables.XVarInteger[] values, int[] occursMin, int[] occursMax)
Description copied from interface:XCallbacksFull information about the constraint (this form) in the specifications (Chapter 4).
Quick information available on the XCSP3 website (Tab Specifications) .
Select the constraint after opening the left navigation bar below heading XCSP3-core.- Specified by:
buildCtrCardinalityin interfaceXCallbacks
-
buildCtrMaximum
default void buildCtrMaximum(String id, XVariables.XVarInteger[] list, Condition condition)
Description copied from interface:XCallbacksFull information about the constraint (this form) in the specifications (Chapter 4).
Quick information available on the XCSP3 website (Tab Specifications) .
Select the constraint after opening the left navigation bar below heading XCSP3-core.- Specified by:
buildCtrMaximumin interfaceXCallbacks
-
buildCtrMaximum
default void buildCtrMaximum(String id, XVariables.XVarInteger[] list, int startIndex, XVariables.XVarInteger index, Types.TypeRank rank, Condition condition)
Description copied from interface:XCallbacksFull information about the constraint (this form) in the specifications (Chapter 4).
Quick information available on the XCSP3 website (Tab Specifications) .
Select the constraint after opening the left navigation bar below heading XCSP3-core.- Specified by:
buildCtrMaximumin interfaceXCallbacks
-
buildCtrMaximum
default void buildCtrMaximum(String id, XNode<XVariables.XVarInteger>[] trees, Condition condition)
- Specified by:
buildCtrMaximumin interfaceXCallbacks
-
buildCtrMinimum
default void buildCtrMinimum(String id, XVariables.XVarInteger[] list, Condition condition)
Description copied from interface:XCallbacksFull information about the constraint (this form) in the specifications (Chapter 4).
Quick information available on the XCSP3 website (Tab Specifications) .
Select the constraint after opening the left navigation bar below heading XCSP3-core.- Specified by:
buildCtrMinimumin interfaceXCallbacks
-
buildCtrMinimum
default void buildCtrMinimum(String id, XVariables.XVarInteger[] list, int startIndex, XVariables.XVarInteger index, Types.TypeRank rank, Condition condition)
Description copied from interface:XCallbacksFull information about the constraint (this form) in the specifications (Chapter 4).
Quick information available on the XCSP3 website (Tab Specifications) .
Select the constraint after opening the left navigation bar below heading XCSP3-core.- Specified by:
buildCtrMinimumin interfaceXCallbacks
-
buildCtrMinimum
default void buildCtrMinimum(String id, XNode<XVariables.XVarInteger>[] trees, Condition condition)
- Specified by:
buildCtrMinimumin interfaceXCallbacks
-
buildCtrMaximumArg
default void buildCtrMaximumArg(String id, XVariables.XVarInteger[] list, Types.TypeRank rank, Condition condition)
- Specified by:
buildCtrMaximumArgin interfaceXCallbacks
-
buildCtrMaximumArg
default void buildCtrMaximumArg(String id, XNode<XVariables.XVarInteger>[] trees, Types.TypeRank rank, Condition condition)
- Specified by:
buildCtrMaximumArgin interfaceXCallbacks
-
buildCtrMinimumArg
default void buildCtrMinimumArg(String id, XVariables.XVarInteger[] list, Types.TypeRank rank, Condition condition)
- Specified by:
buildCtrMinimumArgin interfaceXCallbacks
-
buildCtrMinimumArg
default void buildCtrMinimumArg(String id, XNode<XVariables.XVarInteger>[] trees, Types.TypeRank rank, Condition condition)
- Specified by:
buildCtrMinimumArgin interfaceXCallbacks
-
buildCtrElement
default void buildCtrElement(String id, XVariables.XVarInteger[] list, Condition condition)
- Specified by:
buildCtrElementin interfaceXCallbacks
-
buildCtrElement
default void buildCtrElement(String id, XVariables.XVarInteger[] list, int startIndex, XVariables.XVarInteger index, Types.TypeRank rank, Condition condition)
- Specified by:
buildCtrElementin interfaceXCallbacks
-
buildCtrElement
default void buildCtrElement(String id, int[] list, int startIndex, XVariables.XVarInteger index, Types.TypeRank rank, Condition condition)
- Specified by:
buildCtrElementin interfaceXCallbacks
-
buildCtrElement
default void buildCtrElement(String id, int[][] matrix, int startRowIndex, XVariables.XVarInteger rowIndex, int startColIndex, XVariables.XVarInteger colIndex, Condition condition)
- Specified by:
buildCtrElementin interfaceXCallbacks
-
buildCtrElement
default void buildCtrElement(String id, XVariables.XVarInteger[][] matrix, int startRowIndex, XVariables.XVarInteger rowIndex, int startColIndex, XVariables.XVarInteger colIndex, Condition condition)
- Specified by:
buildCtrElementin interfaceXCallbacks
-
buildCtrChannel
default void buildCtrChannel(String id, XVariables.XVarInteger[] list, int startIndex)
Description copied from interface:XCallbacksFull information about the constraint (this form) in the specifications (Chapter 4).
Quick information available on the XCSP3 website (Tab Specifications) .
Select the constraint after opening the left navigation bar below heading XCSP3-core.- Specified by:
buildCtrChannelin interfaceXCallbacks
-
buildCtrChannel
default void buildCtrChannel(String id, XVariables.XVarInteger[] list1, int startIndex1, XVariables.XVarInteger[] list2, int startIndex2)
Description copied from interface:XCallbacksFull information about the constraint (this form) in the specifications (Chapter 4).
Quick information available on the XCSP3 website (Tab Specifications) .
Select the constraint after opening the left navigation bar below heading XCSP3-core.- Specified by:
buildCtrChannelin interfaceXCallbacks
-
buildCtrChannel
default void buildCtrChannel(String id, XVariables.XVarInteger[] list, int startIndex, XVariables.XVarInteger value)
Description copied from interface:XCallbacksFull information about the constraint (this form) in the specifications (Chapter 4).
Quick information available on the XCSP3 website (Tab Specifications) .
Select the constraint after opening the left navigation bar below heading XCSP3-core.- Specified by:
buildCtrChannelin interfaceXCallbacks
-
buildCtrStretch
default void buildCtrStretch(String id, XVariables.XVarInteger[] list, int[] values, int[] widthsMin, int[] widthsMax)
Description copied from interface:XCallbacksFull information about the constraint (this form) in the specifications (Chapter 4).
Quick information available on the XCSP3 website (Tab Specifications) .
Select the constraint after opening the left navigation bar below heading XCSP3-core.- Specified by:
buildCtrStretchin interfaceXCallbacks
-
buildCtrStretch
default void buildCtrStretch(String id, XVariables.XVarInteger[] list, int[] values, int[] widthsMin, int[] widthsMax, int[][] patterns)
Description copied from interface:XCallbacksFull information about the constraint (this form) in the specifications (Chapter 4).
Quick information available on the XCSP3 website (Tab Specifications) .
Select the constraint after opening the left navigation bar below heading XCSP3-core.- Specified by:
buildCtrStretchin interfaceXCallbacks
-
buildCtrNoOverlap
default void buildCtrNoOverlap(String id, XVariables.XVarInteger[] origins, int[] lengths, boolean zeroIgnored)
Description copied from interface:XCallbacksFull information about the constraint (this form) in the specifications (Chapter 4).
Quick information available on the XCSP3 website (Tab Specifications) .
Select the constraint after opening the left navigation bar below heading XCSP3-core.- Specified by:
buildCtrNoOverlapin interfaceXCallbacks
-
buildCtrNoOverlap
default void buildCtrNoOverlap(String id, XVariables.XVarInteger[] origins, XVariables.XVarInteger[] lengths, boolean zeroIgnored)
Description copied from interface:XCallbacksFull information about the constraint (this form) in the specifications (Chapter 4).
Quick information available on the XCSP3 website (Tab Specifications) .
Select the constraint after opening the left navigation bar below heading XCSP3-core.- Specified by:
buildCtrNoOverlapin interfaceXCallbacks
-
buildCtrNoOverlap
default void buildCtrNoOverlap(String id, XVariables.XVarInteger[][] origins, int[][] lengths, boolean zeroIgnored)
Description copied from interface:XCallbacksFull information about the constraint (this form) in the specifications (Chapter 4).
Quick information available on the XCSP3 website (Tab Specifications) .
Select the constraint after opening the left navigation bar below heading XCSP3-core.- Specified by:
buildCtrNoOverlapin interfaceXCallbacks
-
buildCtrNoOverlap
default void buildCtrNoOverlap(String id, XVariables.XVarInteger[][] origins, XVariables.XVarInteger[][] lengths, boolean zeroIgnored)
Description copied from interface:XCallbacksFull information about the constraint (this form) in the specifications (Chapter 4).
Quick information available on the XCSP3 website (Tab Specifications) .
Select the constraint after opening the left navigation bar below heading XCSP3-core.- Specified by:
buildCtrNoOverlapin interfaceXCallbacks
-
buildCtrNoOverlap
default void buildCtrNoOverlap(String id, XVariables.XVarInteger[] xs, XVariables.XVarInteger[] ys, XVariables.XVarInteger[] lx, int[] ly, boolean zeroIgnored)
- Specified by:
buildCtrNoOverlapin interfaceXCallbacks
-
buildCtrCumulative
default void buildCtrCumulative(String id, XVariables.XVarInteger[] origins, int[] lengths, int[] heights, Condition condition)
Description copied from interface:XCallbacksFull information about the constraint (this form) in the specifications (Chapter 4).
Quick information available on the XCSP3 website (Tab Specifications) .
Select the constraint after opening the left navigation bar below heading XCSP3-core.- Specified by:
buildCtrCumulativein interfaceXCallbacks
-
buildCtrCumulative
default void buildCtrCumulative(String id, XVariables.XVarInteger[] origins, int[] lengths, XVariables.XVarInteger[] heights, Condition condition)
Description copied from interface:XCallbacksFull information about the constraint (this form) in the specifications (Chapter 4).
Quick information available on the XCSP3 website (Tab Specifications) .
Select the constraint after opening the left navigation bar below heading XCSP3-core.- Specified by:
buildCtrCumulativein interfaceXCallbacks
-
buildCtrCumulative
default void buildCtrCumulative(String id, XVariables.XVarInteger[] origins, XVariables.XVarInteger[] lengths, int[] heights, Condition condition)
Description copied from interface:XCallbacksFull information about the constraint (this form) in the specifications (Chapter 4).
Quick information available on the XCSP3 website (Tab Specifications) .
Select the constraint after opening the left navigation bar below heading XCSP3-core.- Specified by:
buildCtrCumulativein interfaceXCallbacks
-
buildCtrCumulative
default void buildCtrCumulative(String id, XVariables.XVarInteger[] origins, XVariables.XVarInteger[] lengths, XVariables.XVarInteger[] heights, Condition condition)
Description copied from interface:XCallbacksFull information about the constraint (this form) in the specifications (Chapter 4).
Quick information available on the XCSP3 website (Tab Specifications) .
Select the constraint after opening the left navigation bar below heading XCSP3-core.- Specified by:
buildCtrCumulativein interfaceXCallbacks
-
buildCtrCumulative
default void buildCtrCumulative(String id, XVariables.XVarInteger[] origins, int[] lengths, XVariables.XVarInteger[] ends, int[] heights, Condition condition)
Description copied from interface:XCallbacksFull information about the constraint (this form) in the specifications (Chapter 4).
Quick information available on the XCSP3 website (Tab Specifications) .
Select the constraint after opening the left navigation bar below heading XCSP3-core.- Specified by:
buildCtrCumulativein interfaceXCallbacks
-
buildCtrCumulative
default void buildCtrCumulative(String id, XVariables.XVarInteger[] origins, int[] lengths, XVariables.XVarInteger[] ends, XVariables.XVarInteger[] heights, Condition condition)
Description copied from interface:XCallbacksFull information about the constraint (this form) in the specifications (Chapter 4).
Quick information available on the XCSP3 website (Tab Specifications) .
Select the constraint after opening the left navigation bar below heading XCSP3-core.- Specified by:
buildCtrCumulativein interfaceXCallbacks
-
buildCtrCumulative
default void buildCtrCumulative(String id, XVariables.XVarInteger[] origins, XVariables.XVarInteger[] lengths, XVariables.XVarInteger[] ends, int[] heights, Condition condition)
Description copied from interface:XCallbacksFull information about the constraint (this form) in the specifications (Chapter 4).
Quick information available on the XCSP3 website (Tab Specifications) .
Select the constraint after opening the left navigation bar below heading XCSP3-core.- Specified by:
buildCtrCumulativein interfaceXCallbacks
-
buildCtrCumulative
default void buildCtrCumulative(String id, XVariables.XVarInteger[] origins, XVariables.XVarInteger[] lengths, XVariables.XVarInteger[] ends, XVariables.XVarInteger[] heights, Condition condition)
Description copied from interface:XCallbacksFull information about the constraint (this form) in the specifications (Chapter 4).
Quick information available on the XCSP3 website (Tab Specifications) .
Select the constraint after opening the left navigation bar below heading XCSP3-core.- Specified by:
buildCtrCumulativein interfaceXCallbacks
-
buildCtrBinPacking
default void buildCtrBinPacking(String id, XVariables.XVarInteger[] list, int[] sizes, Condition condition)
- Specified by:
buildCtrBinPackingin interfaceXCallbacks
-
buildCtrBinPacking
default void buildCtrBinPacking(String id, XVariables.XVarInteger[] list, int[] sizes, int[] capacities, boolean loads)
- Specified by:
buildCtrBinPackingin interfaceXCallbacks
-
buildCtrBinPacking
default void buildCtrBinPacking(String id, XVariables.XVarInteger[] list, int[] sizes, XVariables.XVarInteger[] capacities, boolean loads)
- Specified by:
buildCtrBinPackingin interfaceXCallbacks
-
buildCtrBinPacking
default void buildCtrBinPacking(String id, XVariables.XVarInteger[] list, int[] sizes, Condition[] conditions, int startIndex)
- Specified by:
buildCtrBinPackingin interfaceXCallbacks
-
buildCtrKnapsack
default void buildCtrKnapsack(String id, XVariables.XVarInteger[] list, int[] weights, Condition wcondition, int[] profits, Condition pcondition)
- Specified by:
buildCtrKnapsackin interfaceXCallbacks
-
buildCtrFlow
default void buildCtrFlow(String id, XVariables.XVarInteger[] list, int[] balance, int[][] arcs)
- Specified by:
buildCtrFlowin interfaceXCallbacks
-
buildCtrFlow
default void buildCtrFlow(String id, XVariables.XVarInteger[] list, int[] balance, int[][] arcs, int[] weights, Condition condition)
- Specified by:
buildCtrFlowin interfaceXCallbacks
-
buildCtrInstantiation
default void buildCtrInstantiation(String id, XVariables.XVarInteger[] list, int[] values)
Description copied from interface:XCallbacksFull information about the constraint (this form) in the specifications (Chapter 4).
Quick information available on the XCSP3 website (Tab Specifications) .
Select the constraint after opening the left navigation bar below heading XCSP3-core.- Specified by:
buildCtrInstantiationin interfaceXCallbacks
-
buildCtrClause
default void buildCtrClause(String id, XVariables.XVarInteger[] pos, XVariables.XVarInteger[] neg)
Description copied from interface:XCallbacksFull information about the constraint (this form) in the specifications (Chapter 4).
Quick information available on the XCSP3 website (Tab Specifications) .
Select the constraint after opening the left navigation bar below heading XCSP3-core.- Specified by:
buildCtrClausein interfaceXCallbacks
-
buildCtrCircuit
default void buildCtrCircuit(String id, XVariables.XVarInteger[] list, int startIndex)
Description copied from interface:XCallbacksFull information about the constraint (this form) in the specifications (Chapter 4).
Quick information available on the XCSP3 website (Tab Specifications) .
Select the constraint after opening the left navigation bar below heading XCSP3-core.- Specified by:
buildCtrCircuitin interfaceXCallbacks
-
buildCtrCircuit
default void buildCtrCircuit(String id, XVariables.XVarInteger[] list, int startIndex, int size)
Description copied from interface:XCallbacksFull information about the constraint (this form) in the specifications (Chapter 4).
Quick information available on the XCSP3 website (Tab Specifications) .
Select the constraint after opening the left navigation bar below heading XCSP3-core.- Specified by:
buildCtrCircuitin interfaceXCallbacks
-
buildCtrCircuit
default void buildCtrCircuit(String id, XVariables.XVarInteger[] list, int startIndex, XVariables.XVarInteger size)
Description copied from interface:XCallbacksFull information about the constraint (this form) in the specifications (Chapter 4).
Quick information available on the XCSP3 website (Tab Specifications) .
Select the constraint after opening the left navigation bar below heading XCSP3-core.- Specified by:
buildCtrCircuitin interfaceXCallbacks
-
buildCtrAdhoc
default void buildCtrAdhoc(String id, String form, Map<String,Object> map)
- Specified by:
buildCtrAdhocin interfaceXCallbacks
-
buildObjToMinimize
default void buildObjToMinimize(String id, XVariables.XVarInteger x)
Methods to be implemented for managing objectives- Specified by:
buildObjToMinimizein interfaceXCallbacks
-
buildObjToMaximize
default void buildObjToMaximize(String id, XVariables.XVarInteger x)
- Specified by:
buildObjToMaximizein interfaceXCallbacks
-
buildObjToMinimize
default void buildObjToMinimize(String id, XNodeParent<XVariables.XVarInteger> tree)
- Specified by:
buildObjToMinimizein interfaceXCallbacks
-
buildObjToMaximize
default void buildObjToMaximize(String id, XNodeParent<XVariables.XVarInteger> tree)
- Specified by:
buildObjToMaximizein interfaceXCallbacks
-
buildObjToMinimize
default void buildObjToMinimize(String id, Types.TypeObjective type, XVariables.XVarInteger[] list)
- Specified by:
buildObjToMinimizein interfaceXCallbacks
-
buildObjToMaximize
default void buildObjToMaximize(String id, Types.TypeObjective type, XVariables.XVarInteger[] list)
- Specified by:
buildObjToMaximizein interfaceXCallbacks
-
buildObjToMinimize
default void buildObjToMinimize(String id, Types.TypeObjective type, XVariables.XVarInteger[] list, int[] coeffs)
- Specified by:
buildObjToMinimizein interfaceXCallbacks
-
buildObjToMaximize
default void buildObjToMaximize(String id, Types.TypeObjective type, XVariables.XVarInteger[] list, int[] coeffs)
- Specified by:
buildObjToMaximizein interfaceXCallbacks
-
buildObjToMinimize
default void buildObjToMinimize(String id, Types.TypeObjective type, XNode<XVariables.XVarInteger>[] trees)
- Specified by:
buildObjToMinimizein interfaceXCallbacks
-
buildObjToMaximize
default void buildObjToMaximize(String id, Types.TypeObjective type, XNode<XVariables.XVarInteger>[] trees)
- Specified by:
buildObjToMaximizein interfaceXCallbacks
-
buildObjToMinimize
default void buildObjToMinimize(String id, Types.TypeObjective type, XNode<XVariables.XVarInteger>[] trees, int[] coeffs)
- Specified by:
buildObjToMinimizein interfaceXCallbacks
-
buildObjToMaximize
default void buildObjToMaximize(String id, Types.TypeObjective type, XNode<XVariables.XVarInteger>[] trees, int[] coeffs)
- Specified by:
buildObjToMaximizein interfaceXCallbacks
-
buildVarSymbolic
default void buildVarSymbolic(XVariables.XVarSymbolic x, String[] values)
Methods to be implemented on symbolic variables/constraints- Specified by:
buildVarSymbolicin interfaceXCallbacks
-
buildCtrIntension
default void buildCtrIntension(String id, XVariables.XVarSymbolic[] scope, XNodeParent<XVariables.XVarSymbolic> syntaxTreeRoot)
- Specified by:
buildCtrIntensionin interfaceXCallbacks
-
buildCtrExtension
default void buildCtrExtension(String id, XVariables.XVarSymbolic x, String[] values, boolean positive, Set<Types.TypeFlag> flags)
- Specified by:
buildCtrExtensionin interfaceXCallbacks
-
buildCtrExtension
default void buildCtrExtension(String id, XVariables.XVarSymbolic[] list, String[][] tuples, boolean positive, Set<Types.TypeFlag> flags)
- Specified by:
buildCtrExtensionin interfaceXCallbacks
-
buildCtrAllDifferent
default void buildCtrAllDifferent(String id, XVariables.XVarSymbolic[] list)
- Specified by:
buildCtrAllDifferentin interfaceXCallbacks
-
buildAnnotationDecision
default void buildAnnotationDecision(XVariables.XVarInteger[] list)
Methods to be implemented on Annotations- Specified by:
buildAnnotationDecisionin interfaceXCallbacks
-
buildAnnotationValHeuristicStatic
default void buildAnnotationValHeuristicStatic(XVariables.XVarInteger[] list, int[] order)
- Specified by:
buildAnnotationValHeuristicStaticin interfaceXCallbacks
-
-