FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
Loading...
Searching...
No Matches
frodo2.solutionSpaces.vehiclerouting.CompoundSpace< U extends Addable< U > > Class Template Reference
Inheritance diagram for frodo2.solutionSpaces.vehiclerouting.CompoundSpace< U extends Addable< U > >:

Classes

class  BestFirstIterator
 Best first iterator for the combination of a VehicleRoutingSpace with a collection of sum constraints. More...

Public Member Functions

 CompoundSpace (String variable, AddableInteger[] domain, U infeasibleUtil)
 Constructor.
IteratorBestFirst< AddableInteger, U > iteratorBestFirst (boolean maximize)
UtilitySolutionSpace< AddableInteger, U > join (UtilitySolutionSpace< AddableInteger, U >[] spaces)
UtilitySolutionSpace< AddableInteger, U > changeVariablesOrder (String[] variablesOrder)
UtilitySolutionSpace< AddableInteger, U > compose (String[] vars, BasicUtilitySolutionSpace< AddableInteger, ArrayList< AddableInteger > > substitution)
frodo2.solutionSpaces.UtilitySolutionSpace.ProjOutput< AddableInteger, U > consensus (String varOut, Map< String, UtilitySolutionSpace< AddableInteger, U > > distributions, boolean maximum)
frodo2.solutionSpaces.UtilitySolutionSpace.ProjOutput< AddableInteger, U > consensusAllSols (String varOut, Map< String, UtilitySolutionSpace< AddableInteger, U > > distributions, boolean maximum)
frodo2.solutionSpaces.UtilitySolutionSpace.ProjOutput< AddableInteger, U > consensusExpect (String varOut, Map< String, UtilitySolutionSpace< AddableInteger, U > > distributions, boolean maximum)
frodo2.solutionSpaces.UtilitySolutionSpace.ProjOutput< AddableInteger, U > consensusAllSolsExpect (String varOut, Map< String, UtilitySolutionSpace< AddableInteger, U > > distributions, boolean maximum)
UtilitySolutionSpace< AddableInteger, U > expectation (Map< String, UtilitySolutionSpace< AddableInteger, U > > distributions)
boolean isIncludedIn (UtilitySolutionSpace< AddableInteger, U > space)
UtilitySolutionSpace< AddableInteger, U > join (UtilitySolutionSpace< AddableInteger, U > space, String[] totalVariables)
UtilitySolutionSpace< AddableInteger, U > join (UtilitySolutionSpace< AddableInteger, U > space)
UtilitySolutionSpace< AddableInteger, U > joinMinNCCCs (UtilitySolutionSpace< AddableInteger, U > space)
UtilitySolutionSpace< AddableInteger, U > joinMinNCCCs (UtilitySolutionSpace< AddableInteger, U >[] spaces)
UtilitySolutionSpace< AddableInteger, U > max (String variable)
UtilitySolutionSpace< AddableInteger, U > multiply (UtilitySolutionSpace< AddableInteger, U > space, String[] totalVariables)
UtilitySolutionSpace< AddableInteger, U > multiply (UtilitySolutionSpace< AddableInteger, U > space)
UtilitySolutionSpace< AddableInteger, U > multiply (UtilitySolutionSpace< AddableInteger, U >[] spaces)
frodo2.solutionSpaces.UtilitySolutionSpace.ProjOutput< AddableInteger, U > project (String[] variablesNames, boolean maximum)
frodo2.solutionSpaces.UtilitySolutionSpace.ProjOutput< AddableInteger, U > project (int numberToProject, boolean maximum)
frodo2.solutionSpaces.UtilitySolutionSpace.ProjOutput< AddableInteger, U > project (String variableName, boolean maximum)
frodo2.solutionSpaces.UtilitySolutionSpace.ProjOutput< AddableInteger, U > projectAll (boolean maximum)
frodo2.solutionSpaces.UtilitySolutionSpace.ProjOutput< AddableInteger, U > projectAll (boolean maximum, String[] order)
UtilitySolutionSpace< AddableInteger, U > resolve ()
UtilitySolutionSpace< AddableInteger, U > resolve (boolean sparse)
Map< AddableInteger, Double > sample (int nbrSamples)
UtilitySolutionSpace< AddableInteger, U > slice (String[] variablesNames, AddableInteger[][] subDomains)
UtilitySolutionSpace< AddableInteger, U > slice (String[] variablesNames, AddableInteger[] values)
UtilitySolutionSpace< AddableInteger, U > slice (String var, AddableInteger[] subDomain)
UtilitySolutionSpace< AddableInteger, U > slice (String var, AddableInteger val)
UtilitySolutionSpace< AddableInteger, U > slice (AddableInteger[] variablesValues)
UtilitySolutionSpace< AddableInteger, U > split (U threshold, boolean maximum)
void augment (AddableInteger[] variablesValues, U utilityValue)
boolean equivalent (BasicUtilitySolutionSpace< AddableInteger, U > space)
Class< U > getClassOfU ()
getDefaultUtility ()
getUtility (AddableInteger[] variablesValues)
getUtility (String[] variablesNames, AddableInteger[] variablesValues)
getUtility (Map< String, AddableInteger > assignments)
getUtility (long index)
void setProblem (ProblemInterface< AddableInteger, ?> problem)
boolean countsCCs ()
boolean isIncludedIn (BasicUtilitySolutionSpace< AddableInteger, U > space)
Iterator< AddableInteger, U > iterator ()
Iterator< AddableInteger, U > iterator (String[] variables, AddableInteger[][] domains)
String prettyPrint (U ignoredUtil)
void setDefaultUtility (U utility)
void setInfeasibleUtility (U utility)
boolean setUtility (AddableInteger[] variablesValues, U utility)
void setUtility (long index, U utility)
void augment (AddableInteger[] variablesValues)
AddableInteger[] getDomain (String variable)
AddableInteger[] getDomain (int index)
AddableInteger[] getDomain (String variable, int index)
AddableInteger[][] getDomains ()
int getIndex (String variable)
String getName ()
long getNumberOfSolutions ()
int getNumberOfVariables ()
String getRelationName ()
String getVariable (int index)
String[] getVariables ()
UtilitySolutionSpace.Iterator< AddableInteger, U > iterator (String[] order)
SolutionSpace< AddableIntegerjoin (SolutionSpace< AddableInteger > space, String[] totalVariables)
SolutionSpace< AddableIntegerjoin (SolutionSpace< AddableInteger > space)
SolutionSpace< AddableIntegerjoin (SolutionSpace< AddableInteger >[] spaces, String[] totalVariablesOrder)
boolean knows (Class<?> spaceClass)
SolutionSpace< AddableIntegerrenameAllVars (String[] newVarNames)
void renameVariable (String oldName, String newName)
void setDomain (String var, AddableInteger[] dom)
void setName (String name)
void setRelationName (String name)
SolutionSpace< AddableIntegerjoin (SolutionSpace< AddableInteger >[] spaces)
CompoundSpace< U > clone ()
UtilitySolutionSpace< AddableInteger, U > min (String variable)
UtilitySolutionSpace.IteratorBestFirst< AddableInteger, U > iteratorBestFirst (boolean maximize, String[] fixedVariables, AddableInteger[] fixedValues)
UtilitySolutionSpace< AddableInteger, U > blindProject (String varOut, boolean maximize)
UtilitySolutionSpace< AddableInteger, U > blindProject (String[] varsOut, boolean maximize)
blindProjectAll (boolean maximize)
frodo2.solutionSpaces.UtilitySolutionSpace.ProjOutput< AddableInteger, U > projExpectMonotone (String varOut, Map< String, UtilitySolutionSpace< AddableInteger, U > > distributions, boolean maximum)
Hypercube< AddableInteger, U > toHypercube ()
String getOwner ()
void setOwner (String owner)
frodo2.solutionSpaces.UtilitySolutionSpace.Iterator< AddableInteger, U > iterator (String[] variables, AddableInteger[][] domains, AddableInteger[] assignment)
UtilitySolutionSpace< AddableInteger, U > rescale (U add, U multiply)
frodo2.solutionSpaces.UtilitySolutionSpace.SparseIterator< AddableInteger, U > sparseIter ()
frodo2.solutionSpaces.UtilitySolutionSpace.SparseIterator< AddableInteger, U > sparseIter (String[] order)
frodo2.solutionSpaces.UtilitySolutionSpace.SparseIterator< AddableInteger, U > sparseIter (String[] variables, AddableInteger[][] domains)
frodo2.solutionSpaces.UtilitySolutionSpace.SparseIterator< AddableInteger, U > sparseIter (String[] variables, AddableInteger[][] domains, AddableInteger[] assignment)
Public Member Functions inherited from frodo2.solutionSpaces.UtilitySolutionSpace< V extends Addable< V >, U extends Addable< U > >
boolean isIncludedIn (UtilitySolutionSpace< V, U > space)
 Checks if this UtilitySolutionSpace is included in the provided UtilitySolutionSpace.
