|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|
The UTIL propagation phase for O-DPOP. More...

Classes | |
| class | VariableInfo |
| Convenience class that contains information for a specific variable. More... | |
| class | OptUtilMessage |
| Message sent by roots containing the optimal utility value of their DFS tree. More... | |
| class | GoodsTreeMessage |
| Message used to give the pointer to the goods tree to the VALUE propagation module. More... | |
| class | StatsMessage |
| Message containing statistics. More... | |
Public Member Functions | |
| UTILpropagationFullDomain (Element parameters, DCOPProblemInterface< Val, U > problem) | |
| Constructor for the statsreporter. | |
| UTILpropagationFullDomain (DCOPProblemInterface< Val, U > problem, Element parameters) | |
| Constructor. | |
| UTILpropagationFullDomain (DCOPProblemInterface< Val, U > problem) | |
| Alternative constructor not using XML. | |
| void | getStatsFromQueue (Queue queue) |
| U | getOptUtil () |
| long | getFinalTime () |
| Returns the time at which this module has finished, determined by looking at the timestamp of the stat messages. | |
| void | setSilent (boolean silent) |
| Integer | getMaxMsgDim () |
| Collection< MessageType > | getMsgTypes () |
| void | notifyIn (Message msg) |
| The algorithm. | |
| VariableInfo | newVariableInfoInstanceInnerNode (String var, List< String > children, String parent, Val[] ownVariableDomain, List< UtilitySolutionSpace< Val, U > > usedSpaces, int numberOfChildren, U zeroUtility) |
Method to be used when var is an innernode. | |
| VariableInfo | newVariableInfoInstanceLeafNode (String var, List< String > children, String parent, Val[] ownVariableDomain, List< UtilitySolutionSpace< Val, U > > usedSpaces, int numberOfChildren, U zeroUtility) |
Method to be used when var is an leafnode. | |
| void | setQueue (Queue queue) |
| void | startProcess (VariableInfo variable, int varIndex) |
| This method starts the algorithm for the specified variable, i.e. | |
| void | reset () |
| Public Member Functions inherited from frodo2.communication.IncomingMsgPolicyInterface< T > | |
| default void | notifyIn (Message msg, Object toAgent) |
| Notifies the listener of an incoming message. | |
Static Public Attributes | |
| static MessageType | START_MSG_TYPE = AgentInterface.START_AGENT |
| The type of the message telling the module to start. | |
| static final MessageType | UTIL_MSG = new MessageType ("O-DPOP", "UTILpropagation", "UTIL") |
| The type of the UTIL message. | |
| static final MessageType | UTIL_MSG_VARS = new MessageType ("O-DPOP", "UTILpropagation", "UTIL_VARS") |
| The type of a UTIL message with variables. | |
| static final MessageType | UTIL_MSG_DOM = new MessageType ("O-DPOP", "UTILpropagation", "UTIL_DOM") |
| The type of the UTIL message with domain information. | |
| static final MessageType | UTIL_MSG_DOM_VARS = new MessageType ("O-DPOP", "UTILpropagation", "UTIL_DOM_VARS") |
| The type of the UTIL message with domain information. | |
| static final MessageType | ASK_MSG = new MessageType ("O-DPOP", "UTILpropagation", "ASK") |
| The type of the ASK message. | |
| static final MessageType | DONE_MSG = new MessageType ("O-DPOP", "UTILpropagation", "Done") |
| The type of the DONE message. | |
| static final MessageType | OPT_UTIL_MSG_TYPE = new MessageType ("O-DPOP", "UTILpropagation", "OptUtil") |
| The type of the messages containing optimal utility values sent by roots. | |
| static final MessageType | VALUE_PROP_START_MSG_TYPE = new MessageType ("O-DPOP", "UTILpropagation", "Start VALUE propagation") |
| The type of the message used to start the value propagation. | |
| static final MessageType | GOODS_TREE_MSG_TYPE = new MessageType ("O-DPOP", "UTILpropagation", "Goods tree") |
| The type of the message used to send the GoodsTree to the VALUE propagation module. | |
| static final MessageType | UTIL_STATS_MSG_TYPE = new MessageType ("O-DPOP", "UTILpropagation", "UTILstats") |
| The type of messages sent to the statistics monitor. | |
Protected Member Functions | |
| L | leafNodeInstance () |
| void | init () |
| Method used to initialize the agents fields. | |
| void | processGOOD (VariableInfo variable, Good< Val, U > g, String sender, HashMap< String, Val[]> domains) |
| Method used to process the GOOD messages received by this agent. | |
| void | processASK (VariableInfo variable) |
| Method to process the ASK messages received by this agent. | |
| void | processDONE (VariableInfo variable, String sender) |
| Method sets the entry for the corresponding agent of the done array in variable to true. | |
| void | sendMessageToVariable (String receiver, Message msg, String variableID) |
| Send a message to a variable. | |
| void | log (String variableID, String message) |
| Log function used to print the variables state during debugging. | |
| void | utilPropagationFinished (String variableID, GoodsTree< Val, U, L > tree, U utility, int inducedWidth) |
| Method called when util propagation phase for a certain variable has finished. | |
Protected Attributes | |
| boolean | reportStats = true |
| Whether to report stats. | |
| U | optTotalUtil |
| The optimal, total utility reported to the stats gatherer. | |
| Queue | queue |
| The queue through which all communication flows. | |
| DCOPProblemInterface< Val, U > | problem |
| The agent's problem. | |
| HashMap< String, Integer > | variablePointer |
| Gives the variables' indexes in the arrays. | |
| VariableInfo[] | infos |
| The VariableInfo for each variable. | |
| boolean[] | ready |
| Tells one when a variable is ready to start the algorithm. | |
| Map< String, String > | owners |
| For each variable the agent that owns it. | |
| boolean | started = false |
| Whether the algorithm has been started. | |
| boolean[] | receivedASK |
| For each variable it stores whether an ASK message has been received. | |
| HashMap< String, BufferedWriter > | loggers |
| A list of buffered writers used to log information during debugging. | |
| U | infeasibleUtil |
| The minus infinty object. | |
| boolean | agentFinished |
true when the agent has finished, and false otherwise | |
| Integer | maxMsgDim = 0 |
| In stats gatherer mode, the maximum number of variables in a UTIL message. | |
| long | finalTime |
| The time at which all UTIL propagation modules are finished. | |
| boolean | maximize |
true when solving a maximization problem, and false otherwise | |
| boolean | collectStats |
true when statistics should be collected in the tree, and false otherwise | |
Static Protected Attributes | |
| static final boolean | LOG = false |
| To log or not to log. | |
The UTIL propagation phase for O-DPOP.
| <Val> | type used for variable values |
| <U> | type used for utility values |
| <L> | class used for the leaf node |
| frodo2.algorithms.odpop.UTILpropagationFullDomain< Val extends Addable< Val >, U extends Addable< U >, L extends LeafNode< U > >.UTILpropagationFullDomain | ( | Element | parameters, |
| DCOPProblemInterface< Val, U > | problem ) |
Constructor for the statsreporter.
| problem | the overall problem |
| parameters | the description of what statistics should be reported (currently unused) |
References problem.
| frodo2.algorithms.odpop.UTILpropagationFullDomain< Val extends Addable< Val >, U extends Addable< U >, L extends LeafNode< U > >.UTILpropagationFullDomain | ( | DCOPProblemInterface< Val, U > | problem, |
| Element | parameters ) |
| frodo2.algorithms.odpop.UTILpropagationFullDomain< Val extends Addable< Val >, U extends Addable< U >, L extends LeafNode< U > >.UTILpropagationFullDomain | ( | DCOPProblemInterface< Val, U > | problem | ) |
Alternative constructor not using XML.
| problem | The problem description |
References problem.
| long frodo2.algorithms.odpop.UTILpropagationFullDomain< Val extends Addable< Val >, U extends Addable< U >, L extends LeafNode< U > >.getFinalTime | ( | ) |
Returns the time at which this module has finished, determined by looking at the timestamp of the stat messages.
References finalTime.
| Integer frodo2.algorithms.odpop.UTILpropagationFullDomain< Val extends Addable< Val >, U extends Addable< U >, L extends LeafNode< U > >.getMaxMsgDim | ( | ) |
| Collection< MessageType > frodo2.algorithms.odpop.UTILpropagationFullDomain< Val extends Addable< Val >, U extends Addable< U >, L extends LeafNode< U > >.getMsgTypes | ( | ) |
Implements frodo2.communication.MessageListener< T >.
References frodo2.algorithms.AgentInterface< V extends Addable< V > >.AGENT_FINISHED, ASK_MSG, DONE_MSG, frodo2.algorithms.odpop.VALUEpropagation< Val extends Addable< Val >, U extends Addable< U > >.GOODS_TREE_REQUEST_MESSAGE, frodo2.algorithms.varOrdering.dfs.DFSgeneration< V extends Addable< V >, U extends Addable< U > >.OUTPUT_MSG_TYPE, START_MSG_TYPE, UTIL_MSG, UTIL_MSG_DOM, UTIL_MSG_DOM_VARS, and UTIL_MSG_VARS.
| U frodo2.algorithms.odpop.UTILpropagationFullDomain< Val extends Addable< Val >, U extends Addable< U >, L extends LeafNode< U > >.getOptUtil | ( | ) |
Referenced by frodo2.algorithms.odpop.ODPOPsolver< V extends Addable< V >, U extends Addable< U > >.buildSolution().
| void frodo2.algorithms.odpop.UTILpropagationFullDomain< Val extends Addable< Val >, U extends Addable< U >, L extends LeafNode< U > >.getStatsFromQueue | ( | Queue | queue | ) |
Implements frodo2.algorithms.StatsReporter.
References OPT_UTIL_MSG_TYPE, queue, and UTIL_STATS_MSG_TYPE.
|
protected |
|
protected |
References leafNodeInstance().
Referenced by leafNodeInstance(), and newVariableInfoInstanceInnerNode().

