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

A StatsReporter that monitors the convergence of the algorithm. More...

Inheritance diagram for frodo2.algorithms.StatsReporterWithConvergence< Val extends Addable< Val > >:

Classes

class  CurrentAssignment
 A convenience class to store an assignment. More...
class  ConvStatMessage
 A message containing information about the convergence of the algorithm. More...

Public Member Functions

HashMap< String, ArrayList< CurrentAssignment< Val > > > getAssignmentHistories ()
 Return the assignment history, chronologically ordered, for all the variables.
Map< String, Val > getCurrentSolution ()
 Method that returns the current solution of the agents.
Public Member Functions inherited from frodo2.algorithms.StatsReporter
void getStatsFromQueue (Queue queue)
 Registers the StatsReporter to be notified of the stats messages received by the given queue.
void setSilent (boolean silent)
 Tells the StatsReporter whether it should print its stats or remain silent.
void reset ()
 Re-initializes all problem-dependent fields (except the problem itself).
Public Member Functions inherited from frodo2.communication.IncomingMsgPolicyInterface< T >
void notifyIn (Message msg)
 Notifies the listener of an incoming message.
default void notifyIn (Message msg, Object toAgent)
 Notifies the listener of an incoming message.
Public Member Functions inherited from frodo2.communication.MessageListener< T >
void setQueue (Queue queue)
 Sets the queue from which the sendMessage() should be called when the message must be forwarded.
Collection< T > getMsgTypes ()

Detailed Description

A StatsReporter that monitors the convergence of the algorithm.

Author
Brammert Ottens
Parameters
<Val>type used for variable values
Warning
All modules implementing this interface must have a constructor that takes in two parameters: an instance of DCOPProblemInterface describing the agent's subproblem, and a JDOM Element specifying the module's parameters.
All modules implementing this class should have a constructor that takes in two arguments: a JDOM Element describing the StatsReporter and its parameters, and a DCOPProblemInterface for the overall problem.

Member Function Documentation

◆ getAssignmentHistories()

◆ getCurrentSolution()


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