UtilitySolutionSpace< V, U > join (UtilitySolutionSpace< V, U > space, String[] total_variables)
 Returns a UtilitySolutionSpace object obtained by joining this UtilitySolutionSpace object with the one provided as a parameter.
UtilitySolutionSpace< V, U > slice (String[] variables_names, V[][] sub_domains)
 Returns a slice of this UtilitySolutionSpace.
UtilitySolutionSpace< V, U > slice (String[] variables_names, V[] values)
 Returns a slice of this UtilitySolutionSpace.
UtilitySolutionSpace< V, U > slice (String var, V[] subDomain)
 Slices this UtilitySolutionSpace over a single variable.
UtilitySolutionSpace< V, U > slice (String var, V val)
 Slices this UtilitySolutionSpace over a single variable-value assignment.
UtilitySolutionSpace< V, U > slice (V[] variables_values)
 Returns a slice of this UtilitySolutionSpace.
UtilitySolutionSpace< V, U > join (UtilitySolutionSpace< V, U > space)
 Computes the join of this UtilitySolutionSpace with the input UtilitySolutionSpace.
UtilitySolutionSpace< V, U > joinMinNCCCs (UtilitySolutionSpace< V, U > space)
 A version of the join method that minimizes the utility lookups in the caller space and the input spaces.