|
protected |
Log function used to print the variables state during debugging.
| variableID | The ID of the variable that is logging |
| message | The message that must be logged |
Referenced by processASK(), processDONE(), processGOOD(), sendMessageToVariable(), startProcess(), and frodo2.algorithms.odpop.UTILpropagationFullDomain< Val extends Addable< Val >, U extends Addable< U >, L extends LeafNode< U > >.VariableInfo.VariableInfo().
| VariableInfo frodo2.algorithms.odpop.UTILpropagationFullDomain< Val extends Addable< Val >, U extends Addable< U >, L extends LeafNode< U > >.newVariableInfoInstanceInnerNode | ( | String | var, |
| List< String > | children, | ||
| String | parent, | ||
| Val[] | ownVariableDomain, | ||
| List< UtilitySolutionSpace< Val, U > > | usedSpaces, | ||
| int | numberOfChildren, | ||
| U | zeroUtility ) |
Method to be used when var is an innernode.
| var | the variable name |
| children | the DFS children of the variable |
| parent | the DFS parent of the variable |
| ownVariableDomain | the domain of the variable |
| usedSpaces | the spaces owned by the variable |
| numberOfChildren | the number of DFS children of the variable |
| zeroUtility | the zero utility |
References collectStats, infeasibleUtil, leafNodeInstance(), maximize, and problem.

