|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|
A cloneable version of the SoftGCC constraint. More...

Classes | |
| class | SoftGCCBuilderCloneable |
| A NetworkBuilder for SoftGCCCloneable. More... | |
Public Member Functions | |
| SoftGCCCloneable (IntVarCloneable[] xVars, IntVarCloneable[] hardCounters, IntVarCloneable[] softCounters, IntVarCloneable costVar, ViolationMeasure violationMeasure) | |
| It specifies soft-GCC constraint. | |
| SoftGCCCloneable (IntVarCloneable[] xVars, IntVarCloneable[] hardCounters, int[] countedValue, IntVarCloneable[] softCounters, IntVarCloneable costVar, ViolationMeasure violationMeasure) | |
| It specifies soft-GCC constraint. | |
| SoftGCCCloneable (IntVarCloneable[] xVars, IntVarCloneable[] hardCounters, int[] softLowerBound, int[] softUpperBound, IntVarCloneable costVar, ViolationMeasure violationMeasure) | |
| It specifies soft-GCC constraint. | |
| SoftGCCCloneable (IntVarCloneable[] xVars, int[] hardLowerBound, int[] hardUpperBound, IntVarCloneable[] softCounters, IntVarCloneable costVar, ViolationMeasure violationMeasure) | |
| It specifies soft-GCC constraint. | |
| SoftGCCCloneable (IntVarCloneable[] xVars, IntVarCloneable[] hardCounters, int[] countedValue, int[] softLowerBound, int[] softUpperBound, IntVarCloneable costVar, ViolationMeasure violationMeasure) | |
| It specifies soft-GCC constraint. | |
| SoftGCCCloneable (IntVarCloneable[] xVars, int[] hardLowerBound, int[] hardUpperBound, int[] countedValue, IntVarCloneable[] softCounters, IntVarCloneable costVar, ViolationMeasure violationMeasure) | |
| It specifies soft-GCC constraint. | |
| SoftGCCCloneable | cloneInto (StoreCloneable targetStore) throws FailException |
| List< IntVar > | arguments () |
| String | id () |
| List< Constraint > | decompose (Store store) |
| Public Member Functions inherited from org.jacop.constraints.ConstraintCloneableInterface< SoftGCCCloneable > | |
| abstract C | cloneInto (StoreCloneable targetStore) throws CloneNotSupportedException, FailException |
| Creates a new constraint that is a (state-less) clone of this one, but expressed on the variables with the same names found in the input store. | |
Private Attributes | |
| final String | id |
| This constraint's ID/name. | |
Static Private Attributes | |
| static int | idNbr = 0 |
| Used to increment the id of constraints. | |
A cloneable version of the SoftGCC constraint.
| org.jacop.constraints.SoftGCCCloneable.SoftGCCCloneable | ( | IntVarCloneable[] | xVars, |
| IntVarCloneable[] | hardCounters, | ||
| IntVarCloneable[] | softCounters, | ||
| IntVarCloneable | costVar, | ||
| ViolationMeasure | violationMeasure ) |
It specifies soft-GCC constraint.
| xVars | variables over which counting takes place. |
| hardCounters | counter variables for different values being counted. (hard) |
| softCounters | counter variables that may be violated. |
| costVar | a cost variable specifying the cost of violations. |
| violationMeasure | it is only accepted to use Value_Based violation measure. |
References idNbr.
Referenced by cloneInto().
| org.jacop.constraints.SoftGCCCloneable.SoftGCCCloneable | ( | IntVarCloneable[] | xVars, |
| IntVarCloneable[] | hardCounters, | ||
| int[] | countedValue, | ||
| IntVarCloneable[] | softCounters, | ||
| IntVarCloneable | costVar, | ||
| ViolationMeasure | violationMeasure ) |
It specifies soft-GCC constraint.
| xVars | variables over which counting takes place. |
| hardCounters | counter variables for different values being counted. (hard) |
| countedValue | it specifies values which occurrence is being counted. |
| softCounters | counter variables for different values being counted. (soft) |
| costVar | a cost variable specifying the cost of violations. |
| violationMeasure | it is only accepted to use Value_Based violation measure. |
References idNbr.
| org.jacop.constraints.SoftGCCCloneable.SoftGCCCloneable | ( | IntVarCloneable[] | xVars, |
| IntVarCloneable[] | hardCounters, | ||
| int[] | softLowerBound, | ||
| int[] | softUpperBound, | ||
| IntVarCloneable | costVar, | ||
| ViolationMeasure | violationMeasure ) |
It specifies soft-GCC constraint.
| xVars | variables over which counting takes place. |
| hardCounters | counter variables for different values being counted. (hard) |
| softLowerBound | it specifies constraint what is the minimal number of occurrences. (soft) |
| softUpperBound | it specifies constraint what is the maximal number of occurrences. (soft) |
| costVar | a cost variable specifying the cost of violations. |
| violationMeasure | it is only accepted to use Value_Based violation measure. |
References idNbr.
| org.jacop.constraints.SoftGCCCloneable.SoftGCCCloneable | ( | IntVarCloneable[] | xVars, |
| int[] | hardLowerBound, | ||
| int[] | hardUpperBound, | ||
| IntVarCloneable[] | softCounters, | ||
| IntVarCloneable | costVar, | ||
| ViolationMeasure | violationMeasure ) |
It specifies soft-GCC constraint.
| xVars | variables over which counting takes place. |
| hardLowerBound | it specifies constraint what is the minimal number of occurrences. (hard) |
| hardUpperBound | it specifies constraint what is the maximal number of occurrences. (hard) |
| softCounters | counter variables for different values being counted. (soft) |
| costVar | a cost variable specifying the cost of violations. |
| violationMeasure | it is only accepted to use Value_Based violation measure. |
References idNbr.
| org.jacop.constraints.SoftGCCCloneable.SoftGCCCloneable | ( | IntVarCloneable[] | xVars, |
| IntVarCloneable[] | hardCounters, | ||
| int[] | countedValue, | ||
| int[] | softLowerBound, | ||
| int[] | softUpperBound, | ||
| IntVarCloneable | costVar, | ||
| ViolationMeasure | violationMeasure ) |
It specifies soft-GCC constraint.
| xVars | variables over which counting takes place. |
| hardCounters | counter variables for different values being counted. Their domain specify hard constraints on the occurrences. |
| countedValue | it specifies values which occurrence is being counted. |
| softLowerBound | it specifies constraint what is the minimal number of occurrences. |
| softUpperBound | it specifies constraint what is the maximal number of occurrences. |
| costVar | a cost variable specifying the cost of violations. |
| violationMeasure | it is only accepted to use Value_Based violation measure. |
References idNbr.
| org.jacop.constraints.SoftGCCCloneable.SoftGCCCloneable | ( | IntVarCloneable[] | xVars, |
| int[] | hardLowerBound, | ||
| int[] | hardUpperBound, | ||
| int[] | countedValue, | ||
| IntVarCloneable[] | softCounters, | ||
| IntVarCloneable | costVar, | ||
| ViolationMeasure | violationMeasure ) |
It specifies soft-GCC constraint.
| xVars | variables over which counting takes place. |
| hardLowerBound | it specifies constraint what is the minimal number of occurrences. (hard) |
| hardUpperBound | it specifies constraint what is the maximal number of occurrences. (hard) |
| countedValue | it specifies values which occurrence is being counted. |
| softCounters | it specifies the number of occurrences (soft). |
| costVar | a cost variable specifying the cost of violations. |
| violationMeasure | it is only accepted to use Value_Based violation measure. |
References idNbr.
| List< IntVar > org.jacop.constraints.SoftGCCCloneable.arguments | ( | ) |
| SoftGCCCloneable org.jacop.constraints.SoftGCCCloneable.cloneInto | ( | StoreCloneable | targetStore | ) | throws FailException |
| List< Constraint > org.jacop.constraints.SoftGCCCloneable.decompose | ( | Store | store | ) |
| String org.jacop.constraints.SoftGCCCloneable.id | ( | ) |
|
private |
This constraint's ID/name.
|
staticprivate |
Used to increment the id of constraints.
Referenced by SoftGCCCloneable(), SoftGCCCloneable(), SoftGCCCloneable(), SoftGCCCloneable(), SoftGCCCloneable(), and SoftGCCCloneable().