|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|
A variable node in a factor graph. More...

Public Member Functions | |
| 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 | |
| final String | varName |
| The name of this variable. | |
| final V[] | dom |
| The domain of the variable. | |
Private Attributes | |
| final String | agent |
| The agent that controls this variable node. | |
| final ArrayList< FunctionNode< V, U > > | functions = new ArrayList< FunctionNode<V, U> > () |
| The functions this variable is involved in. | |
A variable node in a factor graph.
| <V> | the type used for variable values |
| <U> | the type used for utility values |
| frodo2.algorithms.varOrdering.factorgraph.VariableNode< V extends Addable< V >, U extends Addable< U > >.VariableNode | ( | String | varName, |
| String | agent, | ||
| V[] | dom ) |
| void frodo2.algorithms.varOrdering.factorgraph.VariableNode< V extends Addable< V >, U extends Addable< U > >.addFunction | ( | FunctionNode< V, U > | function | ) |
Adds a function in which this variable is involved.
| function | the function node |
Referenced by frodo2.algorithms.varOrdering.factorgraph.FactorGraphGen< V extends Addable< V >, U extends Addable< U > >.notifyIn(), and frodo2.algorithms.maxsum.MaxSum< V extends Addable< V >, U extends Addable< U > >.VarInfo.VarInfo().
| String frodo2.algorithms.varOrdering.factorgraph.VariableNode< V extends Addable< V >, U extends Addable< U > >.getAgent | ( | ) |
References agent.
Referenced by frodo2.algorithms.maxsum.MaxSum< V extends Addable< V >, U extends Addable< U > >.notifyIn().
| V[] frodo2.algorithms.varOrdering.factorgraph.VariableNode< V extends Addable< V >, U extends Addable< U > >.getDom | ( | ) |
References dom.
Referenced by frodo2.algorithms.maxsum.MaxSum< V extends Addable< V >, U extends Addable< U > >.notifyIn().
| ArrayList< FunctionNode< V, U > > frodo2.algorithms.varOrdering.factorgraph.VariableNode< V extends Addable< V >, U extends Addable< U > >.getFunctions | ( | ) |
References functions.
Referenced by frodo2.algorithms.maxsum.MaxSum< V extends Addable< V >, U extends Addable< U > >.notifyIn().
| String frodo2.algorithms.varOrdering.factorgraph.VariableNode< V extends Addable< V >, U extends Addable< U > >.getVarName | ( | ) |
References varName.
Referenced by frodo2.algorithms.maxsum.MaxSum< V extends Addable< V >, U extends Addable< U > >.notifyIn().
| String frodo2.algorithms.varOrdering.factorgraph.VariableNode< V extends Addable< V >, U extends Addable< U > >.toString | ( | ) |
|
private |
The agent that controls this variable node.
Referenced by getAgent(), VariableNode(), and frodo2.algorithms.maxsum.MaxSum< V extends Addable< V >, U extends Addable< U > >.VarInfo.VarInfo().
|
protected |
The domain of the variable.
Referenced by getDom(), VariableNode(), and frodo2.algorithms.maxsum.MaxSum< V extends Addable< V >, U extends Addable< U > >.VarInfo.VarInfo().
|
private |
The functions this variable is involved in.
Referenced by getFunctions(), and frodo2.algorithms.maxsum.MaxSum< V extends Addable< V >, U extends Addable< U > >.VarInfo.VarInfo().
|
protected |
The name of this variable.
Referenced by getVarName(), VariableNode(), and frodo2.algorithms.maxsum.MaxSum< V extends Addable< V >, U extends Addable< U > >.VarInfo.VarInfo().