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

Convenience class that contains information on a specific variable. More...

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

Public Member Functions

 VariableInfo (String variableID)
 Constructor.
void setParent (String parent)
 Set the parent of this variable.
boolean isInfoReady ()
boolean isHeuristicReady ()
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.

Package Attributes

UtilitySolutionSpace< Val, U > minC
 The joint of the constraints between this variable and its ancestors(without its parent), where all variables but itself are projected out.
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

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

Detailed Description

Convenience class that contains information on a specific variable.

Author
brammertottens

Constructor & Destructor Documentation

◆ VariableInfo()

Member Function Documentation

◆ isHeuristicReady()

◆ isInfoReady()

◆ setParent()

Member Data Documentation

◆ minC


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