UtilitySolutionSpace< V, U > join (UtilitySolutionSpace< V, U >[] spaces)
 Returns a UtilitySolutionSpace object obtained by joining the UtilitySolutionSpace for which this method is called and the UtilitySolutionSpace present in the array of UtilitySolutionSpace given to this method as a parameter.
UtilitySolutionSpace< V, U > joinMinNCCCs (UtilitySolutionSpace< V, U >[] spaces)
 A version of the join method that minimizes the utility lookups in the caller space and the input spaces.
UtilitySolutionSpace< V, U > multiply (UtilitySolutionSpace< V, U > space, String[] total_variables)
 Returns a UtilitySolutionSpace object obtained by joining this UtilitySolutionSpace object with the one provided as a parameter.
UtilitySolutionSpace< V, U > multiply (UtilitySolutionSpace< V, U > space)
 Computes the join of this UtilitySolutionSpace with the input UtilitySolutionSpace.
UtilitySolutionSpace< V, U > multiply (UtilitySolutionSpace< V, U >[] spaces)
 Returns a UtilitySolutionSpace object obtained by joining the UtilitySolutionSpace for which this method is called and the UtilitySolutionSpace present in the array of UtilitySolutionSpace given to this method as a parameter.
ProjOutput< V, U > consensus (String varOut, Map< String, UtilitySolutionSpace< V, U > > distributions, boolean maximum)
 A projection operation that uses the consensus approach.
ProjOutput< V, U > consensusExpect (String varOut, Map< String, UtilitySolutionSpace< V, U > > distributions, boolean maximum)
 The composition of the consensus and expectation operations.
ProjOutput< V, U > consensusAllSols (String varOut, Map< String, UtilitySolutionSpace< V, U > > distributions, boolean maximum)
 A projection operation that uses the advanced consensus approach.
ProjOutput< V, U > consensusAllSolsExpect (String varOut, Map< String, UtilitySolutionSpace< V, U > > distributions, boolean maximum)
 The composition of the consensusAllSols and expectation operations.
UtilitySolutionSpace< V, U > compose (String[] vars, BasicUtilitySolutionSpace< V, ArrayList< V > > substitution)
UtilitySolutionSpace< V, U > expectation (Map< String, UtilitySolutionSpace< V, U > > distributions)
 Computes the expectation of this utility space over the input random variables, conditioned on the input probability space.
ProjOutput< V, U > projExpectMonotone (String varOut, Map< String, UtilitySolutionSpace< V, U > > distributions, boolean maximum)
 An optimize expectation().project() operator that assumes that all costs are non-negative (or all utilities non-positive).
