|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|
The version of the SamplingPhase that samples at the leaves. More...

Public Member Functions | |
| AtLeaves () | |
| Empty constructor. | |
| AtLeaves (Element parameters, DCOPProblemInterface< V, U > problem) | |
| Constructor in statistics gatherer mode. | |
| AtLeaves (DCOPProblemInterface< V, U > problem, Element parameters) | |
| Constructor. | |
| void | notifyIn (Message msg) |
| Public Member Functions inherited from frodo2.algorithms.dpop.stochastic.SamplingPhase< V, U > | |
| void | reset () |
| Collection< MessageType > | getMsgTypes () |
| void | notifyIn (Message msg) |
| void | getStatsFromQueue (Queue queue) |
| void | setSilent (boolean silent) |
| String | dfsToString () |
Protected Member Functions | |
| void | init () |
| Protected Member Functions inherited from frodo2.algorithms.dpop.stochastic.SamplingPhase< V, U > | |
| SamplingPhase () | |
| Nullary constructor. | |
| void | init () |
| Parses the problem. | |
Private Attributes | |
| HashSet< String > | sampledVars = new HashSet<String> () |
| The set of random variables that have already been sampled. | |
Additional Inherited Members | |
| Static Public Attributes inherited from frodo2.algorithms.dpop.stochastic.SamplingPhase< V, U > | |
| static MessageType | START_MSG_TYPE |
| The type of the start message. | |
| static final MessageType | RAND_VARS_PROJ_MSG_TYPE |
| The type of the messages telling what random variables should be projected out at given decision variable. | |
| Protected Attributes inherited from frodo2.algorithms.dpop.stochastic.SamplingPhase< V, U > | |
| DCOPProblemInterface< V, U > | problem |
| The problem. | |
| boolean | started |
| Whether the execution of the algorithm has started. | |
| int | nbrSamples |
| The number of samples for each random variable. | |
| HashMap< String, UtilitySolutionSpace< V, U > > | probLaws |
| For each random variable, its non-sampled probability law. | |
| boolean | reportStats |
| Whether to report stats. | |
| WhereToProject | proj |
| Where the random variables should be projected out. | |
The version of the SamplingPhase that samples at the leaves.
| <V> | the type used for variable values |
| <U> | the type used for utility values |
| frodo2.algorithms.dpop.stochastic.SamplingPhase< V extends Addable< V >, U extends Addable< U > >.AtLeaves< V extends Addable< V >, U extends Addable< U > >.AtLeaves | ( | ) |
Empty constructor.
| frodo2.algorithms.dpop.stochastic.SamplingPhase< V extends Addable< V >, U extends Addable< U > >.AtLeaves< V extends Addable< V >, U extends Addable< U > >.AtLeaves | ( | Element | parameters, |
| DCOPProblemInterface< V, U > | problem ) |
Constructor in statistics gatherer mode.
| problem | the overall problem |
| parameters | the parameters |
References frodo2.algorithms.dpop.stochastic.SamplingPhase< V extends Addable< V >, U extends Addable< U > >.WhereToProject.LEAVES, and frodo2.algorithms.dpop.stochastic.SamplingPhase< V, U >.problem.
| frodo2.algorithms.dpop.stochastic.SamplingPhase< V extends Addable< V >, U extends Addable< U > >.AtLeaves< V extends Addable< V >, U extends Addable< U > >.AtLeaves | ( | DCOPProblemInterface< V, U > | problem, |
| Element | parameters ) |
Constructor.
| problem | the problem |
| parameters | the parameters |
References frodo2.algorithms.dpop.stochastic.SamplingPhase< V extends Addable< V >, U extends Addable< U > >.WhereToProject.LEAVES, and frodo2.algorithms.dpop.stochastic.SamplingPhase< V, U >.problem.
|
protected |
References frodo2.algorithms.dpop.stochastic.SamplingPhase< V, U >.problem, frodo2.algorithms.dpop.stochastic.LowestCommonAncestors.queue, frodo2.algorithms.dpop.stochastic.SamplingPhase< V, U >.randVars, and frodo2.algorithms.AgentInterface< V extends Addable< V > >.STATS_MONITOR.
Referenced by notifyIn().
| void frodo2.algorithms.dpop.stochastic.SamplingPhase< V extends Addable< V >, U extends Addable< U > >.AtLeaves< V extends Addable< V >, U extends Addable< U > >.notifyIn | ( | Message | msg | ) |
References frodo2.algorithms.dpop.stochastic.LowestCommonAncestors.DFS_MSG_TYPE, frodo2.communication.MessageType.equals(), frodo2.communication.Message.getType(), and init().

|
private |
The set of random variables that have already been sampled.