FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
Loading...
Searching...
No Matches
frodo2.algorithms.test.SampleMASagent Class Reference

A sample MAS agent that just prints its problem. More...

Inheritance diagram for frodo2.algorithms.test.SampleMASagent:

Public Member Functions

 SampleMASagent (MASProblemInterface< AddableInteger, AddableInteger > problem, Element agentDesc)
 Constructor.
void setQueue (Queue queue)
ArrayList< MessageTypegetMsgTypes ()
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, AddableIntegerproblem
 The agent's subproblem.

Detailed Description

A sample MAS agent that just prints its problem.

Author
Thomas Leaute

Constructor & Destructor Documentation

◆ SampleMASagent()

frodo2.algorithms.test.SampleMASagent.SampleMASagent ( MASProblemInterface< AddableInteger, AddableInteger > problem,
Element agentDesc )

Constructor.

Parameters
problemproblem instance
agentDescagent description

References problem.

Member Function Documentation

◆ getMsgTypes()

◆ notifyIn()

◆ setQueue()

void frodo2.algorithms.test.SampleMASagent.setQueue ( Queue queue)

Member Data Documentation

◆ problem

MASProblemInterface<AddableInteger, AddableInteger> frodo2.algorithms.test.SampleMASagent.problem
private

The agent's subproblem.

Referenced by SampleMASagent().


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