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

Public Member Functions | |
| ExtensionalSupportSTRCloneable (IntVarCloneable[] variables, int[][] tuples) | |
| Constructor. | |
| ExtensionalSupportSTRCloneable (IntVarCloneable[] list, int[][] tuples, boolean reinsertBefore, boolean residuesBefore) | |
| It constructs an extensional constraint. | |
| ExtensionalSupportSTRCloneable | cloneInto (StoreCloneable targetStore) throws FailException |
| Public Member Functions inherited from org.jacop.constraints.ConstraintCloneableInterface< ExtensionalSupportSTRCloneable > | |
| 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 int[][] | tuplesFromConstructor |
| The tuples originally passed to the constructor. | |
A cloneable version of the ExtensionalSupportSTR constraint.
| org.jacop.constraints.ExtensionalSupportSTRCloneable.ExtensionalSupportSTRCloneable | ( | IntVarCloneable[] | variables, |
| int | tuples[][] ) |
Constructor.
| variables | the list of variables |
| tuples | the list of allowed tuples |
Referenced by cloneInto().
| org.jacop.constraints.ExtensionalSupportSTRCloneable.ExtensionalSupportSTRCloneable | ( | IntVarCloneable[] | list, |
| int | tuples[][], | ||
| boolean | reinsertBefore, | ||
| boolean | residuesBefore ) |
It constructs an extensional constraint.
| list | the variables in the scope of the constraint. |
| tuples | the tuples which are supports. |
| reinsertBefore | it specifies if the tuples which were removed and are reinstatiated are inserted at the beginning. |
| residuesBefore | it specifies if the residue tuples are moved to the beginning. |
| ExtensionalSupportSTRCloneable org.jacop.constraints.ExtensionalSupportSTRCloneable.cloneInto | ( | StoreCloneable | targetStore | ) | throws FailException |
|
private |
The tuples originally passed to the constructor.