IteratorBestFirst< V, U > iteratorBestFirst (boolean maximize, String[] fixedVariables, V[] fixedValues)
SparseIterator< V, U > sparseIter (String[] variables, V[][] domains)
SparseIterator< V, U > sparseIter (String[] variables, V[][] domains, V[] assignment)
Iterator< V, U > iterator (String[] variables, V[][] domains)
Iterator< V, U > iterator (String[] variables, V[][] domains, V[] assignment)
Public Member Functions inherited from frodo2.solutionSpaces.UtilitySolutionSpaceLimited< V, U, U >
UtilitySolutionSpaceLimited< V, U, UL > join (UtilitySolutionSpace< V, U > space)
 Binary join operation.
UtilitySolutionSpaceLimited< V, U, UL > joinMinNCCCs (UtilitySolutionSpace< V, U > space)
 A version of the join method that minimizes the utility lookups in the caller space and the input space.
UtilitySolutionSpaceLimited< V, U, UL > blindProject (String varOut, boolean maximize)
 Projects out the input variable without computing the corresponding optimal assignments.
UL blindProjectAll (boolean maximize)
 Projects out all variables without computing the corresponding optimal assignments.
UtilitySolutionSpaceLimited< V, U, UL > min (String variable)
 Project out a variable by minimizing over it, without computing the argmin.
UtilitySolutionSpaceLimited< V, U, UL > max (String variable)
 Project out a variable by maximizing over it, without computing the argmax.
UtilitySolutionSpaceLimited< V, U, UL > slice (String var, V val)
UtilitySolutionSpaceLimited< V, U, UL > resolve ()

Static Package Functions

 [static initializer]

Private Attributes

ArrayList< UtilitySolutionSpace< AddableInteger, U > > inputs = new ArrayList< UtilitySolutionSpace<AddableInteger, U> > ()
 The sum spaces.
VehicleRoutingSpace< U > vrpSpace
 The vrp space.
String[] variables
 The variables occuring in this space.
AddableInteger[][] domains
 The domains of the variables occuring in this space.
HashMap< String, Integer > variablePointer
 Pointer to the position of variables in the variable array.
String ownVariable
 The variable that owns this constraint.
infeasibleUtil
 The infeasible utility.
ProblemInterface< AddableInteger, ?> problem
 The problem that gets notified of constraint checks.

Static Private Attributes

static final long serialVersionUID = -2483502481064316880L
 Used for serialization.
static HashSet< Class<?> > knownSpaces
 The types of spaces that we know how to handle.

Detailed Description

Author
Brammert Ottens, 28 apr 2010
Parameters
<U>type of utility values

Constructor & Destructor Documentation

◆ CompoundSpace()

frodo2.solutionSpaces.vehiclerouting.CompoundSpace< U extends Addable< U > >.CompoundSpace ( String variable,
AddableInteger[] domain,
U infeasibleUtil )

Constructor.

Parameters
variablethe variable to which this space belongs
domainthe domain of this variable
infeasibleUtilthe infeasible utility

References domains, infeasibleUtil, ownVariable, variablePointer, and variables.

Referenced by clone().

Member Function Documentation

◆ [static initializer]()

frodo2.solutionSpaces.vehiclerouting.CompoundSpace< U extends Addable< U > >.[static initializer]
staticpackage

References knownSpaces, and problem.

◆ augment() [1/2]

void frodo2.solutionSpaces.vehiclerouting.CompoundSpace< U extends Addable< U > >.augment ( AddableInteger[] variablesValues)
See also
frodo2.solutionSpaces.SolutionSpace#augment(Addable[])

◆ augment() [2/2]

void frodo2.solutionSpaces.vehiclerouting.CompoundSpace< U extends Addable< U > >.augment ( AddableInteger[] variablesValues,
U utilityValue )

◆ blindProject() [1/2]

◆ blindProject() [2/2]

◆ blindProjectAll()

◆ changeVariablesOrder()

◆ clone()

Returns
a shallow clone of this hypercube

Implements frodo2.solutionSpaces.UtilitySolutionSpace< V extends Addable< V >, U extends Addable< U > >.

References CompoundSpace().

Here is the call graph for this function:

