Uses of Class
org.jacop.constraints.Constraint
Packages that use Constraint
Package
Description
-
Uses of Constraint in org.jacop.api
Classes in org.jacop.api with type parameters of type ConstraintModifier and TypeInterfaceDescriptioninterfaceReplaceable<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 ConstraintModifier and TypeMethodDescription -
Uses of Constraint in org.jacop.constraints
Classes in org.jacop.constraints with type parameters of type ConstraintModifier and TypeClassDescriptionclassDecomposedConstraint<T extends Constraint>Standard unified interface/abstract class for constraints, which can only be decomposed.Subclasses of Constraint in org.jacop.constraintsModifier and TypeClassDescriptionclassConstraints |X| #= YclassAlldiff constraint assures that all FDVs has different values.classAlldifferent constraint assures that all FDVs has differnet values.classAlldistinct constraint assures that all FDVs have different values.classConstraints forall i != j: x[i] #= x[j]classAmong constraint in its simplest form.classAmong constraint in its general form.classConstraint c1 /\ c2 ...classIf both a and b are equal 1 then result variable is equal 1 too.classclassArgMax constraint provides the index of the maximum variable from all variables on the list.classArgMin constraint provides the index of the maximum variable from all variables on the list.classAssignment constraint implements facility to improve channeling constraints between dual viewpoints of permutation models.classclassclassI defines a boolean clause for 0/1 variables x_i and y_i.classChannelImply constraints "B => constraint".classChannelReif constraints "constraint" <=> B.classCircuit constraint assures that all variables build a Hamiltonian circuit.classConditional constraint implements conditional constraint satisfiability.classCount constraint implements the counting over number of occurrences of a given value in a list of variables.classCountBounds constraint implements the counting over number of occurrences of a given value in a list of variables.classclassCountValuesBounds constraint implements the counting over numbers of occurrences of a given vector of values in a list of variables.classclassCumulative implements the cumulative/4 constraint using edge-finding algorithm and profile information on the resource use.classDecreasing constraint assures that all variables are in decreasing order.classDiff constraint assures that any two rectangles from a vector of rectangles does not overlap in at least one direction.classDiff2 constraint assures that any two rectangles from a vector of rectangles does not overlap in at least one direction.classDisjoint constraint assures that any two rectangles from a vector of rectangles does not overlap in at least one direction.classDisjointConditional constraint assures that any two rectangles from a vector of rectangles does not overlap in at least one direction.classConstraint |X - Y| #= ZclassElement constraint implements the element/4 constraint (both with integer list and variables list).classElementInteger constraint defines a relation list[index - indexOffset] = value.classclassElementVariable constraint defines a relation list[index - indexOffset] = value.classclassConstraint "constraint1"#<=> "constraint2"classIf all x's are equal to each other then result variable is equal 1.classExtensional constraint assures that none of the tuples explicitly given is enforced in the relation.classExtensional constraint assures that one of the tuples is enforced in the relation.classExtensional constraint assures that one of the tuples is enforced in the relation.classExtensional constraint assures that one of the tuples is enforced in the relation.classGCC constraint counts the number of occurences of given values in x variables.classConstraint if constraint1 then constraint2classConstraint ( X => Y ) <=> Z.classConstraint if constraint1 then constraint2 else constraint3 *classclassConstraints X to belong to a specified domain.classIncreasing constraint assures that all variables are in increasing order.classIt constructs a LexOrder (lexicographical order) constraint.classDeprecated.As of release 4.3.1 replaced by LinearInt constraint.classclassLinearIntDom constraint implements the weighted summation over several variables.classMax constraint implements the Maximum/2 constraint.classMaxSimple constraint implements the Maximum/2 constraint.classMember constraint implements the membership of element e on list x.classMin constraint implements the minimum/2 constraint.classMinSimple constraint implements the minimum/2 constraint.classNoGood constraints implements a constraint which disallows given combination of values for given variables.classConstraint "not costraint"classConstraint c1 \/ c2 \/ ...classIf at least one variable is equal 1 then result variable is equal 1 too.classIf at least one variable from the list is equal 1 then result variable is equal 1 too.classStandard unified interface for all primitive constraints.classclassclassSubcircuit constraint assures that all variables build a subcircuit.classclassclassSumInt constraint implements the summation over several variables.classclassDeprecated.As of release 4.3.1 replaced by LinearIntDom constraint.classclassConstraint Values counts number of different values on a list of Variables.classVariableTrace is a daemon that prints information on variables whenever they are changed.classConstraint X div Y #= ZclassclassConstraints X #= YclassConstraint X ^ Y #= ZclassConstraint X > CclassConstraints X >= CclassConstraints X >= YclassConstraint X > YclassConstraint X < CclassConstraint X <= CclassConstraint X <= YclassConstraint X < YclassclassclassConstraint X * Y #= CclassclassclassConstraints X #\= YclassXor constraint - xor("constraint", B).classConstraint ( x_0 xor x_1 xor ...classConstraint X + C #= Z.classConstraints X + C<= Z.classConstraint X + Y #= CclassConstraint X + Y = ZclassConstraint X + Y> CclassConstraint X + Y=< ZFields in org.jacop.constraints declared as ConstraintFields in org.jacop.constraints with type parameters of type ConstraintModifier and TypeFieldDescription(package private) List<Constraint> AndBoolVector.constraints(package private) List<Constraint> EqBool.constraintsprotected List<Constraint> Increasing.constraints(package private) List<Constraint> Lex.constraintsIt contains constraints of the lex constraint decomposition.(package private) List<Constraint> OrBoolVector.constraints(package private) List<Constraint> Sequence.constraints(package private) List<Constraint> Stretch.constraintsSoftAlldifferent.decompositionSoftGCC.decompositionMethods in org.jacop.constraints that return ConstraintModifier and TypeMethodDescriptionstatic ConstraintIt constructs element constraint based on variables.static ConstraintIt constructs element constraint based on variables.static ConstraintIt constructs element constraint based on variables.static ConstraintIt constructs element constraint based on variables.static ConstraintIt constructs element constraint based on variables.static ConstraintIt constructs element constraint based on variables.Alldistinct.getGuideConstraint()Constraint.getGuideConstraint()It specifies a constraint which if imposed by search will enhance propagation of this constraint.In.getGuideConstraint()Sum.getGuideConstraint()SumInt.getGuideConstraint()Methods in org.jacop.constraints that return types with arguments of type ConstraintModifier and TypeMethodDescriptionIt returns an array list of constraint which are used to decompose this constraint.static List<Constraint> Sequence.decomposeByRegular(Sequence sequence) Preferred and default option of decomposing Sequence constraint.Lex.decomposeLE(Store store) Lex.decomposeLERegular(Store store) Lex.decomposeLT(Store store) Lex.decomposeLTRegular(Store store) SoftAlldifferent.primitiveDecomposition(Store store) SoftGCC.primitiveDecomposition(Store store) Methods in org.jacop.constraints with parameters of type ConstraintModifier and TypeMethodDescriptionprivate Set<RemoveLevelLate> Constraint.computeFixpoint(Constraint c, Set<RemoveLevelLate> fixpoint) Method parameters in org.jacop.constraints with type arguments of type ConstraintModifier and TypeMethodDescriptionvoidConstraint.updateAFC(Set<Constraint> allConstraints, double decay) -
Uses of Constraint in org.jacop.constraints.binpacking
Subclasses of Constraint in org.jacop.constraints.binpackingModifier and TypeClassDescriptionclassBinpacking constraint implements bin packing problem. -
Uses of Constraint in org.jacop.constraints.cumulative
Subclasses of Constraint in org.jacop.constraints.cumulativeModifier and TypeClassDescriptionclassclassclass(package private) classclassclass -
Uses of Constraint in org.jacop.constraints.diffn
Subclasses of Constraint in org.jacop.constraints.diffnModifier and TypeClassDescriptionclassDiffn constraint assures that any two rectangles from a vector of rectangles does not overlap in at least one direction.classNooverlap 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 ConstraintModifier and TypeFieldDescriptionprotected List<Constraint> Diffn.constraintsprotected List<Constraint> DiffnDecomposed.constraintsMethods in org.jacop.constraints.diffn that return types with arguments of type ConstraintModifier and TypeMethodDescription -
Uses of Constraint in org.jacop.constraints.geost
Subclasses of Constraint in org.jacop.constraints.geost -
Uses of Constraint in org.jacop.constraints.knapsack
Subclasses of Constraint in org.jacop.constraints.knapsack -
Uses of Constraint in org.jacop.constraints.netflow
Subclasses of Constraint in org.jacop.constraints.netflowFields in org.jacop.constraints.netflow with type parameters of type ConstraintMethods in org.jacop.constraints.netflow that return types with arguments of type ConstraintModifier and TypeMethodDescriptionArithmetic.primitiveDecomposition(Store store) 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 -
Uses of Constraint in org.jacop.constraints.regular
Subclasses of Constraint in org.jacop.constraints.regularModifier and TypeClassDescriptionclassRegular constraint accepts only the assignment to variables which is accepted by an automaton.Fields in org.jacop.constraints.regular with type parameters of type ConstraintMethods in org.jacop.constraints.regular that return types with arguments of type Constraint -
Uses of Constraint in org.jacop.constraints.replace
Methods in org.jacop.constraints.replace that return types with arguments of type ConstraintModifier and TypeMethodDescription -
Uses of Constraint in org.jacop.constraints.table
Subclasses of Constraint in org.jacop.constraints.tableModifier and TypeClassDescriptionclassSimpleTable implements the table constraint using a method presented inclassTable implements the table constraint using a method presented in -
Uses of Constraint in org.jacop.core
Fields in org.jacop.core declared as ConstraintModifier and TypeFieldDescriptionStore.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.Store.recentlyFailedConstraintIt stores constraint that has recently failed during store.consistency() execution.Fields in org.jacop.core with type parameters of type ConstraintModifier and TypeFieldDescription(package private) Set<Constraint> Store.allConstraintsprivate Map<Class<? extends Constraint>, Set<Replaceable>> Store.replacementsIt stores all the active replacements of constraints that are being applied upon constraint imposition.Domain.searchConstraintsIt specifies constraints which are attached to current domain.Map<Var, Set<Constraint>> Store.watchedConstraintsThis keeps information about watched constraints by given variable.Methods in org.jacop.core with type parameters of type ConstraintModifier and TypeMethodDescription<T extends Constraint>
voidStore.imposeDecomposition(DecomposedConstraint<T> c) This function imposes a decomposable constraint to a store.<T extends Constraint>
voidStore.imposeDecomposition(DecomposedConstraint<T> c, int queueIndex) This function imposes a constraint decomposition to a store.<T extends Constraint>
voidIn some special cases it may be beneficial to compute consistency of constraint store immediately after the decomposed constraint is imposed.Methods in org.jacop.core that return ConstraintModifier and TypeMethodDescriptionStore.getCurrentConstraint()This function returns the constraint which is currently reevaluated.Store.getFirstChanged()This function returns the constraint scheduled for re-evaluation.Methods in org.jacop.core that return types with arguments of type ConstraintModifier and TypeMethodDescriptionDomain.constraints()It returns all the constraints attached currently to the domain.Store.getConstraints()Domain.searchConstraints()Methods in org.jacop.core with parameters of type ConstraintModifier and TypeMethodDescriptionvoidStore.addChanged(Constraint c) This function schedules given constraint for re-evaluation.voidWatched 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 ConstraintModifier and TypeMethodDescriptionbooleanStore.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 ConstraintModifier and TypeFieldDescriptionMagicSquares.guidingShavingIt specifies the list of constraints which can be used for guiding shaving.NonTransitiveDice.shavingConstraintsIt contains constraints which can be used for shaving guidance.Methods in org.jacop.examples.fd that return ConstraintModifier and TypeMethodDescriptionstatic 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 ConstraintModifier and TypeMethodDescriptionvoidGates.and(BooleanVar in1, BooleanVar in2, BooleanVar out, BiFunction<IntVar[], int[][], Constraint> tableConstraintProvider) It imposes an extensional constraint enforcing an and relationship between two input parameters and an output parameter.voidGates.model(BiFunction<IntVar[], int[][], Constraint> tableConstraintProvider) voidGates.not(BooleanVar in, BooleanVar out, 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, BiFunction<IntVar[], int[][], Constraint> tableConstraintProvider) It imposes an extensional constraint enforcing an or relationship between two input parameters and an output parameter.booleanExampleFD.shavingSearch(List<Constraint> guidingShaving, boolean printInfo) It searches with shaving which is guided by supplied constraints.voidGates.xor(BooleanVar in1, BooleanVar in2, BooleanVar out, 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 ConstraintModifier and TypeFieldDescriptionIt contains constraints which can be used to guide shaving. -
Uses of Constraint in org.jacop.floats.constraints
Subclasses of Constraint in org.jacop.floats.constraintsModifier and TypeClassDescriptionclassConstraints |P| #= RclassConstraints acos(P) = RclassConstraints asin(P) = RclassConstraints atan(P) = RclassConstraints ceil(P) #= X for integer variable X and float variable P.classConstraints cos(P) = RclassElementFloat constraint defines a relation list[index - indexOffset] = value.classElementFloatVariable constraint defines a relation list[index - indexOffset] = value.classEquationSystem constraint implements the multivariate interval Newton method for pruning domains of variables in a system of non-linear equations.classConstraints exp(P) #= Q for P and Q floatsclassConstraints floor(P) #= X for integer variable X and float variable P.classLinearFloat constraint implements the weighted summation over several Variable's .classConstraints Ln(P) #= Q for P and Q floatsclassMax constraint implements the Maximum/2 constraint.classMin constraint implements the minimum/2 constraint.classConstraint P / C = R for floatsclassConstraint P / Q = R for floatsclassConstraints P #= CclassConstraints P #= Q for P and Q floatsclassConstraint P > CclassConstraints P >= C for floatsclassConstraints P >= Q for floatsclassConstraint P > Q for floatsclassConstraint P < C for floatsclassConstraint X <= C for floatsclassConstraint P <= Q for floatsclassConstraint P < Q for floatsclassConstraint P - C = RclassConstraint P - Q = RclassConstraint P * C = R for floatsclassConstraint P * Q = R for floatsclassConstraints P != CclassConstraints P #= Q for P and Q floatsclassConstraint P + C #= RclassConstraint P + Q = RclassConstraints round(P) #= X for integer variable X and float variable P.classConstraints sin(P) = RclassConstraint sqrt(P) = R for floatsclassSumFloat constraint implements the weighted summation over several Variable's .classConstraints sin(P) = RclassConstraints X #= P for X and P floatsFields in org.jacop.floats.constraints with type parameters of type ConstraintModifier and TypeFieldDescription(package private) List<Constraint> CosPeqR_decomposed.constraintsIt contains constraints of the CosPeqR_decomposed constraint decomposition.(package private) static Map<FloatVar, Constraint> Derivative.definitionConstraint(package private) static Set<Constraint> Derivative.derivateConstraints(package private) static Stack<Constraint> Derivative.eval(package private) Stack<Constraint> MultivariateIntervalNewton.evalMethods in org.jacop.floats.constraints that return ConstraintModifier and TypeMethodDescription(package private) ConstraintMultivariateIntervalNewton.constraint(FloatVar v) (package private) static ConstraintDerivative.resolveConstraint(FloatVar f, List<Constraint> cs) Methods in org.jacop.floats.constraints that return types with arguments of type ConstraintModifier and TypeMethodDescriptionstatic final Set<Constraint> Derivative.derivativeConstraints()Methods in org.jacop.floats.constraints with parameters of type ConstraintModifier and TypeMethodDescriptionstatic voidDerivative.defineConstraint(FloatVar f, Constraint c) (package private) static final voidDerivative.poseDerivativeConstraint(Constraint c) Method parameters in org.jacop.floats.constraints with type arguments of type ConstraintModifier and TypeMethodDescription(package private) static ConstraintDerivative.resolveConstraint(FloatVar f, List<Constraint> cs) -
Uses of Constraint in org.jacop.floats.constraints.linear
Subclasses of Constraint in org.jacop.floats.constraints.linearModifier and TypeClassDescriptionclassLinear 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 ConstraintModifier and TypeMethodDescriptionvoidFloatVar.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 ConstraintModifier and TypeMethodDescription(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 ConstraintModifier and TypeFieldDescription(package private) ArrayList<Constraint> Support.delayedConstraintsMethods in org.jacop.fz.constraints with type parameters of type ConstraintModifier and TypeMethodDescription(package private) <T extends Constraint>
voidGraphConstraints.gen_jacop_graph_isomorphism(SimpleNode node) (package private) <T extends Constraint>
voidSupport.poseDC(DecomposedConstraint<T> c) Methods in org.jacop.fz.constraints that return ConstraintModifier and TypeMethodDescription(package private) ConstraintSupport.fzXeqCImplied(IntVar x, int c, IntVar b) (package private) ConstraintSupport.fzXeqCReified(IntVar x, int c, IntVar b) (package private) ConstraintSupport.fzXneqCImplied(IntVar x, int c, IntVar b) (package private) ConstraintSupport.fzXneqCReified(IntVar x, int c, IntVar b) Methods in org.jacop.fz.constraints with parameters of type Constraint -
Uses of Constraint in org.jacop.satwrapper
Subclasses of Constraint in org.jacop.satwrapperModifier and TypeClassDescriptionfinal classwrapper to communicate between SAT solver and CP solver.Methods in org.jacop.satwrapper with parameters of type ConstraintModifier and TypeMethodDescriptionfinal 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 ConstraintModifier and TypeFieldDescription(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 ConstraintModifier and TypeFieldDescription(package private) List<Constraint> Shaving.shavingConstraintsIt contains list of constraints which suggest shaving explorations.Methods in org.jacop.search with parameters of type ConstraintModifier and TypeMethodDescriptionvoidShaving.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.constraintsModifier and TypeClassDescriptionclassIt 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.classThe disjoint set constraint makes sure that two set variables do not contain any common element.classIt creates an equality constraint to make sure that two set variables have the same value.classIt creates an equality constraint to make sure that a set variable is equal to a given set.classIt creates a constraint that makes sure that the set value of set variable A is included in the set value of set variable B.classIt creates a constraint that makes sure that value of the variable A is included within a provided set.classIt creates a constraint that makes sure that A intersected with B is equal to C.classIt creates a <= b constraint on two set variables.classIt creates a < b constraint on two set variables.classIt creates a constraint that makes sure that A union B is equal to C.classThe set cardinality constraint.classThe set cardinality constraint.classChannel constraint reqires the array of Booleans b to be a representation of the set s: i in s <-> b[i].classChannel constraint requires that array of int variables x and array of set variables y are related such that (x[i] = j) <-> (i in s[j]).classIt constructs a constraint which makes sure that a given element is in the domain of the set variable.classIt 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.classElementSetVariable constraint defines a relation list[index - indexOffset] = value.classDeprecated.As of release 4.5.1 replaced by AltB and AleB constraints.classThis constraint matches the elements of the given set variable onto a list of integer variables.classChannel constraint requires that array of int variables x and array of set variables y are related such that (x[i] = j) <-> (i in s[j]).classIt creates an inclusion set constraint to make sure that provided set is included in a set variable a.classIt computes a weighted sum of the elements in the domain of the given set variable.classIt 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.classIt 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 ConstraintModifier and TypeMethodDescriptionvoidSetVar.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 ConstraintModifier and TypeClassDescriptionclassQueueForward<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 ConstraintModifierConstructorDescriptionQueueForward(T[] constraints, Collection<Var> vars) QueueForward(T[] constraints, Var[] vars)