|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|
Msg sent to transfer through the DFS in top-down way the total number of variables in this component. More...

Public Member Functions | |
| VarNbrMsg () | |
| Empty constructor. | |
| int | getTotal () |
| String | getDest () |
| void | writeExternal (ObjectOutput out) throws IOException |
| void | readExternal (ObjectInput in) throws IOException, ClassNotFoundException |
| 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) |
| String | toString () |
| Public Member Functions inherited from frodo2.communication.Message | |
| Message (MessageType type) | |
| Constructor. | |
| Message () | |
| Empty constructor. | |
| MessageType | getType () |
| void | fakeSerialize () |
| Pretends to serialize the message. | |
Protected Member Functions | |
| VarNbrMsg (Integer total, String dest) | |
| Constructor. | |
Additional Inherited Members | |
| Protected Attributes inherited from frodo2.communication.Message | |
| MessageType | type |
| The type of this message. | |
Msg sent to transfer through the DFS in top-down way the total number of variables in this component.
| frodo2.algorithms.varOrdering.dfs.VarNbrMsg.VarNbrMsg | ( | ) |
|
protected |
Constructor.
| total | the total number of variables in this component |
| dest | the destination of this message |
| String frodo2.algorithms.varOrdering.dfs.VarNbrMsg.getDest | ( | ) |
References frodo2.communication.MessageWith2Payloads< T1 extends Serializable, T2 extends Serializable >.getPayload2().
Referenced by frodo2.algorithms.varOrdering.dfs.DFSgenerationWithOrder< V extends Addable< V >, U extends Addable< U > >.notifyIn(), frodo2.algorithms.varOrdering.dfs.tests.DFSgenerationWithOrderTest.notifyIn(), frodo2.algorithms.varOrdering.dfs.DFSgenerationParallel< S extends Comparable< S > &Serializable >.FakeQueue.notifyInListeners(), frodo2.algorithms.varOrdering.dfs.DFSgenerationParallel< S extends Comparable< S > &Serializable >.FakeQueue.sendMessageToSelf(), and writeExternal().

| int frodo2.algorithms.varOrdering.dfs.VarNbrMsg.getTotal | ( | ) |
References frodo2.communication.MessageWith2Payloads< T1 extends Serializable, T2 extends Serializable >.getPayload1().
Referenced by frodo2.algorithms.varOrdering.dfs.DFSgenerationWithOrder< V extends Addable< V >, U extends Addable< U > >.notifyIn(), frodo2.algorithms.varOrdering.dfs.tests.DFSgenerationWithOrderTest.notifyIn(), and writeExternal().

| void frodo2.algorithms.varOrdering.dfs.VarNbrMsg.readExternal | ( | ObjectInput | in | ) | throws IOException, ClassNotFoundException |
Reimplemented from frodo2.communication.MessageWith2Payloads< T1 extends Serializable, T2 extends Serializable >.
References frodo2.communication.MessageWith2Payloads< T1 extends Serializable, T2 extends Serializable >.setPayload1(), and frodo2.communication.MessageWith2Payloads< T1 extends Serializable, T2 extends Serializable >.setPayload2().

| void frodo2.algorithms.varOrdering.dfs.VarNbrMsg.writeExternal | ( | ObjectOutput | out | ) | throws IOException |
Reimplemented from frodo2.communication.MessageWith2Payloads< T1 extends Serializable, T2 extends Serializable >.
References getDest(), and getTotal().