◆ compose()

◆ consensus()

frodo2.solutionSpaces.UtilitySolutionSpace.ProjOutput< AddableInteger, U > frodo2.solutionSpaces.vehiclerouting.CompoundSpace< U extends Addable< U > >.consensus ( String varOut,
Map< String, UtilitySolutionSpace< AddableInteger, U > > distributions,
boolean maximum )
See also
frodo2.solutionSpaces.UtilitySolutionSpace.consensus(java.lang.String, java.util.Map, boolean)

◆ consensusAllSols()

frodo2.solutionSpaces.UtilitySolutionSpace.ProjOutput< AddableInteger, U > frodo2.solutionSpaces.vehiclerouting.CompoundSpace< U extends Addable< U > >.consensusAllSols ( String varOut,
Map< String, UtilitySolutionSpace< AddableInteger, U > > distributions,
boolean maximum )
See also
frodo2.solutionSpaces.UtilitySolutionSpace.consensusAllSols(java.lang.String, java.util.Map, boolean)

◆ consensusAllSolsExpect()

frodo2.solutionSpaces.UtilitySolutionSpace.ProjOutput< AddableInteger, U > frodo2.solutionSpaces.vehiclerouting.CompoundSpace< U extends Addable< U > >.consensusAllSolsExpect ( String varOut,
Map< String, UtilitySolutionSpace< AddableInteger, U > > distributions,
boolean maximum )
See also
frodo2.solutionSpaces.UtilitySolutionSpace.consensusAllSolsExpect(java.lang.String, java.util.Map, boolean)
Todo
Auto-generated method stub

◆ consensusExpect()

frodo2.solutionSpaces.UtilitySolutionSpace.ProjOutput< AddableInteger, U > frodo2.solutionSpaces.vehiclerouting.CompoundSpace< U extends Addable< U > >.consensusExpect ( String varOut,
Map< String, UtilitySolutionSpace< AddableInteger, U > > distributions,
boolean maximum )
See also
frodo2.solutionSpaces.UtilitySolutionSpace.consensusExpect(java.lang.String, java.util.Map, boolean)
Todo
Auto-generated method stub

◆ countsCCs()

boolean frodo2.solutionSpaces.vehiclerouting.CompoundSpace< U extends Addable< U > >.countsCCs ( )
See also
UtilitySolutionSpace#countsCCs()

◆ equivalent()

◆ expectation()

◆ getClassOfU()

◆ getDefaultUtility()

◆ getDomain() [1/3]

◆ getDomain() [2/3]

AddableInteger[] frodo2.solutionSpaces.vehiclerouting.CompoundSpace< U extends Addable< U > >.getDomain ( String variable)
See also
frodo2.solutionSpaces.SolutionSpace.getDomain(java.lang.String)

References domains, and variablePointer.

◆ getDomain() [3/3]

AddableInteger[] frodo2.solutionSpaces.vehiclerouting.CompoundSpace< U extends Addable< U > >.getDomain ( String variable,
int index )
See also
frodo2.solutionSpaces.SolutionSpace.getDomain(java.lang.String, int)

◆ getDomains()

◆ getIndex()

int frodo2.solutionSpaces.vehiclerouting.CompoundSpace< U extends Addable< U > >.getIndex ( String variable)

◆ getName()

◆ getNumberOfSolutions()

◆ getNumberOfVariables()

◆ getOwner()

String frodo2.solutionSpaces.vehiclerouting.CompoundSpace< U extends Addable< U > >.getOwner ( )
See also
frodo2.solutionSpaces.SolutionSpace.getOwner()
Todo
Auto-generated method stub

◆ getRelationName()

◆ getUtility() [1/4]

U frodo2.solutionSpaces.vehiclerouting.CompoundSpace< U extends Addable< U > >.getUtility ( AddableInteger[] variablesValues)
See also
frodo2.solutionSpaces.BasicUtilitySolutionSpace#getUtility(Addable[])

References getUtility().

Referenced by getUtility().

Here is the call graph for this function:

◆ getUtility() [2/4]

◆ getUtility() [3/4]

U frodo2.solutionSpaces.vehiclerouting.CompoundSpace< U extends Addable< U > >.getUtility ( Map< String, AddableInteger > assignments)
See also
BasicUtilitySolutionSpace.getUtility(java.util.Map)
Todo
Auto-generated method stub

