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

Public Member Functions | |
| AndBoolCloneable (IntVarCloneable[] vars, IntVarCloneable result) | |
| Constructor. | |
| AndBoolCloneable (ArrayList< IntVarCloneable > a, IntVarCloneable result) | |
| It constructs and constraint on variables. | |
| AndBoolCloneable (IntVarCloneable a, IntVarCloneable b, IntVarCloneable result) | |
| It constructs and constraint on variables. | |
| AndBoolCloneable | cloneInto (StoreCloneable targetStore) throws CloneNotSupportedException, FailException |
| List<? extends Var > | arguments () |
| String | id () |
| Public Member Functions inherited from org.jacop.constraints.ConstraintCloneableInterface< AndBoolCloneable > | |
| 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. | |
Static Public Member Functions | |
| static IntVarCloneable[] | filter (IntVarCloneable[] xs) |
| Filters the input list of variables to remove the ones with min() == 1. | |
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 AndBool constraint.
| org.jacop.constraints.AndBoolCloneable.AndBoolCloneable | ( | IntVarCloneable[] | vars, |
| IntVarCloneable | result ) |
Constructor.
| vars | the list of variables |
| result | the result variable |
References filter(), and idNbr.
Referenced by cloneInto().

| org.jacop.constraints.AndBoolCloneable.AndBoolCloneable | ( | ArrayList< IntVarCloneable > | a, |
| IntVarCloneable | result ) |
It constructs and constraint on variables.
| a | parameters variable. |
| result | variable. |
| org.jacop.constraints.AndBoolCloneable.AndBoolCloneable | ( | IntVarCloneable | a, |
| IntVarCloneable | b, | ||
| IntVarCloneable | result ) |
It constructs and constraint on variables.
| a | parameter variable. |
| b | parameter variable. |
| result | variable. |
| List<? extends Var > org.jacop.constraints.AndBoolCloneable.arguments | ( | ) |
| AndBoolCloneable org.jacop.constraints.AndBoolCloneable.cloneInto | ( | StoreCloneable | targetStore | ) | throws CloneNotSupportedException, FailException |
| CloneNotSupportedException | if the underlying constraint is not cloneable (which should not happen) |
References AndBoolCloneable(), and cloneInto().
Referenced by cloneInto().

|
static |
Filters the input list of variables to remove the ones with min() == 1.
| xs | the variables |
Referenced by AndBoolCloneable(), and org.jacop.constraints.OrBoolCloneable.OrBoolCloneable().
| String org.jacop.constraints.AndBoolCloneable.id | ( | ) |
|
private |
This constraint's ID/name.
|
staticprivate |
Used to increment the id of constraints.
Referenced by AndBoolCloneable().