FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
Loading...
Searching...
No Matches
frodo2.algorithms.asodpop.ASODPOP< Val extends Addable< Val >, U extends Addable< U > >.DetermineAssignmentMax< Val extends Addable< Val >, U extends Addable< U > > Class Template Reference

This class should be used when only a single hierarchy is used. More...

Inheritance diagram for frodo2.algorithms.asodpop.ASODPOP< Val extends Addable< Val >, U extends Addable< U > >.DetermineAssignmentMax< Val extends Addable< Val >, U extends Addable< U > >:

Public Member Functions

 DetermineAssignmentMax (ASODPOP< Val, U > asodpop)
 A constructor.
Val determineVariableValue (int varIndex, int domainSize)
 This method simply looks at the tree, and given the context, determines the best assignment so far.
void setZero (U zero)
Public Member Functions inherited from frodo2.algorithms.asodpop.ASODPOP< Val extends Addable< Val >, U extends Addable< U > >.determineAssignment< Val, U >
Val determineVariableValue (int varIndex, int domainSize)
 Method used to determine the assignment of a variable.
void setZero (U zero)
 Method used to set the zero value.

Private Attributes

ASODPOP< Val, U > asodpop
 A link to all the information available in the hierarchies.

Detailed Description

This class should be used when only a single hierarchy is used.

Author
brammert
Parameters
<Val>type used for variable values
<U>type used for utility values

Constructor & Destructor Documentation

◆ DetermineAssignmentMax()

frodo2.algorithms.asodpop.ASODPOP< Val extends Addable< Val >, U extends Addable< U > >.DetermineAssignmentMax< Val extends Addable< Val >, U extends Addable< U > >.DetermineAssignmentMax ( ASODPOP< Val, U > asodpop)

A constructor.

Parameters
asodpopLink to the ASODPOP class

References frodo2.algorithms.asodpop.ASODPOP< Val extends Addable< Val >, U extends Addable< U > >.ASODPOP(), and asodpop.

Here is the call graph for this function:

Member Function Documentation

◆ determineVariableValue()

Val frodo2.algorithms.asodpop.ASODPOP< Val extends Addable< Val >, U extends Addable< U > >.DetermineAssignmentMax< Val extends Addable< Val >, U extends Addable< U > >.determineVariableValue ( int varIndex,
int domainSize )

This method simply looks at the tree, and given the context, determines the best assignment so far.

Parameters
varIndexThe index of the variable
domainSizeThe size of the variables domain
Returns
the index of the best value
See also
frodo2.algorithms.asodpop.ASODPOP.determineAssignment.determineVariableValue(int, int)

References frodo2.algorithms.asodpop.ASODPOP< Val extends Addable< Val >, U extends Addable< U > >.ASODPOP(), and asodpop.

Here is the call graph for this function:

◆ setZero()

void frodo2.algorithms.asodpop.ASODPOP< Val extends Addable< Val >, U extends Addable< U > >.DetermineAssignmentMax< Val extends Addable< Val >, U extends Addable< U > >.setZero ( U zero)

Member Data Documentation

◆ asodpop

ASODPOP<Val, U> frodo2.algorithms.asodpop.ASODPOP< Val extends Addable< Val >, U extends Addable< U > >.DetermineAssignmentMax< Val extends Addable< Val >, U extends Addable< U > >.asodpop
private

A link to all the information available in the hierarchies.

Referenced by DetermineAssignmentMax(), and determineVariableValue().


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