FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
Loading...
Searching...
No Matches
frodo2.algorithms.adopt.Preprocessing< Val extends Addable< Val >, U extends Addable< U > >.PreprocessingHeuristic< Val extends Addable< Val >, U extends Addable< U > > Interface Template Reference

This interface is used to implement the different heuristics for obtaining lower bounds. More...

Classes

class  VariableInfo
 Container for information belonging to a specific variable. More...

Public Member Functions

void init ()
 Initializes the variableInfo container.
MessageType getMsgType ()
 Report the messages this heuristic shall be listening to.
VariableInfo< Val, U > getVariableInfo (String var)
 Returns the variable info for var.
void processDFSOutput (UtilitySolutionSpace< Val, U > space, List< String > constraint_variables, String var)
 Method to process a space controlled by this variable.
void processHeuristicsInfoMessage (UtilitySolutionSpace< Val, U > space, String var)
 Method to process a space received from a child.
HeuristicMsg< Val, U > createHeuristicInfoMessage (VariableInfo< Val, U > varInfo)
 Creates the heuristics information message by taking the join of h and c, and projecting out its own variable.

Detailed Description

This interface is used to implement the different heuristics for obtaining lower bounds.

Parameters
<Val>the type used for variable values
<U>the type used for utility values

Member Function Documentation

◆ createHeuristicInfoMessage()

HeuristicMsg< Val, U > frodo2.algorithms.adopt.Preprocessing< Val extends Addable< Val >, U extends Addable< U > >.PreprocessingHeuristic< Val extends Addable< Val >, U extends Addable< U > >.createHeuristicInfoMessage ( VariableInfo< Val, U > varInfo)

Creates the heuristics information message by taking the join of h and c, and projecting out its own variable.

Author
Brammert Ottens
Parameters
varInfoThe variable for whom the message must be created
Returns
The HeuristicsInformation message

◆ getMsgType()

MessageType frodo2.algorithms.adopt.Preprocessing< Val extends Addable< Val >, U extends Addable< U > >.PreprocessingHeuristic< Val extends Addable< Val >, U extends Addable< U > >.getMsgType ( )

Report the messages this heuristic shall be listening to.

Returns
a list of message types

◆ getVariableInfo()

VariableInfo< Val, U > frodo2.algorithms.adopt.Preprocessing< Val extends Addable< Val >, U extends Addable< U > >.PreprocessingHeuristic< Val extends Addable< Val >, U extends Addable< U > >.getVariableInfo ( String var)

Returns the variable info for var.

Author
Brammert Ottens, 27 mei 2009
Parameters
varThe ID of the variable
Returns
The info for this variable

◆ init()

void frodo2.algorithms.adopt.Preprocessing< Val extends Addable< Val >, U extends Addable< U > >.PreprocessingHeuristic< Val extends Addable< Val >, U extends Addable< U > >.init ( )

Initializes the variableInfo container.

Author
Brammert Ottens, 27 mei 2009

◆ processDFSOutput()

void frodo2.algorithms.adopt.Preprocessing< Val extends Addable< Val >, U extends Addable< U > >.PreprocessingHeuristic< Val extends Addable< Val >, U extends Addable< U > >.processDFSOutput ( UtilitySolutionSpace< Val, U > space,
List< String > constraint_variables,
String var )

Method to process a space controlled by this variable.

Author
Brammert Ottens, 27 mei 2009
Parameters
spaceThe space to be processed
constraint_variablesA list of variables that participate in the constraint
varThe variable to whom the space belongs

◆ processHeuristicsInfoMessage()

void frodo2.algorithms.adopt.Preprocessing< Val extends Addable< Val >, U extends Addable< U > >.PreprocessingHeuristic< Val extends Addable< Val >, U extends Addable< U > >.processHeuristicsInfoMessage ( UtilitySolutionSpace< Val, U > space,
String var )

Method to process a space received from a child.

Author
Brammert Ottens, 27 mei 2009
Parameters
spaceThe space to process
varThe variable that received the space

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