FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
Loading...
Searching...
No Matches
frodo2.algorithms.localSearch.mgm.mgm2.ACCEPT< Val extends Addable< Val >, U extends Addable< U > > Class Template Reference
Inheritance diagram for frodo2.algorithms.localSearch.mgm.mgm2.ACCEPT< Val extends Addable< Val >, U extends Addable< U > >:

Public Member Functions

 ACCEPT ()
 Default constructor used for externalization only.
 ACCEPT (String sender, String receiver, BinaryAssignment< Val > ass, AddableConflicts< U > gain)
 Constructor.
String getSender ()
String getReceiver ()
BinaryAssignment< Val > getAssignment ()
AddableConflicts< U > getGain ()
Public Member Functions inherited from frodo2.communication.MessageWith4Payloads< T1 extends Serializable, T2 extends Serializable, T3 extends Serializable, T4 extends Serializable >
 MessageWith4Payloads ()
 Empty constructor.
void writeExternal (ObjectOutput out) throws IOException
void readExternal (ObjectInput in) throws IOException, ClassNotFoundException
 MessageWith4Payloads (MessageType type, T1 payload1, T2 payload2, T3 payload3, T4 payload4)
 Constructor.
MessageWith4Payloads< T1, T2, T3, T4 > clone ()
T1 getPayload1 ()
void setPayload1 (T1 payload1)
T2 getPayload2 ()
void setPayload2 (T2 payload2)
T3 getPayload3 ()
void setPayload3 (T3 payload3)
T4 getPayload4 ()
void setPayload4 (T4 payload4)
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 Private Attributes

static final long serialVersionUID = 948080796668176895L
 Used for serialization.

Additional Inherited Members

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

Detailed Description

Author
Brammert Ottens, 30 mrt. 2011
Parameters
<Val>type used for domain values
<U>type used for utility values

Constructor & Destructor Documentation

◆ ACCEPT() [1/2]

◆ ACCEPT() [2/2]

frodo2.algorithms.localSearch.mgm.mgm2.ACCEPT< Val extends Addable< Val >, U extends Addable< U > >.ACCEPT ( String sender,
String receiver,
BinaryAssignment< Val > ass,
AddableConflicts< U > gain )

Constructor.

Parameters
senderthe sender of the message
receiverthe destination of the message
assthe accepted assignment
gainthe total gain obtained when accepting the assignment

References frodo2.algorithms.localSearch.mgm.mgm2.MGM2< V extends Addable< V >, U extends Addable< U > >.ACCEPT_MSG_TYPE.

Member Function Documentation

◆ getAssignment()

BinaryAssignment< Val > frodo2.algorithms.localSearch.mgm.mgm2.ACCEPT< Val extends Addable< Val >, U extends Addable< U > >.getAssignment ( )
Author
Brammert Ottens, 30 mrt. 2011
Returns
the accepted assignment

References frodo2.communication.MessageWith4Payloads< T1 extends Serializable, T2 extends Serializable, T3 extends Serializable, T4 extends Serializable >.getPayload3().

Here is the call graph for this function:

◆ getGain()

AddableConflicts< U > frodo2.algorithms.localSearch.mgm.mgm2.ACCEPT< Val extends Addable< Val >, U extends Addable< U > >.getGain ( )
Author
Brammert Ottens, 1 apr. 2011
Returns
the reported gain

References frodo2.communication.MessageWith4Payloads< T1 extends Serializable, T2 extends Serializable, T3 extends Serializable, T4 extends Serializable >.getPayload4().

Here is the call graph for this function:

◆ getReceiver()

String frodo2.algorithms.localSearch.mgm.mgm2.ACCEPT< Val extends Addable< Val >, U extends Addable< U > >.getReceiver ( )
Author
Brammert Ottens, 30 mrt. 2011
Returns
the destination of the message

References frodo2.communication.MessageWith4Payloads< T1 extends Serializable, T2 extends Serializable, T3 extends Serializable, T4 extends Serializable >.getPayload2().

Here is the call graph for this function:

◆ getSender()

String frodo2.algorithms.localSearch.mgm.mgm2.ACCEPT< Val extends Addable< Val >, U extends Addable< U > >.getSender ( )
Author
Brammert Ottens, 1 apr. 2011
Returns
the sender of the message

References frodo2.communication.MessageWith4Payloads< T1 extends Serializable, T2 extends Serializable, T3 extends Serializable, T4 extends Serializable >.getPayload1().

Here is the call graph for this function:

Member Data Documentation

◆ serialVersionUID

final long frodo2.algorithms.localSearch.mgm.mgm2.ACCEPT< Val extends Addable< Val >, U extends Addable< U > >.serialVersionUID = 948080796668176895L
staticprivate

Used for serialization.


The documentation for this class was generated from the following file:
  • src/frodo2/algorithms/localSearch/mgm/mgm2/ACCEPT.java