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

A JaCoP store that support cloning. More...

Inheritance diagram for org.jacop.core.StoreCloneable:

Public Member Functions

 StoreCloneable ()
 Constructor.

Package Functions

public< V extends Var &CloneableInto< V > > V findOrCloneInto (V var)
 Tries to find a variable with the same id as the input variable; else creates a clone of it.

Detailed Description

A JaCoP store that support cloning.

Author
Thomas Leaute

Constructor & Destructor Documentation

◆ StoreCloneable()

org.jacop.core.StoreCloneable.StoreCloneable ( )

Constructor.

Member Function Documentation

◆ findOrCloneInto()

public< V extends Var &CloneableInto< V > > V org.jacop.core.StoreCloneable.findOrCloneInto ( V var)
package

Tries to find a variable with the same id as the input variable; else creates a clone of it.

Parameters
varthe input variable, typically from another store
Returns
a variable in this store with id = var.id

References findOrCloneInto().

Referenced by findOrCloneInto(), frodo2.solutionSpaces.JaCoP.JaCoPutilSpace< V extends Addable< V > >.imposeConstraints(), and frodo2.solutionSpaces.JaCoP.JaCoPutilSpace< V extends Addable< V > >.initStore().

Here is the call graph for this function:

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