FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
Loading...
Searching...
No Matches
frodo2.algorithms.dpop.privacy.RerootRequester< V extends Addable< V >, U extends Addable< U > >.RootValueMsg Class Reference

The class of statistics messages containing the optimal assignment to a variable. More...

Inheritance diagram for frodo2.algorithms.dpop.privacy.RerootRequester< V extends Addable< V >, U extends Addable< U > >.RootValueMsg:

Public Member Functions

 RootValueMsg ()
 Empty constructor used for externalization.
 RootValueMsg (String root, V value)
 Constructor.
String getVar ()
getVal ()
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)
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.

Additional Inherited Members

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

Detailed Description

The class of statistics messages containing the optimal assignment to a variable.

Constructor & Destructor Documentation

◆ RootValueMsg() [1/2]

frodo2.algorithms.dpop.privacy.RerootRequester< V extends Addable< V >, U extends Addable< U > >.RootValueMsg.RootValueMsg ( )

Empty constructor used for externalization.

◆ RootValueMsg() [2/2]

frodo2.algorithms.dpop.privacy.RerootRequester< V extends Addable< V >, U extends Addable< U > >.RootValueMsg.RootValueMsg ( String root,
V value )

Constructor.

Parameters
rootthe name of the root variable
valuethe optimal assignment to the variable

References frodo2.algorithms.dpop.privacy.RerootRequester< V extends Addable< V >, U extends Addable< U > >.OPT_ASSIGNMENT_MSG_TYPE.

Member Function Documentation

◆ getVal()

V frodo2.algorithms.dpop.privacy.RerootRequester< V extends Addable< V >, U extends Addable< U > >.RootValueMsg.getVal ( )
Returns
the optimal assignment to the variable

◆ getVar()

String frodo2.algorithms.dpop.privacy.RerootRequester< V extends Addable< V >, U extends Addable< U > >.RootValueMsg.getVar ( )
Returns
the name of the root variable

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