| VariableInfo frodo2.algorithms.odpop.UTILpropagationFullDomain< Val extends Addable< Val >, U extends Addable< U >, L extends LeafNode< U > >.newVariableInfoInstanceLeafNode | ( | String | var, |
| List< String > | children, | ||
| String | parent, | ||
| Val[] | ownVariableDomain, | ||
| List< UtilitySolutionSpace< Val, U > > | usedSpaces, | ||
| int | numberOfChildren, | ||
| U | zeroUtility ) |
Method to be used when var is an leafnode.
| var | the variable name |
| children | the DFS children of the variable |
| parent | the DFS parent of the variable |
| ownVariableDomain | the domain of the variable |
| usedSpaces | the spaces owned by the variable |
| numberOfChildren | the number of DFS children of the variable |
| zeroUtility | the zero utility |
References collectStats, infeasibleUtil, maximize, and problem.
| void frodo2.algorithms.odpop.UTILpropagationFullDomain< Val extends Addable< Val >, U extends Addable< U >, L extends LeafNode< U > >.notifyIn | ( | Message | msg | ) |
The algorithm.
Implements frodo2.communication.IncomingMsgPolicyInterface< T >.
References frodo2.communication.MessageType.equals(), finalTime, notifyIn(), OPT_UTIL_MSG_TYPE, and queue.
Referenced by notifyIn().