◆ getUtility() [4/4]

U frodo2.solutionSpaces.vehiclerouting.CompoundSpace< U extends Addable< U > >.getUtility ( String[] variablesNames,
AddableInteger[] variablesValues )
See also
frodo2.solutionSpaces.BasicUtilitySolutionSpace.getUtility(java.lang.String[], Addable[])

References inputs, and vrpSpace.

◆ getVariable()

◆ getVariables()

◆ isIncludedIn() [1/2]

◆ isIncludedIn() [2/2]

◆ iterator() [1/4]

◆ iterator() [2/4]

◆ iterator() [3/4]

Iterator< AddableInteger, U > frodo2.solutionSpaces.vehiclerouting.CompoundSpace< U extends Addable< U > >.iterator ( String[] variables,
AddableInteger domains[][] )
See also
frodo2.solutionSpaces.BasicUtilitySolutionSpace.iterator(java.lang.String[], Addable[][])

References domains, and variables.

◆ iterator() [4/4]

See also
frodo2.solutionSpaces.UtilitySolutionSpace.iterator(java.lang.String[], Addable[][], Addable[])
Todo
Auto-generated method stub

References domains, and variables.

◆ iteratorBestFirst() [1/2]

◆ iteratorBestFirst() [2/2]

UtilitySolutionSpace.IteratorBestFirst< AddableInteger, U > frodo2.solutionSpaces.vehiclerouting.CompoundSpace< U extends Addable< U > >.iteratorBestFirst ( boolean maximize,
String[] fixedVariables,
AddableInteger[] fixedValues )
See also
UtilitySolutionSpace.iteratorBestFirst(boolean, java.lang.String[], Addable[])

◆ join() [1/7]

◆ join() [2/7]

◆ join() [3/7]

◆ join() [4/7]

◆ join() [5/7]

◆ join() [6/7]

◆ join() [7/7]

◆ joinMinNCCCs() [1/2]

◆ joinMinNCCCs() [2/2]

◆ knows()

boolean frodo2.solutionSpaces.vehiclerouting.CompoundSpace< U extends Addable< U > >.knows ( Class<?> spaceClass)
See also
SolutionSpace.knows(java.lang.Class)

References knownSpaces.

◆ max()

◆ min()

◆ multiply() [1/3]

◆ multiply() [2/3]

◆ multiply() [3/3]

◆ prettyPrint()

String frodo2.solutionSpaces.vehiclerouting.CompoundSpace< U extends Addable< U > >.prettyPrint ( U ignoredUtil)

◆ project() [1/3]

◆ project() [2/3]

◆ project() [3/3]

◆ projectAll() [1/2]

◆ projectAll() [2/2]

◆ projExpectMonotone()

frodo2.solutionSpaces.UtilitySolutionSpace.ProjOutput< AddableInteger, U > frodo2.solutionSpaces.vehiclerouting.CompoundSpace< U extends Addable< U > >.projExpectMonotone ( String varOut,
Map< String, UtilitySolutionSpace< AddableInteger, U > > distributions,
boolean maximum )
See also
frodo2.solutionSpaces.UtilitySolutionSpace.projExpectMonotone(java.lang.String, java.util.Map, boolean)
Todo
Auto-generated method stub

◆ renameAllVars()

SolutionSpace< AddableInteger > frodo2.solutionSpaces.vehiclerouting.CompoundSpace< U extends Addable< U > >.renameAllVars ( String[] newVarNames)

◆ renameVariable()

void frodo2.solutionSpaces.vehiclerouting.CompoundSpace< U extends Addable< U > >.renameVariable ( String oldName,
String newName )
See also
frodo2.solutionSpaces.SolutionSpace.renameVariable(java.lang.String, java.lang.String)

◆ rescale()

◆ resolve() [1/2]

◆ resolve() [2/2]

◆ sample()

◆ setDefaultUtility()

void frodo2.solutionSpaces.vehiclerouting.CompoundSpace< U extends Addable< U > >.setDefaultUtility ( U utility)

◆ setDomain()

void frodo2.solutionSpaces.vehiclerouting.CompoundSpace< U extends Addable< U > >.setDomain ( String var,
AddableInteger[] dom )

◆ setInfeasibleUtility()

