FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
Loading...
Searching...
No Matches
frodo2.algorithms.varOrdering.election.tests.VarElectionMessengerTest.IdIncreasingVerifyer Class Reference

A IncomingMsgPolicyInterface used in JUNIT VarElectionMessengerTest to test whenever ID send are strictly increasing. More...

Inheritance diagram for frodo2.algorithms.varOrdering.election.tests.VarElectionMessengerTest.IdIncreasingVerifyer:

Public Member Functions

void notifyIn (Message msg)
Collection< MessageTypegetMsgTypes ()
void setQueue (Queue queue)
Public Member Functions inherited from frodo2.communication.IncomingMsgPolicyInterface< T >
default void notifyIn (Message msg, Object toAgent)
 Notifies the listener of an incoming message.

Private Member Functions

 IdIncreasingVerifyer (Set< String > neighborhoods)
 Constructor.

Private Attributes

Map< String, Integer > receivedID
 A map containing all last ID received from all neighbors.

Detailed Description

A IncomingMsgPolicyInterface used in JUNIT VarElectionMessengerTest to test whenever ID send are strictly increasing.

Author
Eric Zbinden

Constructor & Destructor Documentation

◆ IdIncreasingVerifyer()

frodo2.algorithms.varOrdering.election.tests.VarElectionMessengerTest.IdIncreasingVerifyer.IdIncreasingVerifyer ( Set< String > neighborhoods)
private

Constructor.

Parameters
neighborhoodsthe neighborhoods of this agent

References receivedID.

Member Function Documentation

◆ getMsgTypes()

Collection< MessageType > frodo2.algorithms.varOrdering.election.tests.VarElectionMessengerTest.IdIncreasingVerifyer.getMsgTypes ( )

◆ notifyIn()

void frodo2.algorithms.varOrdering.election.tests.VarElectionMessengerTest.IdIncreasingVerifyer.notifyIn ( Message msg)

◆ setQueue()

void frodo2.algorithms.varOrdering.election.tests.VarElectionMessengerTest.IdIncreasingVerifyer.setQueue ( Queue queue)

Member Data Documentation

◆ receivedID

Map<String, Integer> frodo2.algorithms.varOrdering.election.tests.VarElectionMessengerTest.IdIncreasingVerifyer.receivedID
private

A map containing all last ID received from all neighbors.

Referenced by IdIncreasingVerifyer().


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