FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
Loading...
Searching...
No Matches
frodo2.algorithms.varOrdering.dfs.DFSgeneration< V extends Addable< V >, U extends Addable< U > >.MessageDFSoutput< V extends Addable< V >, U extends Addable< U > > Class Template Reference

Message class used for the output of the protocol. More...

Inheritance diagram for frodo2.algorithms.varOrdering.dfs.DFSgeneration< V extends Addable< V >, U extends Addable< U > >.MessageDFSoutput< V extends Addable< V >, U extends Addable< U > >:

Public Member Functions

 MessageDFSoutput ()
 Empty constructor used for externalization.
 MessageDFSoutput (String var, DFSview< V, U > view)
 Constructor.
 MessageDFSoutput (String[] vars, DFSview< V, U > view)
 Constructor.
 MessageDFSoutput (MessageType type, String var, DFSview< V, U > view)
 Constructor.
 MessageDFSoutput (MessageType type, String[] vars, DFSview< V, U > view)
 Constructor.
String getVar ()
String[] getVars ()
DFSview< V, U > getNeighbors ()
String toString ()
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.
void writeExternal (ObjectOutput out) throws IOException
void readExternal (ObjectInput in) throws IOException, ClassNotFoundException
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.

Additional Inherited Members

Protected Attributes inherited from frodo2.communication.Message
MessageType type
 The type of this message.

Detailed Description

Message class used for the output of the protocol.

Parameters
<V>the type used for variable values
<U>the type used for utility values

Constructor & Destructor Documentation

◆ MessageDFSoutput() [1/5]

frodo2.algorithms.varOrdering.dfs.DFSgeneration< V extends Addable< V >, U extends Addable< U > >.MessageDFSoutput< V extends Addable< V >, U extends Addable< U > >.MessageDFSoutput ( )

Empty constructor used for externalization.

◆ MessageDFSoutput() [2/5]

frodo2.algorithms.varOrdering.dfs.DFSgeneration< V extends Addable< V >, U extends Addable< U > >.MessageDFSoutput< V extends Addable< V >, U extends Addable< U > >.MessageDFSoutput ( String var,
DFSview< V, U > view )

Constructor.

Parameters
varthe variable
viewthe variable's view of the DFS

References frodo2.algorithms.varOrdering.dfs.DFSgeneration< V extends Addable< V >, U extends Addable< U > >.OUTPUT_MSG_TYPE.

◆ MessageDFSoutput() [3/5]

frodo2.algorithms.varOrdering.dfs.DFSgeneration< V extends Addable< V >, U extends Addable< U > >.MessageDFSoutput< V extends Addable< V >, U extends Addable< U > >.MessageDFSoutput ( String[] vars,
DFSview< V, U > view )

Constructor.

Parameters
varsthe variables
viewthe variables' view of the DFS

References frodo2.algorithms.varOrdering.dfs.DFSgeneration< V extends Addable< V >, U extends Addable< U > >.OUTPUT_MSG_TYPE.

◆ MessageDFSoutput() [4/5]

frodo2.algorithms.varOrdering.dfs.DFSgeneration< V extends Addable< V >, U extends Addable< U > >.MessageDFSoutput< V extends Addable< V >, U extends Addable< U > >.MessageDFSoutput ( MessageType type,
String var,
DFSview< V, U > view )

Constructor.

Parameters
typethe type of this message
varthe variable
viewthe variable's view of the DFS

References frodo2.communication.Message.type.

◆ MessageDFSoutput() [5/5]

frodo2.algorithms.varOrdering.dfs.DFSgeneration< V extends Addable< V >, U extends Addable< U > >.MessageDFSoutput< V extends Addable< V >, U extends Addable< U > >.MessageDFSoutput ( MessageType type,
String[] vars,
DFSview< V, U > view )

Constructor.

Parameters
typethe type of this message
varsthe variables
viewthe variables' view of the DFS

References frodo2.communication.Message.type.

Member Function Documentation

◆ getNeighbors()

◆ getVar()

◆ getVars()

String[] frodo2.algorithms.varOrdering.dfs.DFSgeneration< V extends Addable< V >, U extends Addable< U > >.MessageDFSoutput< V extends Addable< V >, U extends Addable< U > >.getVars ( )
Returns
all the variables

References frodo2.communication.MessageWith2Payloads< T1 extends Serializable, T2 extends Serializable >.getPayload1().

Referenced by toString().

Here is the call graph for this function:

◆ toString()

String frodo2.algorithms.varOrdering.dfs.DFSgeneration< V extends Addable< V >, U extends Addable< U > >.MessageDFSoutput< V extends Addable< V >, U extends Addable< U > >.toString ( )

The documentation for this class was generated from the following file: