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

A message containing a utility solution space. More...

Inheritance diagram for frodo2.algorithms.dpop.UTILmsg< Val extends Addable< Val >, U extends Addable< U > >:

Public Member Functions

 UTILmsg ()
 Empty constructor.
 UTILmsg (String senderVar, String senderAgent, String dest, UtilitySolutionSpace< Val, U > space)
 Constructor.
void writeExternal (ObjectOutput out) throws IOException
void readExternal (ObjectInput in) throws IOException, ClassNotFoundException
String getSender ()
String getSenderAgent ()
String getDestination ()
UtilitySolutionSpace< Val, U > getSpace ()
String toString ()
boolean equals (Object o)
void fakeSerialize ()
Public Member Functions inherited from frodo2.communication.Message
 Message (MessageType type)
 Constructor.
 Message ()
 Empty constructor.
MessageType getType ()

Private Attributes

String sender
 The sender variable.
String senderAgent
 The sender agent.
String dest
 The destination variable.
UtilitySolutionSpace< Val, U > space
 The utility solution space.

Static Private Attributes

static final long serialVersionUID = -3118623960541912831L
 Used for serialization.

Additional Inherited Members

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

Detailed Description

A message containing a utility solution space.

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

Constructor & Destructor Documentation

◆ UTILmsg() [1/2]

◆ UTILmsg() [2/2]

frodo2.algorithms.dpop.UTILmsg< Val extends Addable< Val >, U extends Addable< U > >.UTILmsg ( String senderVar,
String senderAgent,
String dest,
UtilitySolutionSpace< Val, U > space )

Constructor.

Parameters
senderVarthe sender variable
senderAgentthe sender agent
destthe destination variable
spacethe space

References dest, senderAgent, space, and frodo2.algorithms.dpop.UTILpropagation< Val extends Addable< Val >, U extends Addable< U > >.UTIL_MSG_TYPE.

Member Function Documentation

◆ equals()

boolean frodo2.algorithms.dpop.UTILmsg< Val extends Addable< Val >, U extends Addable< U > >.equals ( Object o)
See also
Object#equals(Object)

References dest, sender, senderAgent, space, and UTILmsg().

Referenced by frodo2.algorithms.dpop.restart.UTILreuse.notifyOut().

Here is the call graph for this function:

◆ fakeSerialize()

void frodo2.algorithms.dpop.UTILmsg< Val extends Addable< Val >, U extends Addable< U > >.fakeSerialize ( )

◆ getDestination()

◆ getSender()

◆ getSenderAgent()

String frodo2.algorithms.dpop.UTILmsg< Val extends Addable< Val >, U extends Addable< U > >.getSenderAgent ( )
Returns
the sender agent

◆ getSpace()

UtilitySolutionSpace< Val, U > frodo2.algorithms.dpop.UTILmsg< Val extends Addable< Val >, U extends Addable< U > >.getSpace ( )

◆ readExternal()

void frodo2.algorithms.dpop.UTILmsg< Val extends Addable< Val >, U extends Addable< U > >.readExternal ( ObjectInput in) throws IOException, ClassNotFoundException
See also
java.io.Externalizable#readExternal(java.io.ObjectInput)

Reimplemented from frodo2.communication.Message.

References readExternal().

Referenced by readExternal().

Here is the call graph for this function:

◆ toString()

String frodo2.algorithms.dpop.UTILmsg< Val extends Addable< Val >, U extends Addable< U > >.toString ( )
See also
Message.toString()

Reimplemented from frodo2.communication.Message.

◆ writeExternal()

void frodo2.algorithms.dpop.UTILmsg< Val extends Addable< Val >, U extends Addable< U > >.writeExternal ( ObjectOutput out) throws IOException
See also
java.io.Externalizable#writeExternal(java.io.ObjectOutput)

Reimplemented from frodo2.communication.Message.

Member Data Documentation

◆ dest

String frodo2.algorithms.dpop.UTILmsg< Val extends Addable< Val >, U extends Addable< U > >.dest
private

◆ sender

String frodo2.algorithms.dpop.UTILmsg< Val extends Addable< Val >, U extends Addable< U > >.sender
private

The sender variable.

Referenced by equals(), and getSender().

◆ senderAgent

String frodo2.algorithms.dpop.UTILmsg< Val extends Addable< Val >, U extends Addable< U > >.senderAgent
private

◆ serialVersionUID

final long frodo2.algorithms.dpop.UTILmsg< Val extends Addable< Val >, U extends Addable< U > >.serialVersionUID = -3118623960541912831L
staticprivate

Used for serialization.

◆ space

UtilitySolutionSpace<Val, U> frodo2.algorithms.dpop.UTILmsg< Val extends Addable< Val >, U extends Addable< U > >.space
private

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