|
protected |
Method to process the ASK messages received by this agent.
| variable | The variable information |
References frodo2.algorithms.odpop.UTILpropagationFullDomain< Val extends Addable< Val >, U extends Addable< U >, L extends LeafNode< U > >.VariableInfo.children, frodo2.algorithms.odpop.UTILpropagationFullDomain< Val extends Addable< Val >, U extends Addable< U >, L extends LeafNode< U > >.VariableInfo.done, frodo2.algorithms.odpop.UTILpropagationFullDomain< Val extends Addable< Val >, U extends Addable< U >, L extends LeafNode< U > >.VariableInfo.getAskMessage(), frodo2.algorithms.odpop.UTILpropagationFullDomain< Val extends Addable< Val >, U extends Addable< U >, L extends LeafNode< U > >.VariableInfo.getNewVariable(), frodo2.algorithms.odpop.Good< Val extends Addable< Val >, U extends Addable< U > >.getUtility(), frodo2.algorithms.odpop.UTILpropagationFullDomain< Val extends Addable< Val >, U extends Addable< U >, L extends LeafNode< U > >.VariableInfo.infeasible, LOG, log(), frodo2.algorithms.odpop.UTILpropagationFullDomain< Val extends Addable< Val >, U extends Addable< U >, L extends LeafNode< U > >.VariableInfo.parent, queue, frodo2.algorithms.odpop.UTILpropagationFullDomain< Val extends Addable< Val >, U extends Addable< U >, L extends LeafNode< U > >.VariableInfo.root, sendMessageToVariable(), frodo2.algorithms.odpop.UTILpropagationFullDomain< Val extends Addable< Val >, U extends Addable< U >, L extends LeafNode< U > >.VariableInfo.setNewVariable(), frodo2.algorithms.AgentInterface< V extends Addable< V > >.STATS_MONITOR, frodo2.algorithms.odpop.UTILpropagationFullDomain< Val extends Addable< Val >, U extends Addable< U >, L extends LeafNode< U > >.VariableInfo.toString(), frodo2.algorithms.odpop.UTILpropagationFullDomain< Val extends Addable< Val >, U extends Addable< U >, L extends LeafNode< U > >.VariableInfo.tree, and frodo2.algorithms.odpop.UTILpropagationFullDomain< Val extends Addable< Val >, U extends Addable< U >, L extends LeafNode< U > >.VariableInfo.variableID.
Referenced by processDONE(), and startProcess().

|
protected |
Method sets the entry for the corresponding agent of the done array in variable to true.
| variable | The variables to whom this message has been sent |
| sender | The sender of the message |
References frodo2.algorithms.odpop.UTILpropagationFullDomain< Val extends Addable< Val >, U extends Addable< U >, L extends LeafNode< U > >.VariableInfo.childrenPointer, frodo2.algorithms.odpop.UTILpropagationFullDomain< Val extends Addable< Val >, U extends Addable< U >, L extends LeafNode< U > >.VariableInfo.done, frodo2.algorithms.odpop.Good< Val extends Addable< Val >, U extends Addable< U > >.getUtility(), frodo2.algorithms.odpop.UTILpropagationFullDomain< Val extends Addable< Val >, U extends Addable< U >, L extends LeafNode< U > >.VariableInfo.infeasible, LOG, log(), processASK(), frodo2.algorithms.odpop.UTILpropagationFullDomain< Val extends Addable< Val >, U extends Addable< U >, L extends LeafNode< U > >.VariableInfo.responded, frodo2.algorithms.odpop.UTILpropagationFullDomain< Val extends Addable< Val >, U extends Addable< U >, L extends LeafNode< U > >.VariableInfo.root, frodo2.algorithms.odpop.UTILpropagationFullDomain< Val extends Addable< Val >, U extends Addable< U >, L extends LeafNode< U > >.VariableInfo.terminated, frodo2.algorithms.odpop.UTILpropagationFullDomain< Val extends Addable< Val >, U extends Addable< U >, L extends LeafNode< U > >.VariableInfo.toString(), frodo2.algorithms.odpop.UTILpropagationFullDomain< Val extends Addable< Val >, U extends Addable< U >, L extends LeafNode< U > >.VariableInfo.tree, utilPropagationFinished(), and frodo2.algorithms.odpop.UTILpropagationFullDomain< Val extends Addable< Val >, U extends Addable< U >, L extends LeafNode< U > >.VariableInfo.variableID.

