FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
Loading...
Searching...
No Matches
org.jacop.constraints.OrBoolCloneable Class Reference

A cloneable variant of the OrBool constraint. More...

Inheritance diagram for org.jacop.constraints.OrBoolCloneable:

Public Member Functions

 OrBoolCloneable (IntVarCloneable[] vars, IntVarCloneable result)
 Constructor.
 OrBoolCloneable (ArrayList< IntVarCloneable > vars, IntVarCloneable result)
 Constructor.
 OrBoolCloneable (IntVarCloneable a, IntVarCloneable b, IntVarCloneable result)
 Constructor.
OrBoolCloneable cloneInto (StoreCloneable targetStore) throws CloneNotSupportedException, FailException
List<? extends Var > arguments ()
String id ()
Public Member Functions inherited from org.jacop.constraints.ConstraintCloneableInterface< OrBoolCloneable >
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.

Detailed Description

A cloneable variant of the OrBool constraint.

Author
Thomas Leaute

Constructor & Destructor Documentation

◆ OrBoolCloneable() [1/3]

org.jacop.constraints.OrBoolCloneable.OrBoolCloneable ( IntVarCloneable[] vars,
IntVarCloneable result )

Constructor.

Parameters
varsthe list of variables
resultthe result variable

References org.jacop.constraints.AndBoolCloneable.filter(), and idNbr.

Referenced by cloneInto().

Here is the call graph for this function:

◆ OrBoolCloneable() [2/3]

org.jacop.constraints.OrBoolCloneable.OrBoolCloneable ( ArrayList< IntVarCloneable > vars,
IntVarCloneable result )

Constructor.

Parameters
varsthe list of variables
resultthe result variable

◆ OrBoolCloneable() [3/3]

org.jacop.constraints.OrBoolCloneable.OrBoolCloneable ( IntVarCloneable a,
IntVarCloneable b,
IntVarCloneable result )

Constructor.

Parameters
athe first variable
bthe second variable
resultthe result variable

Member Function Documentation

◆ arguments()

List<? extends Var > org.jacop.constraints.OrBoolCloneable.arguments ( )

◆ cloneInto()

OrBoolCloneable org.jacop.constraints.OrBoolCloneable.cloneInto ( StoreCloneable targetStore) throws CloneNotSupportedException, FailException
See also
ConstraintCloneableInterface.cloneInto(StoreCloneable)
Exceptions
CloneNotSupportedExceptionif the underlying constraint is not cloneable (which should not happen)

References cloneInto(), and OrBoolCloneable().

Referenced by cloneInto().

Here is the call graph for this function:

◆ id()

Member Data Documentation

◆ id

final String org.jacop.constraints.OrBoolCloneable.id
private

This constraint's ID/name.

◆ idNbr

int org.jacop.constraints.OrBoolCloneable.idNbr = 0
staticprivate

Used to increment the id of constraints.

Referenced by OrBoolCloneable().


The documentation for this class was generated from the following file: