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

Public Member Functions | |
| LinearIntCloneable (IntVarCloneable[] list, int[] weights, String rel, IntVarCloneable sum) | |
| Constructor. | |
| LinearIntCloneable (IntVarCloneable[] list, int[] weights, String rel, int sum) | |
| Constructor. | |
| LinearIntCloneable (ArrayList<? extends IntVarCloneable > vars, ArrayList< Integer > weights, String rel, int sum) | |
| Constructor. | |
| LinearIntCloneable | cloneInto (StoreCloneable targetStore) throws FailException |
| Public Member Functions inherited from org.jacop.constraints.ConstraintCloneableInterface< LinearIntCloneable > | |
| 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. | |
Protected Member Functions | |
| LinearIntCloneable (LinearIntCloneable o, StoreCloneable targetStore) throws FailException | |
| Constructor used by the cloneInto() method. | |
A cloneable LinearInt constraint.
| org.jacop.constraints.LinearIntCloneable.LinearIntCloneable | ( | IntVarCloneable[] | list, |
| int[] | weights, | ||
| String | rel, | ||
| IntVarCloneable | sum ) |
Constructor.
| list | the list of variable being summed |
| weights | the summation weights |
| rel | the relation name |
| sum | the total sum variable |
Referenced by cloneInto(), and LinearIntCloneable().
| org.jacop.constraints.LinearIntCloneable.LinearIntCloneable | ( | IntVarCloneable[] | list, |
| int[] | weights, | ||
| String | rel, | ||
| int | sum ) |
Constructor.
| list | the list of variable being summed |
| weights | the summation weights |
| rel | the relation name |
| sum | the total sum constant |
| org.jacop.constraints.LinearIntCloneable.LinearIntCloneable | ( | ArrayList<? extends IntVarCloneable > | vars, |
| ArrayList< Integer > | weights, | ||
| String | rel, | ||
| int | sum ) |
Constructor.
| vars | the variables |
| weights | the weights |
| rel | the relation, one of "==", "@iliteral < @endiliteral ", "@iliteral > @endiliteral ", "@iliteral < @endiliteral =", "@iliteral > @endiliteral =", "!=" |
| sum | the constant with which the weighted sum should be compared |
|
protected |
Constructor used by the cloneInto() method.
| o | a LinearIntCloneable constraint to be cloned |
| targetStore | the store to be cloned into |
| FailException | thrown if one of the variables has an empty domain |
References LinearIntCloneable().

| LinearIntCloneable org.jacop.constraints.LinearIntCloneable.cloneInto | ( | StoreCloneable | targetStore | ) | throws FailException |