|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|
Message used by the SamplingPhase module in phase 2, to which samples have been added. More...

Public Member Functions | |
| SamplesMsg2 () | |
| Empty constructor used for externalization. | |
| void | writeExternal (ObjectOutput out) throws IOException |
| void | readExternal (ObjectInput in) throws IOException, ClassNotFoundException |
| SamplesMsg2 (String node, HashSet< String > flags, HashMap< String, Map< V, Double > > samples) | |
| Constructor. | |
| HashMap< String, Map< V, Double > > | getSamples () |
| String | toString () |
| Public Member Functions inherited from frodo2.algorithms.dpop.stochastic.LCAmsg2 | |
| LCAmsg2 () | |
| Empty constructor used for externalization. | |
| LCAmsg2 (MessageType type, String node, HashSet< String > flags) | |
| Constructor. | |
| String | getNode () |
| HashSet< String > | getFlags () |
| Public Member Functions inherited from frodo2.communication.MessageWith2Payloads< T1 extends Serializable, T2 extends Serializable > | |
| MessageWith2Payloads (MessageType type, T1 payload1, T2 payload2) | |
| Constructor. | |
| MessageWith2Payloads () | |
| Empty constructor. | |
| MessageWith2Payloads< T1, T2 > | clone () |
| T1 | getPayload1 () |
| void | setPayload1 (T1 payload1) |
| T2 | getPayload2 () |
| void | setPayload2 (T2 payload2) |
| Public Member Functions inherited from frodo2.communication.Message | |
| Message (MessageType type) | |
| Constructor. | |
| Message () | |
| Empty constructor. | |
| MessageType | getType () |
| void | fakeSerialize () |
| Pretends to serialize the message. | |
Private Attributes | |
| HashMap< String, Map< V, Double > > | samples |
| For each random variables, its samples. | |
Static Private Attributes | |
| static final long | serialVersionUID = 6185595975417830789L |
| Used for serialization. | |
Additional Inherited Members | |
| Protected Attributes inherited from frodo2.communication.Message | |
| MessageType | type |
| The type of this message. | |
Message used by the SamplingPhase module in phase 2, to which samples have been added.
| <V> | the type used for random variable values |
| frodo2.algorithms.dpop.stochastic.SamplesMsg2< V extends Addable< V > >.SamplesMsg2 | ( | ) |
Empty constructor used for externalization.
| frodo2.algorithms.dpop.stochastic.SamplesMsg2< V extends Addable< V > >.SamplesMsg2 | ( | String | node, |
| HashSet< String > | flags, | ||
| HashMap< String, Map< V, Double > > | samples ) |
Constructor.
| node | a variable in the DFS |
| flags | a set of flags |
| samples | for each random variable, its samples |
References samples.
| HashMap< String, Map< V, Double > > frodo2.algorithms.dpop.stochastic.SamplesMsg2< V extends Addable< V > >.getSamples | ( | ) |
Referenced by frodo2.algorithms.dpop.stochastic.test.SamplingPhaseTest.notifyIn().
| void frodo2.algorithms.dpop.stochastic.SamplesMsg2< V extends Addable< V > >.readExternal | ( | ObjectInput | in | ) | throws IOException, ClassNotFoundException |
Reimplemented from frodo2.communication.MessageWith2Payloads< T1 extends Serializable, T2 extends Serializable >.
| String frodo2.algorithms.dpop.stochastic.SamplesMsg2< V extends Addable< V > >.toString | ( | ) |
Reimplemented from frodo2.communication.MessageWith2Payloads< T1 extends Serializable, T2 extends Serializable >.
| void frodo2.algorithms.dpop.stochastic.SamplesMsg2< V extends Addable< V > >.writeExternal | ( | ObjectOutput | out | ) | throws IOException |
Reimplemented from frodo2.communication.MessageWith2Payloads< T1 extends Serializable, T2 extends Serializable >.
|
private |
For each random variables, its samples.
Referenced by SamplesMsg2().
|
staticprivate |
Used for serialization.