|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|
Information about an internal variable. More...

Private Member Functions | |
| VarInfo (String varName, String agent, ArrayList< FunctionNode< V, U > > functions) | |
| Constructor. | |
| boolean | doIrespond (String senderVar, UtilitySolutionSpace< V, U > marginalUtil) |
| Returns whether to respond to this message. | |
Private Attributes | |
| HashMap< String, UtilitySolutionSpace< V, U > > | lastMsgsIn = new HashMap< String, UtilitySolutionSpace<V, U> > () |
| The last marginal utility received from each function node. | |
| final int | nbrNeighbors |
| Number of neighboring function nodes. | |
| int | nbrIter |
| The remaining number of iterations for this node. | |
| V | optVal |
| The current optimal value for this variable. | |
Additional Inherited Members | |
| Public Member Functions inherited from frodo2.algorithms.varOrdering.factorgraph.VariableNode< V extends Addable< V >, U extends Addable< U > > | |
| VariableNode (String varName, String agent, V[] dom) | |
| Constructor. | |
| String | toString () |
| void | addFunction (FunctionNode< V, U > function) |
| Adds a function in which this variable is involved. | |
| String | getVarName () |
| V[] | getDom () |
| ArrayList< FunctionNode< V, U > > | getFunctions () |
| String | getAgent () |
| Protected Attributes inherited from frodo2.algorithms.varOrdering.factorgraph.VariableNode< V extends Addable< V >, U extends Addable< U > > | |
| final String | varName |
| The name of this variable. | |
| final V[] | dom |
| The domain of the variable. | |
Information about an internal variable.
|
private |
Constructor.
| varName | The name of this variable |
| agent | The agent controlling this variable node |
| functions | The list of neighboring function nodes |
References frodo2.algorithms.varOrdering.factorgraph.VariableNode< V extends Addable< V >, U extends Addable< U > >.addFunction(), frodo2.algorithms.varOrdering.factorgraph.VariableNode< V extends Addable< V >, U extends Addable< U > >.agent, frodo2.algorithms.varOrdering.factorgraph.VariableNode< V extends Addable< V >, U extends Addable< U > >.dom, frodo2.algorithms.varOrdering.factorgraph.VariableNode< V extends Addable< V >, U extends Addable< U > >.functions, frodo2.algorithms.maxsum.MaxSum< V extends Addable< V >, U extends Addable< U > >.maxNbrIter, frodo2.algorithms.maxsum.MaxSum< V extends Addable< V >, U extends Addable< U > >.problem, frodo2.algorithms.maxsum.MaxSum< V extends Addable< V >, U extends Addable< U > >.synchronous, frodo2.algorithms.varOrdering.factorgraph.VariableNode< V extends Addable< V >, U extends Addable< U > >.varName, and frodo2.algorithms.maxsum.MaxSum< V extends Addable< V >, U extends Addable< U > >.zeroSpace().

|
private |
Returns whether to respond to this message.
| senderVar | the sender variable |
| marginalUtil | the received message |
References frodo2.algorithms.maxsum.MaxSum< V extends Addable< V >, U extends Addable< U > >.synchronous.
Referenced by frodo2.algorithms.maxsum.MaxSum< V extends Addable< V >, U extends Addable< U > >.notifyIn().
|
private |
The last marginal utility received from each function node.
Referenced by frodo2.algorithms.maxsum.MaxSum< V extends Addable< V >, U extends Addable< U > >.notifyIn().
|
private |
The remaining number of iterations for this node.
Referenced by frodo2.algorithms.maxsum.MaxSum< V extends Addable< V >, U extends Addable< U > >.notifyIn().
|
private |
Number of neighboring function nodes.
Referenced by frodo2.algorithms.maxsum.MaxSum< V extends Addable< V >, U extends Addable< U > >.notifyIn().
|
private |
The current optimal value for this variable.
Referenced by frodo2.algorithms.maxsum.MaxSum< V extends Addable< V >, U extends Addable< U > >.notifyIn().