|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|
MB-DPOP's labeling phase that identifies cluster roots (CRs) and cycle-cut (CC) nodes. More...

Classes | |
| class | VarInfo |
| A class containing all the useful information about one of the agent's variables. More... | |
| class | StatsMsg |
| A message containing stats about a variable. More... | |
| class | OutputMsg |
| The output message for a given variable. More... | |
Public Member Functions | |
| LabelingPhase (DCOPProblemInterface< V, ?> problem, Element params) | |
| Constructor. | |
| LabelingPhase (Element params, DCOPProblemInterface< V, ?> problem) | |
| Constructor in stats gatherer mode. | |
| void | setQueue (Queue queue) |
| Collection< MessageType > | getMsgTypes () |
| void | getStatsFromQueue (Queue queue) |
| void | setSilent (boolean silent) |
| void | notifyIn (Message msg) |
| 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 final MessageType | OUTPUT_MSG_TYPE = new MessageType ("MB-DPOP", "LabelingPhase", "Output") |
| The type of the output messages. | |
Private Member Functions | |
| void | printDFS () |
| Prints the DFS with the clusters. | |
| void | start () |
| Starts the algorithm. | |
Private Attributes | |
| Queue | queue |
| The agent's queue. | |
| DCOPProblemInterface< V, ?> | problem |
| The agent's subproblem. | |
| final short | maxDim |
| The maximum number of variables in a UTIL message. | |
| boolean | started = false |
| Whether the algorithm has already started. | |
| HashMap< String, VarInfo > | varInfos |
| Each interval variable's VarInfo. | |
| boolean | reportStats = true |
| Whether to report stats. | |
| String | dotRendererClass = "" |
| The name of the class of the DOT renderer. | |
Static Private Attributes | |
| static final MessageType | STATS_MSG_TYPE = new MessageType ("MB-DPOP", "LabelingPhase", "ClusterStats") |
| The type of the stats messages. | |
MB-DPOP's labeling phase that identifies cluster roots (CRs) and cycle-cut (CC) nodes.
Adrian Petcu and Boi Faltings. MB-DPOP: A new memory-bounded algorithm for distributed optimization. In Manuela M. Veloso, editor, Proceedings of the Twentieth International Joint Conference on Artificial Intelligence (IJCAI'07), pages 1452-1457, Hyderabad, India, January 6-12 2007.
| <V> | the type used for variable values |
| frodo2.algorithms.dpop.memory.LabelingPhase< V extends Addable< V > >.LabelingPhase | ( | DCOPProblemInterface< V, ?> | problem, |
| Element | params ) |
Constructor.
| problem | the agent's subproblem |
| params | the module parameters |
References problem.
| frodo2.algorithms.dpop.memory.LabelingPhase< V extends Addable< V > >.LabelingPhase | ( | Element | params, |
| DCOPProblemInterface< V, ?> | problem ) |
Constructor in stats gatherer mode.
| params | the module parameters |
| problem | the overall problem |
References frodo2.solutionSpaces.DCOPProblemInterface< V extends Addable< V >, U extends Addable< U > >.getNbrVars(), and problem.

| Collection< MessageType > frodo2.algorithms.dpop.memory.LabelingPhase< V extends Addable< V > >.getMsgTypes | ( | ) |
Implements frodo2.communication.MessageListener< T >.
References frodo2.algorithms.dpop.memory.LabelMsg< V extends Addable< V > >.LABEL_MSG_TYPE, frodo2.algorithms.varOrdering.dfs.DFSgeneration< V extends Addable< V >, U extends Addable< U > >.OUTPUT_MSG_TYPE, and frodo2.algorithms.AgentInterface< V extends Addable< V > >.START_AGENT.
| void frodo2.algorithms.dpop.memory.LabelingPhase< V extends Addable< V > >.getStatsFromQueue | ( | Queue | queue | ) |
Implements frodo2.algorithms.StatsReporter.
References queue, and STATS_MSG_TYPE.
| void frodo2.algorithms.dpop.memory.LabelingPhase< V extends Addable< V > >.notifyIn | ( | Message | msg | ) |
Implements frodo2.communication.IncomingMsgPolicyInterface< T >.
References frodo2.algorithms.dpop.memory.LabelingPhase< V extends Addable< V > >.VarInfo.ccs, frodo2.algorithms.dpop.memory.LabelingPhase< V extends Addable< V > >.VarInfo.dfsView, frodo2.communication.MessageType.equals(), frodo2.algorithms.varOrdering.dfs.DFSgeneration< V extends Addable< V >, U extends Addable< U > >.DFSview< V extends Addable< V >, U extends Addable< U > >.getAllPseudoChildren(), frodo2.algorithms.dpop.memory.LabelMsg< V extends Addable< V > >.getCCs(), frodo2.algorithms.varOrdering.dfs.DFSgeneration< V extends Addable< V >, U extends Addable< U > >.DFSview< V extends Addable< V >, U extends Addable< U > >.getChildren(), frodo2.algorithms.dpop.memory.LabelMsg< V extends Addable< V > >.getDest(), frodo2.solutionSpaces.DCOPProblemInterface< V extends Addable< V >, U extends Addable< U > >.getDomain(), frodo2.algorithms.varOrdering.dfs.DFSgeneration< V extends Addable< V >, U extends Addable< U > >.MessageDFSoutput< V extends Addable< V >, U extends Addable< U > >.getNeighbors(), frodo2.solutionSpaces.DCOPProblemInterface< V extends Addable< V >, U extends Addable< U > >.getOwner(), frodo2.communication.MessageWith3Payloads< T1 extends Serializable, T2 extends Serializable, T3 extends Serializable >.getPayload1(), frodo2.communication.MessageWith3Payloads< T1 extends Serializable, T2 extends Serializable, T3 extends Serializable >.getPayload2(), frodo2.communication.MessageWith3Payloads< T1 extends Serializable, T2 extends Serializable, T3 extends Serializable >.getPayload3(), frodo2.algorithms.dpop.memory.LabelMsg< V extends Addable< V > >.getSender(), frodo2.algorithms.dpop.memory.LabelMsg< V extends Addable< V > >.getSep(), frodo2.communication.Message.getType(), frodo2.algorithms.varOrdering.dfs.DFSgeneration< V extends Addable< V >, U extends Addable< U > >.MessageDFSoutput< V extends Addable< V >, U extends Addable< U > >.getVar(), frodo2.algorithms.dpop.memory.LabelMsg< V extends Addable< V > >.LABEL_MSG_TYPE, frodo2.algorithms.dpop.memory.LabelingPhase< V extends Addable< V > >.VarInfo.name, frodo2.algorithms.dpop.memory.LabelingPhase< V extends Addable< V > >.VarInfo.nbrMsgsLeft, frodo2.algorithms.dpop.memory.LabelingPhase< V extends Addable< V > >.VarInfo.neighbors, frodo2.algorithms.varOrdering.dfs.DFSgeneration< V extends Addable< V >, U extends Addable< U > >.OUTPUT_MSG_TYPE, printDFS(), frodo2.communication.Queue.sendMessage(), frodo2.communication.Queue.sendMessageToSelf(), frodo2.algorithms.dpop.memory.LabelingPhase< V extends Addable< V > >.VarInfo.sep, start(), frodo2.algorithms.AgentInterface< V extends Addable< V > >.START_AGENT, frodo2.algorithms.AgentInterface< V extends Addable< V > >.STATS_MONITOR, and STATS_MSG_TYPE.

|
private |
Prints the DFS with the clusters.
References dotRendererClass, frodo2.algorithms.varOrdering.dfs.DFSgeneration< V extends Addable< V >, U extends Addable< U > >.DFSview< V extends Addable< V >, U extends Addable< U > >.getAllPseudoChildren(), frodo2.algorithms.varOrdering.dfs.DFSgeneration< V extends Addable< V >, U extends Addable< U > >.DFSview< V extends Addable< V >, U extends Addable< U > >.getChildren(), frodo2.solutionSpaces.DCOPProblemInterface< V extends Addable< V >, U extends Addable< U > >.getNbrVars(), frodo2.algorithms.varOrdering.dfs.DFSgeneration< V extends Addable< V >, U extends Addable< U > >.DFSview< V extends Addable< V >, U extends Addable< U > >.getParent(), and frodo2.algorithms.varOrdering.dfs.DFSgeneration< V extends Addable< V >, U extends Addable< U > >.DFSview< V extends Addable< V >, U extends Addable< U > >.getPseudoParents().
Referenced by notifyIn().

| void frodo2.algorithms.dpop.memory.LabelingPhase< V extends Addable< V > >.reset | ( | ) |
Implements frodo2.algorithms.StatsReporter.
| void frodo2.algorithms.dpop.memory.LabelingPhase< V extends Addable< V > >.setQueue | ( | Queue | queue | ) |
Implements frodo2.communication.MessageListener< T >.
References queue.
| void frodo2.algorithms.dpop.memory.LabelingPhase< V extends Addable< V > >.setSilent | ( | boolean | silent | ) |
Implements frodo2.algorithms.StatsReporter.
|
private |
Starts the algorithm.
References frodo2.solutionSpaces.DCOPProblemInterface< V extends Addable< V >, U extends Addable< U > >.getNbrIntVars().
Referenced by notifyIn().

|
private |
The name of the class of the DOT renderer.
Referenced by printDFS().
|
private |
The maximum number of variables in a UTIL message.
|
static |
The type of the output messages.
Referenced by frodo2.algorithms.dpop.memory.MemoryBoundedUTIL< V extends Addable< V >, U extends Addable< U > >.getMsgTypes(), frodo2.algorithms.dpop.memory.MemoryBoundedUTIL< V extends Addable< V >, U extends Addable< U > >.notifyIn(), and frodo2.algorithms.dpop.memory.LabelingPhase< V extends Addable< V > >.OutputMsg< V extends Addable< V > >.OutputMsg().
|
private |
The agent's subproblem.
Referenced by LabelingPhase(), and LabelingPhase().
|
private |
The agent's queue.
Referenced by getStatsFromQueue(), and setQueue().
|
private |
Whether to report stats.
|
private |
Whether the algorithm has already started.
|
staticprivate |
The type of the stats messages.
Referenced by getStatsFromQueue(), notifyIn(), and frodo2.algorithms.dpop.memory.LabelingPhase< V extends Addable< V > >.StatsMsg< V extends Addable< V > >.StatsMsg().
|
private |
Each interval variable's VarInfo.