Uses of Interface
org.xcsp.modeler.api.ProblemAPIBase.Occurrences
-
Packages that use ProblemAPIBase.Occurrences Package Description org.xcsp.modeler.api -
-
Uses of ProblemAPIBase.Occurrences in org.xcsp.modeler.api
Classes in org.xcsp.modeler.api that implement ProblemAPIBase.Occurrences Modifier and Type Class Description static classProblemAPIBase.Occurrences.OccurrencesIntstatic classProblemAPIBase.Occurrences.OccurrencesInt1Dstatic classProblemAPIBase.Occurrences.OccurrencesIntRangestatic classProblemAPIBase.Occurrences.OccurrencesIntRange1Dstatic classProblemAPIBase.Occurrences.OccurrencesVar1DMethods in org.xcsp.modeler.api that return ProblemAPIBase.Occurrences Modifier and Type Method Description default ProblemAPIBase.OccurrencesProblemAPIBase. occurBetween(int[] occursMin, int[] occursMax)Returns an objectOccurrencesthat represents the respective bounds about the number of times each value of a given set in a certain context (when posting a constraintcardinality) must occur.default ProblemAPIBase.OccurrencesProblemAPIBase. occurExactly(int... occurs)Returns an objectOccurrencesthat represents the respective number of times each value of a given set in a certain context (when posting a constraintcardinality) must occur.default ProblemAPIBase.OccurrencesProblemAPIBase. occurExactly(IVar.Var... occurs)Returns an objectOccurrencesthat represents the respective numbers of times each value of a given set in a certain context (when posting a constraintcardinality) must occur.default ProblemAPIBase.OccurrencesProblemAPIBase. occurrences(int... occurs)Deprecated.default ProblemAPIBase.OccurrencesProblemAPIBase. occurrences(IVar.Var... occurs)Deprecated.default ProblemAPIBase.OccurrencesProblemAPIBase. occursBetween(int[] occursMin, int[] occursMax)Deprecated.default ProblemAPIBase.OccurrencesProblemAPIBase. occursEachBetween(int occursMin, int occursMax)Returns an objectOccurrencesthat represents the bounds about the number of times each value of a given set in a certain context (when posting a constraintcardinality) must occur each.default ProblemAPIBase.OccurrencesProblemAPIBase. occursEachExactly(int occurs)Returns an objectOccurrencesthat represents the number of times each value of a given set in a certain context (when posting a constraintcardinality) must occur.Methods in org.xcsp.modeler.api with parameters of type ProblemAPIBase.Occurrences Modifier and Type Method Description default CtrEntities.CtrEntityProblemAPI. cardinality(IVar.Var[] list, int[] values, boolean mustBeClosed, ProblemAPIBase.Occurrences occurrences)Builds a constraintcardinalityfrom the specified arguments: when considering the sequence of values assigned to the variables oflist, each integer invaluesat indeximust occur a number of timesk_ithat respects the conditions imposed by the objectOccurrences.default CtrEntities.CtrEntityProblemAPI. cardinality(IVar.Var[] list, int[] values, ProblemAPIBase.Occurrences occurrences)Builds a constraintcardinalityfrom the specified arguments: when considering the sequence of values assigned to the variables oflist, each integer invaluesat indeximust occur a number of timesk_ithat respects the conditions imposed by the objectOccurrences.default CtrEntities.CtrEntityProblemAPI. cardinality(IVar.Var[] list, IVar.Var[] values, boolean mustBeClosed, ProblemAPIBase.Occurrences occurrences)Builds a constraintcardinalityfrom the specified arguments: when considering the sequence of values assigned to the variables oflist, each integer invaluesat indeximust occur a number of timesk_ithat respects the conditions imposed by the objectOccurrences.default CtrEntities.CtrEntityProblemAPI. cardinality(IVar.Var[] list, IVar.Var[] values, ProblemAPIBase.Occurrences occurs)Builds a constraintcardinalityfrom the specified arguments: when considering the sequence of values assigned to the variables oflist, each integer invaluesat indeximust occur a number of timesk_ithat respects the conditions imposed by the objectOccurrences.default CtrEntities.CtrEntityProblemAPI. cardinality(IVar.Var[] list, Range values, ProblemAPIBase.Occurrences occurrences)Builds a constraintcardinalityfrom the specified arguments: when considering the sequence of values assigned to the variables oflist, each integer in the rangevaluesat indeximust occur a number of timesk_ithat respects the conditions imposed by the objectOccurrences.
-