|
protected |
Method used to process the GOOD messages received by this agent.
| variable | The variable information |
| g | The good received |
| sender | The sender of the good |
| domains | the domains of the children variables |
References frodo2.algorithms.odpop.UTILpropagationFullDomain< Val extends Addable< Val >, U extends Addable< U >, L extends LeafNode< U > >.VariableInfo.childrenPointer, frodo2.algorithms.odpop.UTILpropagationFullDomain< Val extends Addable< Val >, U extends Addable< U >, L extends LeafNode< U > >.VariableInfo.done, frodo2.algorithms.odpop.UTILpropagationFullDomain< Val extends Addable< Val >, U extends Addable< U >, L extends LeafNode< U > >.VariableInfo.getAskMessage(), frodo2.algorithms.odpop.UTILpropagationFullDomain< Val extends Addable< Val >, U extends Addable< U >, L extends LeafNode< U > >.VariableInfo.getNewVariable(), frodo2.algorithms.odpop.Good< Val extends Addable< Val >, U extends Addable< U > >.getUtility(), LOG, log(), frodo2.algorithms.odpop.UTILpropagationFullDomain< Val extends Addable< Val >, U extends Addable< U >, L extends LeafNode< U > >.VariableInfo.parent, frodo2.algorithms.odpop.UTILpropagationFullDomain< Val extends Addable< Val >, U extends Addable< U >, L extends LeafNode< U > >.VariableInfo.responded, frodo2.algorithms.odpop.UTILpropagationFullDomain< Val extends Addable< Val >, U extends Addable< U >, L extends LeafNode< U > >.VariableInfo.root, sendMessageToVariable(), frodo2.algorithms.odpop.UTILpropagationFullDomain< Val extends Addable< Val >, U extends Addable< U >, L extends LeafNode< U > >.VariableInfo.setNewVariable(), frodo2.algorithms.odpop.UTILpropagationFullDomain< Val extends Addable< Val >, U extends Addable< U >, L extends LeafNode< U > >.VariableInfo.terminated, frodo2.algorithms.odpop.UTILpropagationFullDomain< Val extends Addable< Val >, U extends Addable< U >, L extends LeafNode< U > >.VariableInfo.tree, utilPropagationFinished(), and frodo2.algorithms.odpop.UTILpropagationFullDomain< Val extends Addable< Val >, U extends Addable< U >, L extends LeafNode< U > >.VariableInfo.variableID.

| void frodo2.algorithms.odpop.UTILpropagationFullDomain< Val extends Addable< Val >, U extends Addable< U >, L extends LeafNode< U > >.reset | ( | ) |
Implements frodo2.algorithms.StatsReporter.
|
protected |
Send a message to a variable.
| receiver | The recipient of the message |
| msg | The message to be send |
| variableID | THe ID of the recipient of the message |
References frodo2.communication.Message.getType(), LOG, log(), owners, and queue.
Referenced by processASK(), processGOOD(), and startProcess().

