FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
Loading...
Searching...
No Matches
frodo2.solutionSpaces.UtilitySolutionSpace< V extends Addable< V >, U extends Addable< U > >.ProjOutput< V extends Addable< V >, U extends Addable< U > > Class Template Reference

The result of a projection. More...

Public Member Functions

 ProjOutput (UtilitySolutionSpace< V, U > space, String[] varsOut, BasicUtilitySolutionSpace< V, ArrayList< V > > assignments)
 Constructor.
UtilitySolutionSpace< V, U > getSpace ()
String[] getVariables ()
BasicUtilitySolutionSpace< V, ArrayList< V > > getAssignments ()
String toString ()

Public Attributes

UtilitySolutionSpace< V, U > space
 The UtilitySolutionSpace resulting from the projection.
String[] varsOut
 The list of variables that have been projected out.
BasicUtilitySolutionSpace< V, ArrayList< V > > assignments
 The conditional optimal assignments to the projected variables.

Detailed Description

The result of a projection.

The result of a projection is a pair:

  • the resulting UtilitySolutionSpace
  • the conditional optimal assignments to the projected variables
    Parameters
    <V>the type used for variable values
    <U>the type used for utility values
    Author
    Thomas Leaute

Constructor & Destructor Documentation

◆ ProjOutput()

frodo2.solutionSpaces.UtilitySolutionSpace< V extends Addable< V >, U extends Addable< U > >.ProjOutput< V extends Addable< V >, U extends Addable< U > >.ProjOutput ( UtilitySolutionSpace< V, U > space,
String[] varsOut,
BasicUtilitySolutionSpace< V, ArrayList< V > > assignments )

Constructor.

Parameters
spacethe space resulting from the projection
varsOutthe list of variables that have been projected out
assignmentsthe conditional optimal assignments to the projected variables

References assignments, space, and varsOut.

Member Function Documentation

◆ getAssignments()

◆ getSpace()

◆ getVariables()

String[] frodo2.solutionSpaces.UtilitySolutionSpace< V extends Addable< V >, U extends Addable< U > >.ProjOutput< V extends Addable< V >, U extends Addable< U > >.getVariables ( )
Returns
the list of variables that have been projected out

Referenced by frodo2.solutionSpaces.hypercube.tests.HypercubeTest.testConsensusWeighted().

◆ toString()

String frodo2.solutionSpaces.UtilitySolutionSpace< V extends Addable< V >, U extends Addable< U > >.ProjOutput< V extends Addable< V >, U extends Addable< U > >.toString ( )
See also
java.lang.Object#toString()

References varsOut.

Member Data Documentation

◆ assignments

◆ space

◆ varsOut


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