void frodo2.solutionSpaces.vehiclerouting.CompoundSpace< U extends Addable< U > >.setInfeasibleUtility ( U utility)
See also
BasicUtilitySolutionSpace.setInfeasibleUtility(java.io.Serializable)

◆ setName()

void frodo2.solutionSpaces.vehiclerouting.CompoundSpace< U extends Addable< U > >.setName ( String name)

◆ setOwner()

void frodo2.solutionSpaces.vehiclerouting.CompoundSpace< U extends Addable< U > >.setOwner ( String owner)
See also
frodo2.solutionSpaces.SolutionSpace.setOwner(java.lang.String)
Todo
Auto-generated method stub

◆ setProblem()

See also
UtilitySolutionSpace#setProblem(ProblemInterface)

References problem, and frodo2.solutionSpaces.vehiclerouting.VehicleRoutingSpace< U extends Addable< U > >.setProblem().

Here is the call graph for this function:

◆ setRelationName()

void frodo2.solutionSpaces.vehiclerouting.CompoundSpace< U extends Addable< U > >.setRelationName ( String name)

◆ setUtility() [1/2]

boolean frodo2.solutionSpaces.vehiclerouting.CompoundSpace< U extends Addable< U > >.setUtility ( AddableInteger[] variablesValues,
U utility )

◆ setUtility() [2/2]

void frodo2.solutionSpaces.vehiclerouting.CompoundSpace< U extends Addable< U > >.setUtility ( long index,
U utility )
See also
BasicUtilitySolutionSpace.setUtility(long, java.io.Serializable)

◆ slice() [1/5]

See also
frodo2.solutionSpaces.UtilitySolutionSpace#slice(Addable[])

◆ slice() [2/5]

◆ slice() [3/5]

◆ slice() [4/5]

UtilitySolutionSpace< AddableInteger, U > frodo2.solutionSpaces.vehiclerouting.CompoundSpace< U extends Addable< U > >.slice ( String[] variablesNames,
AddableInteger[] values )

◆ slice() [5/5]

UtilitySolutionSpace< AddableInteger, U > frodo2.solutionSpaces.vehiclerouting.CompoundSpace< U extends Addable< U > >.slice ( String[] variablesNames,
AddableInteger subDomains[][] )

◆ sparseIter() [1/4]

◆ sparseIter() [2/4]

◆ sparseIter() [3/4]

See also
frodo2.solutionSpaces.UtilitySolutionSpace.sparseIter(java.lang.String[], Addable[][])
Todo
Auto-generated method stub

References domains, and variables.

◆ sparseIter() [4/4]

See also
frodo2.solutionSpaces.UtilitySolutionSpace.sparseIter(java.lang.String[], Addable[][], Addable[])
Todo
Auto-generated method stub

References domains, and variables.

◆ split()

◆ toHypercube()

Member Data Documentation

◆ domains

The domains of the variables occuring in this space.

Referenced by changeVariablesOrder(), CompoundSpace(), getDomain(), iterator(), iterator(), sparseIter(), and sparseIter().

◆ infeasibleUtil

U frodo2.solutionSpaces.vehiclerouting.CompoundSpace< U extends Addable< U > >.infeasibleUtil
private

The infeasible utility.

Referenced by CompoundSpace().

◆ inputs

The sum spaces.

Referenced by getUtility(), iteratorBestFirst(), and join().

◆ knownSpaces

HashSet< Class<?> > frodo2.solutionSpaces.vehiclerouting.CompoundSpace< U extends Addable< U > >.knownSpaces
staticprivate

The types of spaces that we know how to handle.

Referenced by [static initializer](), and knows().

◆ ownVariable

◆ problem

The problem that gets notified of constraint checks.

Referenced by [static initializer](), and setProblem().

◆ serialVersionUID

final long frodo2.solutionSpaces.vehiclerouting.CompoundSpace< U extends Addable< U > >.serialVersionUID = -2483502481064316880L
staticprivate

Used for serialization.

◆ variablePointer

HashMap<String, Integer> frodo2.solutionSpaces.vehiclerouting.CompoundSpace< U extends Addable< U > >.variablePointer
private

Pointer to the position of variables in the variable array.

Referenced by changeVariablesOrder(), CompoundSpace(), getDomain(), and join().

◆ variables

◆ vrpSpace


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