FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
Loading...
Searching...
No Matches
frodo2.algorithms.dpop.param.VALUEmsg< Val extends Addable< Val > > Class Template Reference

VALUE message. More...

Inheritance diagram for frodo2.algorithms.dpop.param.VALUEmsg< Val extends Addable< Val > >:

Public Member Functions

 VALUEmsg ()
 Empty constructor used for externalization.
 VALUEmsg (String dest, String[] variables, BasicUtilitySolutionSpace< Val, ArrayList< Val > > values)
 Constructor.
String getDest ()
String[] getVariables ()
BasicUtilitySolutionSpace< Val, ArrayList< Val > > getValues ()
String toString ()
void fakeSerialize ()
Public Member Functions inherited from frodo2.communication.MessageWith3Payloads< T1 extends Serializable, T2 extends Serializable, T3 extends Serializable >
 MessageWith3Payloads ()
 Empty constructor.
void writeExternal (ObjectOutput out) throws IOException
void readExternal (ObjectInput in) throws IOException, ClassNotFoundException
 MessageWith3Payloads (MessageType type, T1 payload1, T2 payload2, T3 payload3)
 Constructor.
MessageWith3Payloads< T1, T2, T3 > clone ()
T1 getPayload1 ()
void setPayload1 (T1 payload1)
T2 getPayload2 ()
void setPayload2 (T2 payload2)
T3 getPayload3 ()
void setPayload3 (T3 payload3)
Public Member Functions inherited from frodo2.communication.Message
 Message (MessageType type)
 Constructor.
 Message ()
 Empty constructor.
MessageType getType ()

Additional Inherited Members

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

Detailed Description

VALUE message.

Parameters
<Val>the type used for variable values

Constructor & Destructor Documentation

◆ VALUEmsg() [1/2]

Empty constructor used for externalization.

◆ VALUEmsg() [2/2]

frodo2.algorithms.dpop.param.VALUEmsg< Val extends Addable< Val > >.VALUEmsg ( String dest,
String[] variables,
BasicUtilitySolutionSpace< Val, ArrayList< Val > > values )

Constructor.

Parameters
destdestination variable
variablesarray of variables in dest's separator
valuesvalues for the variables in variables, in the same order, conditioned on the values of the parameters (if any)

References frodo2.algorithms.dpop.param.ParamVALUE< Val extends Addable< Val > >.PARAM_VALUE_MSG_TYPE.

Member Function Documentation

◆ fakeSerialize()

void frodo2.algorithms.dpop.param.VALUEmsg< Val extends Addable< Val > >.fakeSerialize ( )

◆ getDest()

String frodo2.algorithms.dpop.param.VALUEmsg< Val extends Addable< Val > >.getDest ( )
Returns
the destination variable

◆ getValues()

BasicUtilitySolutionSpace< Val, ArrayList< Val > > frodo2.algorithms.dpop.param.VALUEmsg< Val extends Addable< Val > >.getValues ( )
Returns
the values for the variables in the separator, conditioned on the values of the parameters (if any)

Referenced by frodo2.algorithms.dpop.param.ParamVALUE< Val extends Addable< Val > >.computeOptValAndSendVALUEmsgs(), and frodo2.algorithms.dpop.param.ParamVALUE< Val extends Addable< Val > >.sendVALUEmessage().

◆ getVariables()

◆ toString()


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