| void frodo2.algorithms.odpop.UTILpropagationFullDomain< Val extends Addable< Val >, U extends Addable< U >, L extends LeafNode< U > >.setQueue | ( | Queue | queue | ) |
Implements frodo2.communication.MessageListener< T >.
References queue.
| void frodo2.algorithms.odpop.UTILpropagationFullDomain< Val extends Addable< Val >, U extends Addable< U >, L extends LeafNode< U > >.setSilent | ( | boolean | silent | ) |
Implements frodo2.algorithms.StatsReporter.
| void frodo2.algorithms.odpop.UTILpropagationFullDomain< Val extends Addable< Val >, U extends Addable< U >, L extends LeafNode< U > >.startProcess | ( | VariableInfo | variable, |
| int | varIndex ) |
This method starts the algorithm for the specified variable, i.e.
if the variable is the root an ASK message is sent. If not an ASK message is sent if an ASK message has been received
| variable | The variable info |
| varIndex | The index of the variable |
References frodo2.algorithms.odpop.UTILpropagationFullDomain< Val extends Addable< Val >, U extends Addable< U >, L extends LeafNode< U > >.VariableInfo.children, frodo2.algorithms.odpop.UTILpropagationFullDomain< Val extends Addable< Val >, U extends Addable< U >, L extends LeafNode< U > >.VariableInfo.done, frodo2.algorithms.odpop.UTILpropagationFullDomain< Val extends Addable< Val >, U extends Addable< U >, L extends LeafNode< U > >.VariableInfo.getAskMessage(), frodo2.algorithms.odpop.Good< Val extends Addable< Val >, U extends Addable< U > >.getUtility(), LOG, log(), frodo2.output, processASK(), queue, receivedASK, frodo2.algorithms.odpop.UTILpropagationFullDomain< Val extends Addable< Val >, U extends Addable< U >, L extends LeafNode< U > >.VariableInfo.root, sendMessageToVariable(), frodo2.algorithms.AgentInterface< V extends Addable< V > >.STATS_MONITOR, frodo2.algorithms.odpop.Good< Val extends Addable< Val >, U extends Addable< U > >.toString(), frodo2.algorithms.odpop.UTILpropagationFullDomain< Val extends Addable< Val >, U extends Addable< U >, L extends LeafNode< U > >.VariableInfo.tree, and frodo2.algorithms.odpop.UTILpropagationFullDomain< Val extends Addable< Val >, U extends Addable< U >, L extends LeafNode< U > >.VariableInfo.variableID.

