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 > >.DP0< Val extends Addable< Val >, U extends Addable< U > >.VariableInfo Class Reference

A container for variable dependent information. More...

Inheritance diagram for frodo2.algorithms.adopt.Preprocessing< Val extends Addable< Val >, U extends Addable< U > >.DP0< Val extends Addable< Val >, U extends Addable< U > >.VariableInfo:

Public Member Functions

 VariableInfo (String variableID)
 A constructor.
void setParent (String parent)
boolean isHeuristicReady ()
boolean isInfoReady ()
 As soon as the DFS information has been received, the info message is ready to be send.
Public Member Functions inherited from frodo2.algorithms.adopt.Preprocessing< Val extends Addable< Val >, U extends Addable< U > >.PreprocessingHeuristic< Val extends Addable< Val >, U extends Addable< U > >.VariableInfo< Val, U >
 VariableInfo (String variableID, Preprocessing< Val, U > p)
 Constructor.
void setParent (String parent)
 Set the parent of this variable, in this very general version of the class, nothing should happen.
boolean isInfoReady ()
 Returns true when this variable is ready to send info to its parent.
boolean isHeuristicReady ()
 Returns true when this variable is ready to send the heuristic.
void setNumberOfChildren (int numberOfChildren)
 Set the infoCounter to the number of children.

Additional Inherited Members

Public Attributes inherited from frodo2.algorithms.adopt.Preprocessing< Val extends Addable< Val >, U extends Addable< U > >.PreprocessingHeuristic< Val extends Addable< Val >, U extends Addable< U > >.VariableInfo< Val, U >
String variableID
 The ID of this variable.
String parent
 The variables parent.
int infoCounter
 Counts the number of children from whom information has been received.
int numberOfChildren
 The number of children of this variable.
boolean infoSent
 true when info has sent to ones parent
boolean heuristicSent
 true when the heuristics has been calculated
Package Attributes inherited from frodo2.algorithms.adopt.Preprocessing< Val extends Addable< Val >, U extends Addable< U > >.PreprocessingHeuristic< Val extends Addable< Val >, U extends Addable< U > >.VariableInfo< Val, U >
UtilitySolutionSpace< Val, U > h
 Stores the minimal utilities received by the children.
UtilitySolutionSpace< Val, U > c
 the constraints owned by this variable

Detailed Description

A container for variable dependent information.

Author
Brammert Ottens, 18 mei 2009

Constructor & Destructor Documentation

◆ VariableInfo()

Member Function Documentation

◆ isHeuristicReady()

◆ isInfoReady()

◆ setParent()


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