|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|
A sample MAS agent that just prints its problem. More...

Public Member Functions | |
| SampleMASagent (MASProblemInterface< AddableInteger, AddableInteger > problem, Element agentDesc) | |
| Constructor. | |
| void | setQueue (Queue queue) |
| ArrayList< MessageType > | getMsgTypes () |
| void | notifyIn (Message msg) |
| Public Member Functions inherited from frodo2.communication.IncomingMsgPolicyInterface< T > | |
| default void | notifyIn (Message msg, Object toAgent) |
| Notifies the listener of an incoming message. | |
Private Attributes | |
| MASProblemInterface< AddableInteger, AddableInteger > | problem |
| The agent's subproblem. | |
A sample MAS agent that just prints its problem.
| frodo2.algorithms.test.SampleMASagent.SampleMASagent | ( | MASProblemInterface< AddableInteger, AddableInteger > | problem, |
| Element | agentDesc ) |
| ArrayList< MessageType > frodo2.algorithms.test.SampleMASagent.getMsgTypes | ( | ) |
| void frodo2.algorithms.test.SampleMASagent.notifyIn | ( | Message | msg | ) |
Implements frodo2.communication.IncomingMsgPolicyInterface< T >.
References frodo2.solutionSpaces.ProblemInterface< V extends Addable< V >, U extends Addable< U > >.getAgent().

| void frodo2.algorithms.test.SampleMASagent.setQueue | ( | Queue | queue | ) |
|
private |
The agent's subproblem.
Referenced by SampleMASagent().