|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|
A message containing a linear order on all variables belonging to a given connected component of the constraint graph. More...

Public Member Functions | |
| OrderMsg () | |
| Empty constructor used for externalization. | |
| OrderMsg (MessageType type, Comparable<?> componentID, List< String > order, List< String > agents) | |
| Constructor. | |
| OrderMsg (MessageType type, List< List< String > > order, List< String > agents, Comparable<?> componentID) | |
| Constructor. | |
| OrderMsg (MessageType type, List< List< String > > order, List< String > agents, Comparable<?> componentID, List< UtilitySolutionSpace< V, U > > spaces) | |
| Constructor. | |
| OrderMsg (MessageType type, List< List< String > > order, List< String > ids, List< String > agents, Comparable<?> componentID, List< UtilitySolutionSpace< V, U > > spaces) | |
| Constructor. | |
| void | writeExternal (ObjectOutput out) throws IOException |
| void | readExternal (ObjectInput in) throws IOException, ClassNotFoundException |
| Comparable<?> | getComponentID () |
| List< List< String > > | getOrder () |
| List< String > | getFlatOrder () |
| List< String > | getIDs () |
| List< String > | getAgents () |
| List< UtilitySolutionSpace< V, U > > | getSpaces () |
| 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. | |
Static Public Attributes | |
| static final MessageType | ORDER_MSG_TYPE = new MessageType ("VarOrdering", "OrderMsg", "VarOrder") |
| The types of the messages containing the chosen linear order of variables. | |
| static final MessageType | STATS_MSG_TYPE = new MessageType ("VarOrdering", "OrderMsg", "VarOrderStats") |
| The types of the messages containing the chosen linear order of variables sent to the stats gatherer. | |
Private Attributes | |
| Comparable<?> | componentID |
| The ID of the connected component in the constraint graph. | |
| List< List< String > > | order |
| The order of the variables, grouped into clusters. | |
| List< String > | ids |
| The ID of each cluster. | |
| List< String > | agents |
| The agent corresponding to each cluster in the order. | |
| List< UtilitySolutionSpace< V, U > > | spaces |
| The (joint) constraint that each cluster is responsible for enforcing. | |
Additional Inherited Members | |
| Protected Attributes inherited from frodo2.communication.Message | |
| MessageType | type |
| The type of this message. | |
A message containing a linear order on all variables belonging to a given connected component of the constraint graph.
| <V> | the type used for variable values |
| <U> | the type used for utility values |
| frodo2.algorithms.varOrdering.linear.OrderMsg< V extends Addable< V >, U extends Addable< U > >.OrderMsg | ( | ) |
Empty constructor used for externalization.
| frodo2.algorithms.varOrdering.linear.OrderMsg< V extends Addable< V >, U extends Addable< U > >.OrderMsg | ( | MessageType | type, |
| Comparable<?> | componentID, | ||
| List< String > | order, | ||
| List< String > | agents ) |
Constructor.
| type | the type of the message |
| componentID | The ID of the connected component in the constraint graph |
| order | The variable order |
| agents | The agent corresponding to each variable in the order |
References agents, componentID, order, and frodo2.communication.Message.type.
| frodo2.algorithms.varOrdering.linear.OrderMsg< V extends Addable< V >, U extends Addable< U > >.OrderMsg | ( | MessageType | type, |
| List< List< String > > | order, | ||
| List< String > | agents, | ||
| Comparable<?> | componentID ) |
Constructor.
| type | the type of the message |
| componentID | The ID of the connected component in the constraint graph |
| order | The cluster order |
| agents | The agent corresponding to each variable in the order |
References agents, componentID, order, and frodo2.communication.Message.type.
| frodo2.algorithms.varOrdering.linear.OrderMsg< V extends Addable< V >, U extends Addable< U > >.OrderMsg | ( | MessageType | type, |
| List< List< String > > | order, | ||
| List< String > | agents, | ||
| Comparable<?> | componentID, | ||
| List< UtilitySolutionSpace< V, U > > | spaces ) |
Constructor.
| type | the type of the message |
| componentID | The ID of the connected component in the constraint graph |
| order | The cluster order |
| agents | The agent corresponding to each variable in the order |
| spaces | The space each cluster is responsible for enforcing |
References agents, componentID, order, spaces, and frodo2.communication.Message.type.
| frodo2.algorithms.varOrdering.linear.OrderMsg< V extends Addable< V >, U extends Addable< U > >.OrderMsg | ( | MessageType | type, |
| List< List< String > > | order, | ||
| List< String > | ids, | ||
| List< String > | agents, | ||
| Comparable<?> | componentID, | ||
| List< UtilitySolutionSpace< V, U > > | spaces ) |
Constructor.
| type | the type of the message |
| componentID | The ID of the connected component in the constraint graph |
| order | The cluster order |
| ids | Each cluster's ID |
| agents | The agent corresponding to each variable in the order |
| spaces | The space each cluster is responsible for enforcing |
References agents, componentID, ids, order, spaces, and frodo2.communication.Message.type.
| List< String > frodo2.algorithms.varOrdering.linear.OrderMsg< V extends Addable< V >, U extends Addable< U > >.getAgents | ( | ) |
Referenced by frodo2.algorithms.varOrdering.linear.tests.CentralLinearOrderingTest.notifyIn().
| Comparable<?> frodo2.algorithms.varOrdering.linear.OrderMsg< V extends Addable< V >, U extends Addable< U > >.getComponentID | ( | ) |
| List< String > frodo2.algorithms.varOrdering.linear.OrderMsg< V extends Addable< V >, U extends Addable< U > >.getFlatOrder | ( | ) |
References order.
Referenced by frodo2.algorithms.varOrdering.linear.tests.CentralLinearOrderingTest.notifyIn().
| List< String > frodo2.algorithms.varOrdering.linear.OrderMsg< V extends Addable< V >, U extends Addable< U > >.getIDs | ( | ) |
| List< List< String > > frodo2.algorithms.varOrdering.linear.OrderMsg< V extends Addable< V >, U extends Addable< U > >.getOrder | ( | ) |
Referenced by frodo2.algorithms.varOrdering.linear.tests.CentralLinearOrderingTest.notifyIn().
| List< UtilitySolutionSpace< V, U > > frodo2.algorithms.varOrdering.linear.OrderMsg< V extends Addable< V >, U extends Addable< U > >.getSpaces | ( | ) |
References spaces.
| void frodo2.algorithms.varOrdering.linear.OrderMsg< V extends Addable< V >, U extends Addable< U > >.readExternal | ( | ObjectInput | in | ) | throws IOException, ClassNotFoundException |
Reimplemented from frodo2.communication.Message.
| String frodo2.algorithms.varOrdering.linear.OrderMsg< V extends Addable< V >, U extends Addable< U > >.toString | ( | ) |
Reimplemented from frodo2.communication.Message.
| void frodo2.algorithms.varOrdering.linear.OrderMsg< V extends Addable< V >, U extends Addable< U > >.writeExternal | ( | ObjectOutput | out | ) | throws IOException |
Reimplemented from frodo2.communication.Message.
References agents.
|
private |
The agent corresponding to each cluster in the order.
Referenced by OrderMsg(), OrderMsg(), OrderMsg(), OrderMsg(), and writeExternal().
|
private |
The ID of the connected component in the constraint graph.
Referenced by OrderMsg(), OrderMsg(), OrderMsg(), and OrderMsg().
|
private |
The ID of each cluster.
Referenced by OrderMsg().
|
private |
The order of the variables, grouped into clusters.
Referenced by getFlatOrder(), OrderMsg(), OrderMsg(), OrderMsg(), and OrderMsg().
|
static |
The types of the messages containing the chosen linear order of variables.
Referenced by frodo2.algorithms.varOrdering.linear.tests.CentralLinearOrderingTest.getMsgTypes().
|
private |
The (joint) constraint that each cluster is responsible for enforcing.
Referenced by getSpaces(), OrderMsg(), and OrderMsg().
|
static |
The types of the messages containing the chosen linear order of variables sent to the stats gatherer.
Referenced by frodo2.algorithms.varOrdering.linear.CentralLinearOrdering< V extends Addable< V >, U extends Addable< U > >.getStatsFromQueue(), frodo2.algorithms.varOrdering.linear.LinearOrdering< V extends Addable< V >, U extends Addable< U > >.getStatsFromQueue(), frodo2.algorithms.varOrdering.linear.CentralLinearOrdering< V extends Addable< V >, U extends Addable< U > >.notifyIn(), frodo2.algorithms.varOrdering.linear.LinearOrdering< V extends Addable< V >, U extends Addable< U > >.notifyIn(), and frodo2.algorithms.varOrdering.linear.tests.CentralLinearOrderingTest.test().