|
protected |
Method called when util propagation phase for a certain variable has finished.
| variableID | the ID of the variable that is finished |
| tree | the goods tree |
| utility | the optimal utility |
| inducedWidth | the induced with of the DFS tree used |
References queue, and frodo2.algorithms.AgentInterface< V extends Addable< V > >.STATS_MONITOR.
Referenced by processDONE(), and processGOOD().
|
protected |
true when the agent has finished, and false otherwise
|
static |
The type of the ASK message.
Referenced by frodo2.algorithms.odpop.ASKmsg.ASKmsg(), frodo2.algorithms.odpop.ASKmsg.ASKmsg(), and getMsgTypes().
|
protected |
true when statistics should be collected in the tree, and false otherwise
Referenced by newVariableInfoInstanceInnerNode(), and newVariableInfoInstanceLeafNode().
|
static |
The type of the DONE message.
Referenced by frodo2.algorithms.odpop.DONEmsg.DONEmsg(), frodo2.algorithms.odpop.DONEmsg.DONEmsg(), and getMsgTypes().
|
protected |
The time at which all UTIL propagation modules are finished.
Referenced by getFinalTime(), and notifyIn().
|
static |
The type of the message used to send the GoodsTree to the VALUE propagation module.
Referenced by frodo2.algorithms.odpop.VALUEpropagation< Val extends Addable< Val >, U extends Addable< U > >.getMsgTypes(), frodo2.algorithms.odpop.UTILpropagationFullDomain< Val extends Addable< Val >, U extends Addable< U >, L extends LeafNode< U > >.GoodsTreeMessage< Val extends Addable< Val >, U extends Addable< U >, L extends Node< U > >.GoodsTreeMessage(), and frodo2.algorithms.odpop.VALUEpropagation< Val extends Addable< Val >, U extends Addable< U > >.notifyIn().
|
protected |
The minus infinty object.
Referenced by newVariableInfoInstanceInnerNode(), and newVariableInfoInstanceLeafNode().
|
protected |
The VariableInfo for each variable.
Referenced by init().
|
staticprotected |
|
protected |
|
protected |
true when solving a maximization problem, and false otherwise
Referenced by init(), newVariableInfoInstanceInnerNode(), and newVariableInfoInstanceLeafNode().
|
protected |
In stats gatherer mode, the maximum number of variables in a UTIL message.
|
static |
The type of the messages containing optimal utility values sent by roots.
Referenced by frodo2.algorithms.odpop.tests.UTILpropagationTest< V extends Addable< V >, U extends Addable< U > >.getMsgTypes(), frodo2.algorithms.odpop.tests.VALUEpropagationTest< V extends Addable< V >, U extends Addable< U > >.getMsgTypes(), getStatsFromQueue(), frodo2.algorithms.odpop.tests.UTILpropagationTest< V extends Addable< V >, U extends Addable< U > >.notifyIn(), frodo2.algorithms.odpop.tests.VALUEpropagationTest< V extends Addable< V >, U extends Addable< U > >.notifyIn(), notifyIn(), and frodo2.algorithms.odpop.UTILpropagationFullDomain< Val extends Addable< Val >, U extends Addable< U >, L extends LeafNode< U > >.OptUtilMessage< U extends Addable< U > >.OptUtilMessage().
|
protected |
The optimal, total utility reported to the stats gatherer.
|
protected |
For each variable the agent that owns it.
Referenced by init(), and sendMessageToVariable().
|
protected |
The agent's problem.
Referenced by init(), newVariableInfoInstanceInnerNode(), newVariableInfoInstanceLeafNode(), UTILpropagationFullDomain(), UTILpropagationFullDomain(), and UTILpropagationFullDomain().
|
protected |
The queue through which all communication flows.
Referenced by getStatsFromQueue(), notifyIn(), processASK(), sendMessageToVariable(), setQueue(), startProcess(), and utilPropagationFinished().
|
protected |
Tells one when a variable is ready to start the algorithm.
Referenced by init().
|
protected |
For each variable it stores whether an ASK message has been received.
Referenced by init(), and startProcess().
|
protected |
Whether to report stats.
|
static |
The type of the message telling the module to start.
Referenced by getMsgTypes().
|
protected |
Whether the algorithm has been started.
Referenced by init().
|
static |
The type of the UTIL message.
Referenced by getMsgTypes(), frodo2.algorithms.odpop.UTILmsg< Val extends Addable< Val >, U extends Addable< U > >.UTILmsg(), and frodo2.algorithms.odpop.UTILmsg< Val extends Addable< Val >, U extends Addable< U > >.UTILmsg().
|
static |
The type of the UTIL message with domain information.
Referenced by getMsgTypes(), frodo2.algorithms.odpop.UTILdomMsg< Val extends Addable< Val >, U extends Addable< U > >.UTILdomMsg(), and frodo2.algorithms.odpop.UTILdomMsg< Val extends Addable< Val >, U extends Addable< U > >.UTILdomMsg().
|
static |
The type of the UTIL message with domain information.
Referenced by getMsgTypes(), frodo2.algorithms.odpop.UTILvarsMsgWithDom< Val extends Addable< Val >, U extends Addable< U > >.UTILvarsMsgWithDom(), and frodo2.algorithms.odpop.UTILvarsMsgWithDom< Val extends Addable< Val >, U extends Addable< U > >.UTILvarsMsgWithDom().
|
static |
The type of a UTIL message with variables.
Referenced by getMsgTypes(), frodo2.algorithms.odpop.UTILvarsDomsMsg< Val extends Addable< Val >, U extends Addable< U > >.UTILvarsDomsMsg(), frodo2.algorithms.odpop.UTILvarsDomsMsg< Val extends Addable< Val >, U extends Addable< U > >.UTILvarsDomsMsg(), frodo2.algorithms.odpop.UTILvarsMsg< Val extends Addable< Val >, U extends Addable< U > >.UTILvarsMsg(), and frodo2.algorithms.odpop.UTILvarsMsg< Val extends Addable< Val >, U extends Addable< U > >.UTILvarsMsg().
|
static |
The type of messages sent to the statistics monitor.
Referenced by getStatsFromQueue(), and frodo2.algorithms.odpop.UTILpropagationFullDomain< Val extends Addable< Val >, U extends Addable< U >, L extends LeafNode< U > >.StatsMessage.StatsMessage().
|
static |
The type of the message used to start the value propagation.
|
protected |
Gives the variables' indexes in the arrays.
Referenced by init().