|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|
Convenience class that contains information on a specific variable. More...

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 | |
Convenience class that contains information on a specific variable.
| frodo2.algorithms.adopt.Preprocessing< Val extends Addable< Val >, U extends Addable< U > >.DP2< Val extends Addable< Val >, U extends Addable< U > >.VariableInfo.VariableInfo | ( | String | variableID | ) |
Constructor.
| variableID | The ID of this variable |
References frodo2.algorithms.adopt.Preprocessing< Val extends Addable< Val >, U extends Addable< U > >.DP2< Val extends Addable< Val >, U extends Addable< U > >.p, and frodo2.algorithms.adopt.Preprocessing< Val extends Addable< Val >, U extends Addable< U > >.PreprocessingHeuristic< Val extends Addable< Val >, U extends Addable< U > >.VariableInfo< Val, U >.variableID.
| boolean frodo2.algorithms.adopt.Preprocessing< Val extends Addable< Val >, U extends Addable< U > >.DP2< Val extends Addable< Val >, U extends Addable< U > >.VariableInfo.isHeuristicReady | ( | ) |
References frodo2.algorithms.adopt.Preprocessing< Val extends Addable< Val >, U extends Addable< U > >.PreprocessingHeuristic< Val extends Addable< Val >, U extends Addable< U > >.VariableInfo< Val, U >.heuristicSent, frodo2.algorithms.adopt.Preprocessing< Val extends Addable< Val >, U extends Addable< U > >.PreprocessingHeuristic< Val extends Addable< Val >, U extends Addable< U > >.VariableInfo< Val, U >.infoCounter, and frodo2.algorithms.adopt.Preprocessing< Val extends Addable< Val >, U extends Addable< U > >.PreprocessingHeuristic< Val extends Addable< Val >, U extends Addable< U > >.VariableInfo< Val, U >.numberOfChildren.
| boolean frodo2.algorithms.adopt.Preprocessing< Val extends Addable< Val >, U extends Addable< U > >.DP2< Val extends Addable< Val >, U extends Addable< U > >.VariableInfo.isInfoReady | ( | ) |
References frodo2.algorithms.adopt.Preprocessing< Val extends Addable< Val >, U extends Addable< U > >.PreprocessingHeuristic< Val extends Addable< Val >, U extends Addable< U > >.VariableInfo< Val, U >.infoCounter, frodo2.algorithms.adopt.Preprocessing< Val extends Addable< Val >, U extends Addable< U > >.PreprocessingHeuristic< Val extends Addable< Val >, U extends Addable< U > >.VariableInfo< Val, U >.infoSent, frodo2.algorithms.adopt.Preprocessing< Val extends Addable< Val >, U extends Addable< U > >.PreprocessingHeuristic< Val extends Addable< Val >, U extends Addable< U > >.VariableInfo< Val, U >.numberOfChildren, and frodo2.algorithms.adopt.Preprocessing< Val extends Addable< Val >, U extends Addable< U > >.PreprocessingHeuristic< Val extends Addable< Val >, U extends Addable< U > >.VariableInfo< Val, U >.parent.
| void frodo2.algorithms.adopt.Preprocessing< Val extends Addable< Val >, U extends Addable< U > >.DP2< Val extends Addable< Val >, U extends Addable< U > >.VariableInfo.setParent | ( | String | parent | ) |
Set the parent of this variable.
| parent | The parent of this variable |
References frodo2.algorithms.adopt.Preprocessing< Val extends Addable< Val >, U extends Addable< U > >.PreprocessingHeuristic< Val extends Addable< Val >, U extends Addable< U > >.VariableInfo< Val, U >.c, minC, frodo2.algorithms.adopt.Preprocessing< Val extends Addable< Val >, U extends Addable< U > >.DP2< Val extends Addable< Val >, U extends Addable< U > >.p, frodo2.algorithms.adopt.Preprocessing< Val extends Addable< Val >, U extends Addable< U > >.PreprocessingHeuristic< Val extends Addable< Val >, U extends Addable< U > >.VariableInfo< Val, U >.parent, frodo2.algorithms.adopt.Preprocessing< Val extends Addable< Val >, U extends Addable< U > >.PreprocessingHeuristic< Val extends Addable< Val >, U extends Addable< U > >.VariableInfo< Val, U >.variableID, and frodo2.algorithms.adopt.Preprocessing< Val extends Addable< Val >, U extends Addable< U > >.variables.
|
package |
The joint of the constraints between this variable and its ancestors(without its parent), where all variables but itself are projected out.
Referenced by frodo2.algorithms.adopt.Preprocessing< Val extends Addable< Val >, U extends Addable< U > >.DP2< Val extends Addable< Val >, U extends Addable< U > >.createHeuristicInfoMessage(), frodo2.algorithms.adopt.Preprocessing< Val extends Addable< Val >, U extends Addable< U > >.DP2< Val extends Addable< Val >, U extends Addable< U > >.processDFSOutput(), and setParent().