Uses of Class
org.jacop.constraints.Constraint
-
-
Uses of Constraint in org.jacop.api
Classes in org.jacop.api with type parameters of type Constraint Modifier and Type Interface Description interfaceReplaceable<T extends Constraint>Interface that provides ability to configure constraint store to replace a particular type of constraints into another one.Methods in org.jacop.api that return types with arguments of type Constraint Modifier and Type Method Description DecomposedConstraint<Constraint>Replaceable. replace(T constraint) -
Uses of Constraint in org.jacop.constraints
Classes in org.jacop.constraints with type parameters of type Constraint Modifier and Type Class Description classDecomposedConstraint<T extends Constraint>Standard unified interface/abstract class for constraints, which can only be decomposed.Subclasses of Constraint in org.jacop.constraints Modifier and Type Class Description classAbsXeqYConstraints |X| #= YclassAlldiffAlldiff constraint assures that all FDVs has different values.classAlldifferentAlldifferent constraint assures that all FDVs has differnet values.classAlldistinctAlldistinct constraint assures that all FDVs have different values.classAmongAmong constraint in its simplest form.classAmongVarAmong constraint in its general form.classAndConstraint c1 /\ c2 ...classAndBoolSimpleIf both a and b are equal 1 then result variable is equal 1 too.classAndBoolVectorIf all x's are equal 1 then result variable is equal 1 too.classArgMaxArgMax constraint provides the index of the maximum variable from all variables on the list.classArgMinArgMin constraint provides the index of the maximum variable from all variables on the list.classAssignmentAssignment constraint implements facility to improve channeling constraints between dual viewpoints of permutation models.classAtLeastAtLeast constraint implements the counting over number of occurrences of a given value in a list of variables.classAtMostAtMost constraint implements the counting over number of occurrences of a given value in a list of variables.classBoolClauseI defines a boolean clause for 0/1 variables x_i and y_i.classChannelChannel constraints "constraint" <=> BclassCircuitCircuit constraint assures that all variables build a Hamiltonian circuit.classConditionalConditional constraint implements conditional constraint satisfiability.classCountCount constraint implements the counting over number of occurrences of a given value in a list of variables.classCountBoundsCountBounds constraint implements the counting over number of occurrences of a given value in a list of variables.classCountValuesCountValues constraint implements the counting over numbers of occurrences of a given vector of values in a list of variables.classCountValuesBoundsCountValuesBounds constraint implements the counting over numbers of occurrences of a given vector of values in a list of variables.classCountVarCountVar constraint implements the counting over number of occurrences of a given value in a list of variables.classCumulativeCumulative implements the cumulative/4 constraint using edge-finding algorithm and profile information on the resource use.classDiffDiff constraint assures that any two rectangles from a vector of rectangles does not overlap in at least one direction.classDiff2Diff2 constraint assures that any two rectangles from a vector of rectangles does not overlap in at least one direction.classDisjointDisjoint constraint assures that any two rectangles from a vector of rectangles does not overlap in at least one direction.classDisjointConditionalDisjointConditional constraint assures that any two rectangles from a vector of rectangles does not overlap in at least one direction.classDistanceConstraint |X - Y| #= ZclassElementElement constraint implements the element/4 constraint (both with integer list and variables list).classElementIntegerElementInteger constraint defines a relation list[index - indexOffset] = value.classElementIntegerFastElementIntegerFast constraint defines a relation list[index - indexOffset] = value.classElementVariableElementVariable constraint defines a relation list[index - indexOffset] = value.classElementVariableFastElementVariableFast constraint defines a relation list[index - indexOffset] = value.classEqConstraint "constraint1"#<=> "constraint2"classEqBoolIf all x's are equal to each other then result variable is equal 1.classExtensionalConflictVAExtensional constraint assures that none of the tuples explicitly given is enforced in the relation.classExtensionalSupportMDDExtensional constraint assures that one of the tuples is enforced in the relation.classExtensionalSupportSTRExtensional constraint assures that one of the tuples is enforced in the relation.classExtensionalSupportVAExtensional constraint assures that one of the tuples is enforced in the relation.classGCCGCC constraint counts the number of occurences of given values in x variables.classIfThenConstraint if constraint1 then constraint2classIfThenBoolConstraint ( X => Y ) <=> Z.classIfThenElseConstraint if constraint1 then constraint2 else constraint3 *classImpliesConstraint b => c (implication or half-reification)classInConstraints X to belong to a specified domain.classLexOrderIt constructs a LexOrder (lexicographical order) constraint.classLinearDeprecated.As of release 4.3.1 replaced by LinearInt constraint.classLinearIntLinearInt constraint implements the weighted summation over several variables .classLinearIntDomLinearIntDom constraint implements the weighted summation over several variables.classMaxMax constraint implements the Maximum/2 constraint.classMaxSimpleMaxSimple constraint implements the Maximum/2 constraint.classMemberMember constraint implements the membership of element e on list x.classMinMin constraint implements the minimum/2 constraint.classMinSimpleMinSimple constraint implements the minimum/2 constraint.classNoGoodNoGood constraints implements a constraint which disallows given combination of values for given variables.classNotConstraint "not costraint"classOrConstraint c1 \/ c2 \/ ...classOrBoolSimpleIf at least one variable is equal 1 then result variable is equal 1 too.classOrBoolVectorIf at least one variable from the list is equal 1 then result variable is equal 1 too.classPrimitiveConstraintStandard unified interface for all primitive constraints.classReifiedReified constraints "constraint" <=> BclassSubcircuitSubcircuit constraint assures that all variables build a subcircuit.classSumDeprecated.As of release 4.3.1 replaced by SumInt constraint.classSumBoolSumBool constraint implements the summation over several 0/1 variables.classSumIntSumInt constraint implements the summation over several variables.classSumWeightSumWeight constraint implements the weighted summation over several variables .classSumWeightDomDeprecated.As of release 4.3.1 replaced by LinearIntDom constraint.classValuePrecedeIt defines Value Precedence constraint for integers.classValuesConstraint Values counts number of different values on a list of Variables.classVariableTraceVariableTrace is a daemon that prints information on variables whenever they are changed.classXdivYeqZConstraint X div Y #= ZclassXeqCConstraints X #= CclassXeqYConstraints X #= YclassXexpYeqZConstraint X ^ Y #= ZclassXgtCConstraint X > CclassXgteqCConstraints X >= CclassXgteqYConstraints X >= YclassXgtYConstraint X > YclassXltCConstraint X < CclassXlteqCConstraint X <= CclassXlteqYConstraint X <= YclassXltYConstraint X < YclassXmodYeqZConstraint X mod Y = ZclassXmulCeqZConstraint X * C #= ZclassXmulYeqCConstraint X * Y #= CclassXmulYeqZConstraint X * Y #= ZclassXneqCConstraints X #\= CclassXneqYConstraints X #\= YclassXorXor constraint - xor("constraint", B).classXorBoolConstraint ( x_0 xor x_1 xor ...classXplusCeqZConstraint X + C #= Z.classXplusClteqZConstraints X + C<= Z.classXplusYeqCConstraint X + Y #= CclassXplusYeqZConstraint X + Y = ZclassXplusYgtCConstraint X + Y> CclassXplusYlteqZConstraint X + Y=< ZFields in org.jacop.constraints declared as Constraint Modifier and Type Field Description (package private) ConstraintElement. cFields in org.jacop.constraints with type parameters of type Constraint Modifier and Type Field Description (package private) java.util.List<Constraint>AndBoolVector. constraints(package private) java.util.List<Constraint>EqBool. constraints(package private) java.util.List<Constraint>Lex. constraintsIt contains constraints of the lex constraint decomposition.(package private) java.util.List<Constraint>OrBoolVector. constraints(package private) java.util.List<Constraint>Sequence. constraints(package private) java.util.List<Constraint>Stretch. constraintsjava.util.List<Constraint>SoftAlldifferent. decompositionjava.util.List<Constraint>SoftGCC. decompositionMethods in org.jacop.constraints that return Constraint Modifier and Type Method Description static ConstraintElement. choose(IntVar index, int[] values, IntVar value)It constructs element constraint based on variables.static ConstraintElement. choose(IntVar index, int[] values, IntVar value, int shift)It constructs element constraint based on variables.static ConstraintElement. choose(IntVar index, java.util.List<? extends IntVar> variables, IntVar value)It constructs element constraint based on variables.static ConstraintElement. choose(IntVar index, java.util.List<? extends IntVar> variables, IntVar value, int shift)It constructs element constraint based on variables.static ConstraintElement. choose(IntVar index, IntVar[] variables, IntVar value)It constructs element constraint based on variables.static ConstraintElement. choose(IntVar index, IntVar[] variables, IntVar value, int shift)It constructs element constraint based on variables.ConstraintAlldistinct. getGuideConstraint()ConstraintConstraint. getGuideConstraint()It specifies a constraint which if imposed by search will enhance propagation of this constraint.ConstraintIn. getGuideConstraint()ConstraintSum. getGuideConstraint()Deprecated.ConstraintSumInt. getGuideConstraint()Methods in org.jacop.constraints that return types with arguments of type Constraint Modifier and Type Method Description java.util.List<Constraint>AndBoolVector. decompose(Store store)java.util.List<Constraint>Constraint. decompose(Store store)It returns an array list of constraint which are used to decompose this constraint.java.util.List<Constraint>EqBool. decompose(Store store)java.util.List<Constraint>Lex. decompose(Store store)java.util.List<Constraint>OrBoolVector. decompose(Store store)java.util.List<Constraint>Sequence. decompose(Store store)java.util.List<Constraint>SoftAlldifferent. decompose(Store store)java.util.List<Constraint>SoftGCC. decompose(Store store)java.util.List<Constraint>Stretch. decompose(Store store)static java.util.List<Constraint>Sequence. decomposeByRegular(Sequence sequence)Preferred and default option of decomposing Sequence constraint.java.util.List<Constraint>Lex. decomposeLE(Store store)java.util.List<Constraint>Lex. decomposeLERegular(Store store)java.util.List<Constraint>Lex. decomposeLT(Store store)java.util.List<Constraint>Lex. decomposeLTRegular(Store store)java.util.List<Constraint>SoftAlldifferent. primitiveDecomposition(Store store)java.util.List<Constraint>SoftGCC. primitiveDecomposition(Store store)Methods in org.jacop.constraints with parameters of type Constraint Modifier and Type Method Description private java.util.Set<RemoveLevelLate>Constraint. computeFixpoint(Constraint c, java.util.Set<RemoveLevelLate> fixpoint)Method parameters in org.jacop.constraints with type arguments of type Constraint Modifier and Type Method Description voidConstraint. updateAFC(java.util.Set<Constraint> allConstraints, float decay) -
Uses of Constraint in org.jacop.constraints.binpacking
Subclasses of Constraint in org.jacop.constraints.binpacking Modifier and Type Class Description classBinpackingBinpacking constraint implements bin packing problem. -
Uses of Constraint in org.jacop.constraints.cumulative
Subclasses of Constraint in org.jacop.constraints.cumulative Modifier and Type Class Description classCumulativeCumulative implements the scheduling constraint usingclassCumulativeBasicCumulativeBasic implements the cumulative constraint using time tabling algorithm.(package private) classCumulativePrimaryCumulativePrimary implements the cumulative constraint using time tabling algorithm.classCumulativeUnaryCumulativeUnary implements the scheduling constraint for unary resources using -
Uses of Constraint in org.jacop.constraints.diffn
Subclasses of Constraint in org.jacop.constraints.diffn Modifier and Type Class Description classDiffnDiffn constraint assures that any two rectangles from a vector of rectangles does not overlap in at least one direction.classNooverlapNooverlap constraint assures that any two rectangles from a vector of rectangles does not overlap in at least one direction.Fields in org.jacop.constraints.diffn with type parameters of type Constraint Modifier and Type Field Description private java.util.List<Constraint>DiffnDecomposed. constraintsMethods in org.jacop.constraints.diffn that return types with arguments of type Constraint Modifier and Type Method Description java.util.List<Constraint>DiffnDecomposed. decompose(Store store) -
Uses of Constraint in org.jacop.constraints.geost
Subclasses of Constraint in org.jacop.constraints.geost Modifier and Type Class Description classGeost -
Uses of Constraint in org.jacop.constraints.knapsack
Subclasses of Constraint in org.jacop.constraints.knapsack Modifier and Type Class Description classKnapsackIt specifies a knapsack constraint. -
Uses of Constraint in org.jacop.constraints.netflow
Subclasses of Constraint in org.jacop.constraints.netflow Modifier and Type Class Description classNetworkFlowThe network flow constraint.Fields in org.jacop.constraints.netflow with type parameters of type Constraint Modifier and Type Field Description (package private) java.util.List<Constraint>Arithmetic. decompositionMethods in org.jacop.constraints.netflow that return types with arguments of type Constraint Modifier and Type Method Description java.util.List<Constraint>Arithmetic. decompose(Store store)java.util.List<Constraint>Arithmetic. primitiveDecomposition(Store store)java.util.List<Constraint>NetworkBuilder. primitiveDecomposition(Store store)Generally speaking, especially in case of multiple arcs between two nodes and structure constraints imposed on arcs makes it hard to decompose network flow constraint into primitive ones.Method parameters in org.jacop.constraints.netflow with type arguments of type Constraint Modifier and Type Method Description private voidNetworkBuilder. sumC(java.util.List<Constraint> list, Store store, java.util.List<IntVar> vars, IntVar result) -
Uses of Constraint in org.jacop.constraints.regular
Subclasses of Constraint in org.jacop.constraints.regular Modifier and Type Class Description classRegularRegular constraint accepts only the assignment to variables which is accepted by an automaton.Fields in org.jacop.constraints.regular with type parameters of type Constraint Modifier and Type Field Description (package private) java.util.List<Constraint>Regular. constraintsMethods in org.jacop.constraints.regular that return types with arguments of type Constraint Modifier and Type Method Description java.util.List<Constraint>Regular. decompose(Store store) -
Uses of Constraint in org.jacop.constraints.replace
Methods in org.jacop.constraints.replace that return types with arguments of type Constraint Modifier and Type Method Description DecomposedConstraint<Constraint>ReifiedIfThen. replace(Reified constraint) -
Uses of Constraint in org.jacop.constraints.table
Subclasses of Constraint in org.jacop.constraints.table Modifier and Type Class Description classSimpleTableSimpleTable implements the table constraint using a method presented inclassTableTable implements the table constraint using a method presented in -
Uses of Constraint in org.jacop.core
Fields in org.jacop.core declared as Constraint Modifier and Type Field Description ConstraintStore. currentConstraintIt stores constraint which is currently re-evaluated.Constraint[][]Domain. modelConstraintsIt specifies constraints which are attached to current domain, each array has different pruning event.ConstraintStore. recentlyFailedConstraintIt stores constraint that has recently failed during store.consistency() execution.Fields in org.jacop.core with type parameters of type Constraint Modifier and Type Field Description (package private) java.util.Set<Constraint>Store. allConstraintsprivate java.util.Map<java.lang.Class<? extends Constraint>,java.util.Set<Replaceable>>Store. replacementsIt stores all the active replacements of constraints that are being applied upon constraint imposition.java.util.List<Constraint>Domain. searchConstraintsIt specifies constraints which are attached to current domain.java.util.Map<Var,java.util.Set<Constraint>>Store. watchedConstraintsThis keeps information about watched constraints by given variable.Methods in org.jacop.core that return Constraint Modifier and Type Method Description ConstraintStore. getCurrentConstraint()This function returns the constraint which is currently reevaluated.ConstraintStore. getFirstChanged()This function returns the constraint scheduled for re-evaluation.Methods in org.jacop.core that return types with arguments of type Constraint Modifier and Type Method Description java.util.List<Constraint>Domain. constraints()It returns all the constraints attached currently to the domain.java.util.Set<Constraint>Store. getConstraints()java.util.List<Constraint>Domain. searchConstraints()Methods in org.jacop.core with parameters of type Constraint Modifier and Type Method Description voidStore. addChanged(Constraint c)This function schedules given constraint for re-evaluation.voidStore. deregisterWatchedLiteralConstraint(Constraint C)Watched constraint given as parameter is being removed, no variable will be watching it.voidStore. deregisterWatchedLiteralConstraint(Var v, Constraint C)Variable given as a parameter no longer watches constraint given as parameter.voidStore. impose(Constraint c)This function imposes a constraint to a store.voidStore. impose(Constraint c, int queueIndex)This function imposes a constraint to a store.voidStore. imposeWithConsistency(Constraint c)In some special cases it may be beneficial to compute consistency of constraint store immediately after the constraint is imposed.voidStore. imposeWithConsistency(Constraint c, int queueIndex)In some special cases it may be beneficial to compute consistency of constraint store immediately after the constraint is imposed.voidBooleanVar. putConstraint(Constraint c)voidIntVar. putConstraint(Constraint c)abstract voidVar. putConstraint(Constraint c)It registers constraint with current variable, so anytime this variable is changed the constraint is reevaluated.voidBooleanVar. putModelConstraint(Constraint constraint, int pruningEvent)It registers constraint with current variable, so anytime this variable is changed the constraint is reevaluated.abstract voidDomain. putModelConstraint(int storeLevel, Var var, Constraint C, int pruningEvent)It adds a constraint to a domain, it should only be called by putConstraint function of Variable object.voidIntDomain. putModelConstraint(int storeLevel, Var var, Constraint C, int pruningEvent)It adds a constraint to a domain, it should only be called by putConstraint function of Variable object.voidIntVar. putModelConstraint(Constraint c, int pruningEvent)It registers constraint with current variable, so anytime this variable is changed the constraint is reevaluated.abstract voidVar. putModelConstraint(Constraint c, int pruningEvent)It registers constraint with current variable, so anytime this variable is changed the constraint is reevaluated.voidBooleanVar. putSearchConstraint(Constraint constraint)It registers constraint with current variable, so anytime this variable is changed the constraint is reevaluated.abstract voidDomain. putSearchConstraint(int storeLevel, Var var, Constraint C)It adds a constraint to a domain, it should only be called by putConstraint function of Variable object.voidIntDomain. putSearchConstraint(int storeLevel, Var var, Constraint C)It adds a constraint to a domain, it should only be called by putConstraint function of Variable object.voidIntVar. putSearchConstraint(Constraint c)It registers constraint with current variable, so always when this variable is changed the constraint is reevaluated.abstract voidVar. putSearchConstraint(Constraint c)It registers constraint with current variable, so always when this variable is changed the constraint is reevaluated.voidStore. registerWatchedLiteralConstraint(Var v, Constraint c)It register variable to watch given constraint.voidBooleanVar. removeConstraint(Constraint constraint)It unregisters constraint with current variable, so change in variable will not cause constraint reevaluation.voidIntVar. removeConstraint(Constraint c)It detaches constraint from the current variable, so change in variable will not cause constraint reevaluation.abstract voidVar. removeConstraint(Constraint c)It detaches constraint from the current variable, so change in variable will not cause constraint reevaluation.abstract voidDomain. removeModelConstraint(int storeLevel, Var var, Constraint c)It removes a constraint from a domain, it should only be called by removeConstraint function of Variable object.voidIntDomain. removeModelConstraint(int storeLevel, Var var, Constraint C)abstract voidDomain. removeSearchConstraint(int storeLevel, Var var, int position, Constraint c)It removes a constraint from a domain, it should only be called by removeConstraint function of Variable object.voidIntDomain. removeSearchConstraint(int storeLevel, Var var, int position, Constraint C)It removes a constraint from a domain, it should only be called by removeConstraint function of Variable object.voidIntDomain. removeSearchConstraint(int storeLevel, Var var, Constraint C)It removes a constraint from a domain, it should only be called by removeConstraint function of Variable object.(package private) voidStore. updateActivities(Constraint constraint)Method parameters in org.jacop.core with type arguments of type Constraint Modifier and Type Method Description booleanStore. deregisterReplacement(Replaceable<? extends Constraint> replacement)It makes it possible to deregister the replacement.booleanStore. registerReplacement(Replaceable<? extends Constraint> replacement)It makes it possible to register replacement for a particular constraint type. -
Uses of Constraint in org.jacop.examples.fd
Fields in org.jacop.examples.fd with type parameters of type Constraint Modifier and Type Field Description java.util.List<Constraint>MagicSquares. guidingShavingIt specifies the list of constraints which can be used for guiding shaving.java.util.List<Constraint>NonTransitiveDice. shavingConstraintsIt contains constraints which can be used for shaving guidance.Methods in org.jacop.examples.fd that return Constraint Modifier and Type Method Description static ConstraintGates. tableConstraintProviderUsingExtensionalSTR(IntVar[] vars, int[][] tuples)static ConstraintGates. tableConstraintProviderUsingSimpleTable(IntVar[] vars, int[][] tuples)Method parameters in org.jacop.examples.fd with type arguments of type Constraint Modifier and Type Method Description voidGates. and(BooleanVar in1, BooleanVar in2, BooleanVar out, java.util.function.BiFunction<IntVar[],int[][],Constraint> tableConstraintProvider)It imposes an extensional constraint enforcing an and relationship between two input parameters and an output parameter.voidGates. model(java.util.function.BiFunction<IntVar[],int[][],Constraint> tableConstraintProvider)voidGates. not(BooleanVar in, BooleanVar out, java.util.function.BiFunction<IntVar[],int[][],Constraint> tableConstraintProvider)It imposes an extensional constraint enforcing an not relationship between input parameter and an output parameter.voidGates. or(BooleanVar in1, BooleanVar in2, BooleanVar out, java.util.function.BiFunction<IntVar[],int[][],Constraint> tableConstraintProvider)It imposes an extensional constraint enforcing an or relationship between two input parameters and an output parameter.booleanExampleFD. shavingSearch(java.util.List<Constraint> guidingShaving, boolean printInfo)It searches with shaving which is guided by supplied constraints.voidGates. xor(BooleanVar in1, BooleanVar in2, BooleanVar out, java.util.function.BiFunction<IntVar[],int[][],Constraint> tableConstraintProvider)It imposes an extensional constraint enforcing an xor relationship between two input parameters and an output parameter. -
Uses of Constraint in org.jacop.examples.fd.qcp
Fields in org.jacop.examples.fd.qcp with type parameters of type Constraint Modifier and Type Field Description java.util.List<Constraint>QCP. shavingConstraintsIt contains constraints which can be used to guide shaving. -
Uses of Constraint in org.jacop.floats.constraints
Subclasses of Constraint in org.jacop.floats.constraints Modifier and Type Class Description classAbsPeqRConstraints |P| #= RclassAcosPeqRConstraints acos(P) = RclassAsinPeqRConstraints asin(P) = RclassAtanPeqRConstraints atan(P) = RclassCosPeqRConstraints cos(P) = RclassElementFloatElementFloat constraint defines a relation list[index - indexOffset] = value.classElementFloatVariableElementFloatVariable constraint defines a relation list[index - indexOffset] = value.classEquationSystemEquationSystem constraint implements the multivariate interval Newton method for pruning domains of variables in a system of non-linear equations.classExpPeqRConstraints exp(P) #= Q for P and Q floatsclassLinearFloatLinearFloat constraint implements the weighted summation over several Variable's .classLnPeqRConstraints Ln(P) #= Q for P and Q floatsclassMaxMax constraint implements the Maximum/2 constraint.classMinMin constraint implements the minimum/2 constraint.classPdivCeqRConstraint P / C = R for floatsclassPdivQeqRConstraint P / Q = R for floatsclassPeqCConstraints P #= CclassPeqQConstraints P #= Q for P and Q floatsclassPgtCConstraint P > CclassPgteqCConstraints P >= C for floatsclassPgteqQConstraints P >= Q for floatsclassPgtQConstraint P > Q for floatsclassPltCConstraint P < C for floatsclassPlteqCConstraint X <= C for floatsclassPlteqQConstraint P <= Q for floatsclassPltQConstraint P < Q for floatsclassPminusCeqRConstraint P - C = RclassPminusQeqRConstraint P - Q = RclassPmulCeqRConstraint P * C = R for floatsclassPmulQeqRConstraint P * Q = R for floatsclassPneqCConstraints P != CclassPneqQConstraints P #= Q for P and Q floatsclassPplusCeqRConstraint P + C #= RclassPplusQeqRConstraint P + Q = RclassSinPeqRConstraints sin(P) = RclassSqrtPeqRConstraint sqrt(P) = R for floatsclassSumFloatSumFloat constraint implements the weighted summation over several Variable's .classTanPeqRConstraints sin(P) = RclassXeqPConstraints X #= P for X and P floatsFields in org.jacop.floats.constraints with type parameters of type Constraint Modifier and Type Field Description (package private) java.util.List<Constraint>CosPeqR_decomposed. constraintsIt contains constraints of the CosPeqR_decomposed constraint decomposition.(package private) static java.util.Map<FloatVar,Constraint>Derivative. definitionConstraint(package private) static java.util.Set<Constraint>Derivative. derivateConstraints(package private) static java.util.Stack<Constraint>Derivative. eval(package private) java.util.Stack<Constraint>MultivariateIntervalNewton. evalMethods in org.jacop.floats.constraints that return Constraint Modifier and Type Method Description (package private) ConstraintMultivariateIntervalNewton. constraint(FloatVar v)(package private) static ConstraintDerivative. resolveConstraint(FloatVar f, java.util.List<Constraint> cs)Methods in org.jacop.floats.constraints that return types with arguments of type Constraint Modifier and Type Method Description java.util.List<Constraint>CosPeqR_decomposed. decompose(Store store)static java.util.Set<Constraint>Derivative. derivativeConstraints()Methods in org.jacop.floats.constraints with parameters of type Constraint Modifier and Type Method Description static voidDerivative. defineConstraint(FloatVar f, Constraint c)(package private) static voidDerivative. poseDerivativeConstraint(Constraint c)Method parameters in org.jacop.floats.constraints with type arguments of type Constraint Modifier and Type Method Description (package private) static ConstraintDerivative. resolveConstraint(FloatVar f, java.util.List<Constraint> cs) -
Uses of Constraint in org.jacop.floats.constraints.linear
Subclasses of Constraint in org.jacop.floats.constraints.linear Modifier and Type Class Description classLinearLinear constraint implements the weighted summation over several Variable's . -
Uses of Constraint in org.jacop.floats.core
Methods in org.jacop.floats.core with parameters of type Constraint Modifier and Type Method Description voidFloatVar. putConstraint(Constraint c)voidFloatDomain. putModelConstraint(int storeLevel, Var var, Constraint C, int pruningEvent)It adds a constraint to a domain, it should only be called by putConstraint function of Variable object.voidFloatVar. putModelConstraint(Constraint c, int pruningEvent)It registers constraint with current variable, so anytime this variable is changed the constraint is reevaluated.voidFloatIntervalDomain. putSearchConstraint(int storeLevel, Var var, Constraint C)It adds a constraint to a domain, it should only be called by putConstraint function of Variable object.voidFloatVar. putSearchConstraint(Constraint c)It registers constraint with current variable, so always when this variable is changed the constraint is reevaluated.voidFloatVar. removeConstraint(Constraint c)It detaches constraint from the current variable, so change in variable will not cause constraint reevaluation.voidFloatDomain. removeModelConstraint(int storeLevel, Var var, Constraint C)voidFloatIntervalDomain. removeSearchConstraint(int storeLevel, Var var, int position, Constraint C)It removes a constraint from a domain, it should only be called by removeConstraint function of Variable object.voidFloatIntervalDomain. removeSearchConstraint(int storeLevel, Var var, Constraint C)It removes a constraint from a domain, it should only be called by removeConstraint function of Variable object. -
Uses of Constraint in org.jacop.fz
Methods in org.jacop.fz with parameters of type Constraint Modifier and Type Method Description (package private) voidSolve. pose(Constraint c)(package private) voidVariablesParameters. pose(Store store, Constraint c) -
Uses of Constraint in org.jacop.fz.constraints
Fields in org.jacop.fz.constraints with type parameters of type Constraint Modifier and Type Field Description (package private) java.util.ArrayList<Constraint>Support. delayedConstraintsMethods in org.jacop.fz.constraints that return Constraint Modifier and Type Method Description (package private) ConstraintComparisonConstraints. fzXeqCImplied(IntVar x, java.lang.Integer c, IntVar b)(package private) ConstraintComparisonConstraints. fzXeqCReified(IntVar x, java.lang.Integer c, IntVar b)Methods in org.jacop.fz.constraints with parameters of type Constraint Modifier and Type Method Description (package private) voidSupport. pose(Constraint c) -
Uses of Constraint in org.jacop.satwrapper
Subclasses of Constraint in org.jacop.satwrapper Modifier and Type Class Description classSatWrapperwrapper to communicate between SAT solver and CP solver.Methods in org.jacop.satwrapper with parameters of type Constraint Modifier and Type Method Description voidSatWrapper. impose(Constraint constraint)add the constraint to the wrapper (ie, constraint.imposeToSat(this)) -
Uses of Constraint in org.jacop.search
Fields in org.jacop.search declared as Constraint Modifier and Type Field Description (package private) ConstraintDepthFirstSearch. costIt represents the constraint which enforces that next solution is better than currently best solution.(package private) ConstraintShaving. recentlyFailedConstraintFields in org.jacop.search with type parameters of type Constraint Modifier and Type Field Description (package private) java.util.List<Constraint>Shaving. shavingConstraintsIt contains list of constraints which suggest shaving explorations.Methods in org.jacop.search with parameters of type Constraint Modifier and Type Method Description voidShaving. addShavingConstraint(Constraint c)It adds shaving constraint to the list of constraints guiding shaving.(package private) voidFailConstraintsStatistics. collectFailStatistics(Constraint currentConstraint) -
Uses of Constraint in org.jacop.set.constraints
Subclasses of Constraint in org.jacop.set.constraints Modifier and Type Class Description classAdiffBeqCIt creates a constraints that subtracts from set variable A the elements from of the set variable B and assigns the result to set variable C.classAdisjointBThe disjoint set constraint makes sure that two set variables do not contain any common element.classAeqBIt creates an equality constraint to make sure that two set variables have the same value.classAeqSIt creates an equality constraint to make sure that a set variable is equal to a given set.classAinBIt creates a constraint that makes sure that the set value of set variable A is included in the set value of set variable B.classAinSIt creates a constraint that makes sure that value of the variable A is included within a provided set.classAintersectBeqCIt creates a constraint that makes sure that A intersected with B is equal to C.classAleBIt creates a <= b constraint on two set variables.classAltBIt creates a < b constraint on two set variables.classAunionBeqCIt creates a constraint that makes sure that A union B is equal to C.classCardAThe set cardinality constraint.classCardAeqXThe set cardinality constraint.classEinAIt constructs a constraint which makes sure that a given element is in the domain of the set variable.classElementSetIt is an element constraint that make sure that set variable value has a domain equal to the index-th element of the supplied list of sets.classElementSetVariableElementSetVariable constraint defines a relation list[index - indexOffset] = value.classLexDeprecated.As of release 4.5.1 replaced by AltB and AleB constraints.classMatchThis constraint matches the elements of the given set variable onto a list of integer variables.classSinAIt creates an inclusion set constraint to make sure that provided set is included in a set variable a.classSumWeightedSetIt computes a weighted sum of the elements in the domain of the given set variable.classXeqAIt creates a constraint that makes sure that the value assigned to the integer variable x is the only element of the set assigned to a set variable a.classXinAIt creates a constraint that makes sure that the value assigned to integer variable x is included in the set assigned to the set variable a. -
Uses of Constraint in org.jacop.set.core
Methods in org.jacop.set.core with parameters of type Constraint Modifier and Type Method Description voidSetVar. putConstraint(Constraint c)voidSetDomain. putModelConstraint(int storeLevel, Var var, Constraint C, int pruningEvent)It adds a constraint to a domain, it should only be called by putConstraint function of Variable object.voidSetVar. putModelConstraint(Constraint c, int pruningEvent)It registers constraint with current variable, so anytime this variable is changed the constraint is reevaluated.voidSetDomain. putSearchConstraint(int storeLevel, Var var, Constraint C)It adds a constraint to a domain, it should only be called by putConstraint function of Variable object.voidSetVar. putSearchConstraint(Constraint c)It registers constraint with current variable, so always when this variable is changed the constraint is reevaluated.voidSetVar. removeConstraint(Constraint c)It detaches constraint from the current variable, so change in variable will not cause constraint reevaluation.voidSetDomain. removeModelConstraint(int storeLevel, Var var, Constraint C)It removes a constraint from a domain, it should only be called by removeConstraint function of Variable object.voidSetDomain. removeSearchConstraint(int storeLevel, Var var, int position, Constraint C)It removes a constraint from a domain, it should only be called by removeConstraint function of Variable object. -
Uses of Constraint in org.jacop.util
Classes in org.jacop.util with type parameters of type Constraint Modifier and Type Class Description classQueueForward<T extends Constraint>Utility class that allows for constraints like Xor, Reified, etc that take other constraints as parameters to forward any changes of variables to the constraints that were provided as arguments.Constructors in org.jacop.util with parameters of type Constraint Constructor Description QueueForward(T[] constraints, java.util.Collection<Var> vars)QueueForward(T[] constraints, Var[] vars)
-