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

All agents corresponding to various algorithms should implement this interface. More...

Inheritance diagram for frodo2.algorithms.AgentInterface< V extends Addable< V > >:

Classes

class  ComStatsMessage
 A message containing statistics about messages sent. More...

Public Member Functions

void report ()
 Tells the agent to report to the local white pages.
void connect ()
 Tells the agent to start requesting connections to other agents from the white pages.
void start ()
 Starts the algorithm.
void kill ()
 Stops the algorithm.
String getID ()
Map< String, V > getCurrentSolution ()
 Returns the solution found by the algorithm upon termination.
void addOutputPipe (String agent, QueueOutputPipeInterface outputPipe)
 Adds an output pipe to the agent.
void setup (QueueOutputPipeInterface toDaemonPipe, QueueOutputPipeInterface toControllerPipe, boolean statsToController, int port)
 Sets up the agent to communicate with a daemon, a controller, and its neighbors.

Static Public Attributes

static final String STATS_MONITOR = "Statistics Monitor"
 Recipient ID to which statistics about algorithm execution should be sent.
static final MessageType AGENT_CONNECTED = MessageType.SYSTEM.newChild("AgentInterface", "Agent-Connected")
 Message to be sent if an agent has a connection with all its neighbours.
static final MessageType AGENT_FINISHED = MessageType.SYSTEM.newChild("AgentInterface", "Agent-Ready")
 The message sent when an agent has terminated.
static final MessageType ALL_AGENTS_IDLE = MessageType.SYSTEM.newChild("AgentInterface", "ALL_AGENTS_IDLE")
 The message sent when it has been detected that all agents are waiting for messages, but there are no more messages on the way.
static final MessageType LOCAL_AGENT_ADDRESS_REQUEST = MessageType.SYSTEM.newChild("AgentInterface", "local-address-request")
 The message an agent uses to ask the white pages for an address.
static final MessageType LOCAL_AGENT_REPORTING = MessageType.SYSTEM.newChild("AgentInterface", "local-agent-reporting")
 an agent reports to its local white pages
static final MessageType START_AGENT = MessageType.SYSTEM.newChild("AgentInterface", "Start-Agent")
 Message used to tell an agent to start its algorithm.
static final MessageType STOP_AGENT = MessageType.SYSTEM.newChild("AgentInterface", "Stop-Agent")
 Message used to tell an agent to stop.

Detailed Description

All agents corresponding to various algorithms should implement this interface.

Author
Brammert Ottens
Thomas Leaute
Parameters
<V>the type used for variable values
Warning
Any class implementing this interface should have a constructor that takes in: a ProblemInterface containing the problem description, a Document containing the agent description, and a CentralMailer.
Todo
The methods connect(), start() and kill() are defined here so that the daemon can call them. Instead, the daemon currently sends messages to the agent. This should be clarified. If these methods are never called except by the agent itself, they should be removed from the interface.

Member Function Documentation

◆ addOutputPipe()

void frodo2.algorithms.AgentInterface< V extends Addable< V > >.addOutputPipe ( String agent,
QueueOutputPipeInterface outputPipe )

Adds an output pipe to the agent.

If an agent is connected to all its neighbours, it should send an AGENT_CONNECTED message to the controller

Parameters
agentdestination of the pipe
outputPipeoutput pipe

Implemented in frodo2.daemon.TestLocalWhitePages.SimpleAgent.

◆ connect()

void frodo2.algorithms.AgentInterface< V extends Addable< V > >.connect ( )

Tells the agent to start requesting connections to other agents from the white pages.

Implemented in frodo2.daemon.TestLocalWhitePages.SimpleAgent.

◆ getCurrentSolution()

Map< String, V > frodo2.algorithms.AgentInterface< V extends Addable< V > >.getCurrentSolution ( )

Returns the solution found by the algorithm upon termination.

Returns
a global assignment

Implemented in frodo2.daemon.TestLocalWhitePages.SimpleAgent.

◆ getID()

String frodo2.algorithms.AgentInterface< V extends Addable< V > >.getID ( )
Returns
the agent's ID

Implemented in frodo2.daemon.TestLocalWhitePages.SimpleAgent.

Referenced by frodo2.daemon.Constructor.notifyIn().

◆ kill()

void frodo2.algorithms.AgentInterface< V extends Addable< V > >.kill ( )

Stops the algorithm.

Implemented in frodo2.daemon.TestLocalWhitePages.SimpleAgent.

◆ report()

void frodo2.algorithms.AgentInterface< V extends Addable< V > >.report ( )

◆ setup()

void frodo2.algorithms.AgentInterface< V extends Addable< V > >.setup ( QueueOutputPipeInterface toDaemonPipe,
QueueOutputPipeInterface toControllerPipe,
boolean statsToController,
int port )

Sets up the agent to communicate with a daemon, a controller, and its neighbors.

Parameters
toDaemonPipeoutput pipe to the daemon
toControllerPipethe output pipe that should be used to communicate with the controller
statsToControllerif true, stats should be sent to the controller; else, to the daemon
portthe port the agent is listening on. If < 0, no TCP pipe should be created.

Implemented in frodo2.daemon.TestLocalWhitePages.SimpleAgent.

Referenced by frodo2.algorithms.AgentFactory< V extends Addable< V >, U extends Addable< U > >.createAgent(), and frodo2.algorithms.AgentFactory< V extends Addable< V >, U extends Addable< U > >.createAgent().

◆ start()

void frodo2.algorithms.AgentInterface< V extends Addable< V > >.start ( )

Starts the algorithm.

Implemented in frodo2.daemon.TestLocalWhitePages.SimpleAgent.

Member Data Documentation

◆ AGENT_CONNECTED

final MessageType frodo2.algorithms.AgentInterface< V extends Addable< V > >.AGENT_CONNECTED = MessageType.SYSTEM.newChild("AgentInterface", "Agent-Connected")
static

Message to be sent if an agent has a connection with all its neighbours.

Referenced by frodo2.controller.ConfigurationManager.ConfigurationManager(), frodo2.algorithms.SingleQueueAgent< Val extends Addable< Val > >.connect(), frodo2.algorithms.adopt.test.ADOPTagentTest< V extends Addable< V >, U extends Addable< U > >.getMsgTypes(), frodo2.algorithms.AgentFactory< V extends Addable< V >, U extends Addable< U > >.getMsgTypes(), frodo2.algorithms.asodpop.tests.ASODPOPagentTest< V extends Addable< V >, U extends Addable< U > >.getMsgTypes(), frodo2.algorithms.asodpop.tests.ASODPOPBinaryAgentTest< V extends Addable< V >, U extends Addable< U > >.getMsgTypes(), frodo2.algorithms.dpop.test.DPOPagentTest< V extends Addable< V >, U extends Addable< U > >.getMsgTypes(), frodo2.algorithms.duct.tests.DUCTagentTest.getMsgTypes(), frodo2.algorithms.localSearch.dsa.tests.DSAagentTest< V extends Addable< V >, U extends Addable< U > >.getMsgTypes(), frodo2.algorithms.localSearch.mgm.mgm2.tests.MGM2agentTest< V extends Addable< V >, U extends Addable< U > >.getMsgTypes(), frodo2.algorithms.localSearch.mgm.tests.MGMagentTest< V extends Addable< V >, U extends Addable< U > >.getMsgTypes(), frodo2.algorithms.odpop.tests.ODPOPagentTest< V extends Addable< V >, U extends Addable< U > >.getMsgTypes(), frodo2.algorithms.odpop.tests.ODPOPagentTestBinaryDomains< V extends Addable< V >, U extends Addable< U > >.getMsgTypes(), frodo2.algorithms.odpop.tests.ODPOPagentTestFullDomain< V extends Addable< V >, U extends Addable< U > >.getMsgTypes(), frodo2.controller.TestConfigurationManager.SimpleDaemonListener.notifyIn(), and frodo2.algorithms.SingleQueueAgent< Val extends Addable< Val > >.oneMoreNeighbor().

◆ AGENT_FINISHED

final MessageType frodo2.algorithms.AgentInterface< V extends Addable< V > >.AGENT_FINISHED = MessageType.SYSTEM.newChild("AgentInterface", "Agent-Ready")
static

The message sent when an agent has terminated.

Referenced by frodo2.algorithms.maxsum.MaxSum< V extends Addable< V >, U extends Addable< U > >.checkForTermination(), frodo2.algorithms.dpop.count.CountSolutionsVALUE< Val extends Addable< Val >, U extends Addable< U > >.computeOptValAndSendVALUEmsgs(), frodo2.algorithms.dpop.param.ParamVALUE< Val extends Addable< Val > >.computeOptValAndSendVALUEmsgs(), frodo2.controller.ConfigurationManager.ConfigurationManager(), frodo2.algorithms.adopt.ADOPT< Val extends Addable< Val >, U extends Addable< U > >.decideSingleton(), frodo2.algorithms.dpop.privacy.test.SecureRerootingTest.end(), frodo2.communication.mailer.CentralMailer.execute(), frodo2.algorithms.odpop.VALUEpropagation< Val extends Addable< Val >, U extends Addable< U > >.findOptimalAssignmentAndSend(), frodo2.algorithms.adopt.ADOPT< Val extends Addable< Val >, U extends Addable< U > >.getMsgTypes(), frodo2.algorithms.adopt.Preprocessing< Val extends Addable< Val >, U extends Addable< U > >.getMsgTypes(), frodo2.algorithms.adopt.test.ADOPTagentTest< V extends Addable< V >, U extends Addable< U > >.getMsgTypes(), frodo2.algorithms.afb.AFB< V extends Addable< V >, U extends Addable< U > >.getMsgTypes(), frodo2.algorithms.AgentFactory< V extends Addable< V >, U extends Addable< U > >.getMsgTypes(), frodo2.algorithms.asodpop.ASODPOP< Val extends Addable< Val >, U extends Addable< U > >.getMsgTypes(), frodo2.algorithms.asodpop.ASODPOPBinaryDomains< Val extends Addable< Val >, U extends Addable< U > >.getMsgTypes(), frodo2.algorithms.asodpop.tests.ASODPOPagentTest< V extends Addable< V >, U extends Addable< U > >.getMsgTypes(), frodo2.algorithms.asodpop.tests.ASODPOPBinaryAgentTest< V extends Addable< V >, U extends Addable< U > >.getMsgTypes(), frodo2.algorithms.dpop.count.CountSolutionsUTIL< Val extends Addable< Val >, U extends Addable< U > >.getMsgTypes(), frodo2.algorithms.dpop.count.CountSolutionsVALUE< Val extends Addable< Val >, U extends Addable< U > >.getMsgTypes(), frodo2.algorithms.dpop.param.ParamVALUE< Val extends Addable< Val > >.getMsgTypes(), frodo2.algorithms.dpop.privacy.CollaborativeDecryption< C extends Addable< C >, E extends AddableLimited< C, E, K extends PublicKeyShare >.getMsgTypes(), frodo2.algorithms.dpop.privacy.EncryptedUTIL< V extends Addable< V >, U extends Addable< U >, E extends AddableLimited< U, E >.getMsgTypes(), frodo2.algorithms.dpop.privacy.SecureCircularRouting.getMsgTypes(), frodo2.algorithms.dpop.privacy.test.SecureRerootingTest.getMsgTypes(), frodo2.algorithms.dpop.privacy.test.VariableObfuscationTest< V extends Addable< V > >.getMsgTypes(), frodo2.algorithms.dpop.restart.UTILreuse.getMsgTypes(), frodo2.algorithms.dpop.stochastic.SamplingPhase< V extends Addable< V >, U extends Addable< U > >.getMsgTypes(), frodo2.algorithms.dpop.test.DPOPagentTest< V extends Addable< V >, U extends Addable< U > >.getMsgTypes(), frodo2.algorithms.duct.Normalize< V extends Addable< V > >.getMsgTypes(), frodo2.algorithms.duct.Sampling< V extends Addable< V > >.getMsgTypes(), frodo2.algorithms.duct.tests.DUCTagentTest.getMsgTypes(), frodo2.algorithms.localSearch.dsa.DSA< Val extends Addable< Val >, U extends Addable< U > >.getMsgTypes(), frodo2.algorithms.localSearch.dsa.tests.DSAagentTest< V extends Addable< V >, U extends Addable< U > >.getMsgTypes(), frodo2.algorithms.localSearch.mgm.mgm2.tests.MGM2agentTest< V extends Addable< V >, U extends Addable< U > >.getMsgTypes(), frodo2.algorithms.localSearch.mgm.tests.MGMagentTest< V extends Addable< V >, U extends Addable< U > >.getMsgTypes(), frodo2.algorithms.odpop.tests.ODPOPagentTest< V extends Addable< V >, U extends Addable< U > >.getMsgTypes(), frodo2.algorithms.odpop.tests.ODPOPagentTestBinaryDomains< V extends Addable< V >, U extends Addable< U > >.getMsgTypes(), frodo2.algorithms.odpop.tests.ODPOPagentTestFullDomain< V extends Addable< V >, U extends Addable< U > >.getMsgTypes(), frodo2.algorithms.odpop.UTILpropagationFullDomain< Val extends Addable< Val >, U extends Addable< U >, L extends LeafNode< U > >.getMsgTypes(), frodo2.algorithms.odpop.VALUEpropagation< Val extends Addable< Val >, U extends Addable< U > >.getMsgTypes(), frodo2.algorithms.synchbb.SynchBB< V extends Addable< V >, U extends Addable< U > >.getMsgTypes(), frodo2.algorithms.varOrdering.dfs.DFSgenerationParallel< S extends Comparable< S > &Serializable >.getMsgTypes(), frodo2.algorithms.varOrdering.linear.CentralLinearOrdering< V extends Addable< V >, U extends Addable< U > >.getMsgTypes(), frodo2.algorithms.localSearch.dsa.DSA< Val extends Addable< Val >, U extends Addable< U > >.init(), frodo2.algorithms.localSearch.mgm.MGM< V extends Addable< V >, U extends Addable< U > >.init(), frodo2.algorithms.localSearch.mgm.mgm2.MGM2< V extends Addable< V >, U extends Addable< U > >.init(), frodo2.algorithms.mpc_discsp.MPC_DisCSP4< V extends Addable< V > >.init(), frodo2.algorithms.varOrdering.dfs.DFSgenerationParallel< S extends Comparable< S > &Serializable >.init(), frodo2.algorithms.varOrdering.linear.CentralLinearOrdering< V extends Addable< V >, U extends Addable< U > >.init(), frodo2.daemon.LocalConfigManager.LocalConfigManager(), frodo2.algorithms.adopt.ADOPT< Val extends Addable< Val >, U extends Addable< U > >.notifyIn(), frodo2.algorithms.adopt.Preprocessing< Val extends Addable< Val >, U extends Addable< U > >.notifyIn(), frodo2.algorithms.asodpop.ASODPOP< Val extends Addable< Val >, U extends Addable< U > >.notifyIn(), frodo2.algorithms.asodpop.ASODPOPBinaryDomains< Val extends Addable< Val >, U extends Addable< U > >.notifyIn(), frodo2.algorithms.dpop.count.CountSolutionsVALUE< Val extends Addable< Val >, U extends Addable< U > >.notifyIn(), frodo2.algorithms.dpop.param.ParamVALUE< Val extends Addable< Val > >.notifyIn(), frodo2.algorithms.dpop.privacy.EncryptedUTIL< V extends Addable< V >, U extends Addable< U >, E extends AddableLimited< U, E >.notifyIn(), frodo2.algorithms.dpop.privacy.SecureCircularRouting.notifyIn(), frodo2.algorithms.dpop.privacy.test.SecureRerootingTest.notifyIn(), frodo2.algorithms.dpop.restart.UTILreuse.notifyIn(), frodo2.algorithms.dpop.stochastic.SamplingPhase< V extends Addable< V >, U extends Addable< U > >.notifyIn(), frodo2.algorithms.duct.Sampling< V extends Addable< V > >.notifyIn(), frodo2.algorithms.duct.SamplingChild< V extends Addable< V > >.notifyIn(), frodo2.algorithms.duct.SamplingChildSearch< V extends Addable< V > >.notifyIn(), frodo2.algorithms.duct.SamplingPruning< V extends Addable< V > >.notifyIn(), frodo2.algorithms.duct.SamplingPruningSearch< V extends Addable< V > >.notifyIn(), frodo2.algorithms.localSearch.dsa.DSA< Val extends Addable< Val >, U extends Addable< U > >.notifyIn(), frodo2.algorithms.maxsum.MaxSum< V extends Addable< V >, U extends Addable< U > >.notifyIn(), frodo2.algorithms.mpc_discsp.MPC_DisCSP4< V extends Addable< V > >.notifyIn(), frodo2.algorithms.odpop.VALUEpropagation< Val extends Addable< Val >, U extends Addable< U > >.notifyIn(), frodo2.algorithms.varOrdering.dfs.DFSgenerationParallel< S extends Comparable< S > &Serializable >.notifyIn(), frodo2.algorithms.varOrdering.dfs.DFSgenerationWithOrder< V extends Addable< V >, U extends Addable< U > >.notifyIn(), frodo2.algorithms.varOrdering.factorgraph.FactorGraphGen< V extends Addable< V >, U extends Addable< U > >.notifyIn(), frodo2.algorithms.varOrdering.linear.CentralLinearOrdering< V extends Addable< V >, U extends Addable< U > >.notifyIn(), frodo2.controller.TestConfigurationManager.SimpleDaemonListener.notifyIn(), frodo2.daemon.LocalConfigManager.notifyIn(), frodo2.algorithms.asodpop.ASODPOP< Val extends Addable< Val >, U extends Addable< U > >.processUTILMessage(), frodo2.algorithms.asodpop.ASODPOPBinaryDomains< Val extends Addable< Val >, U extends Addable< U > >.processUTILMessage(), frodo2.algorithms.asodpop.ASODPOP< Val extends Addable< Val >, U extends Addable< U > >.processVALUEmessageParent(), frodo2.algorithms.asodpop.ASODPOPBinaryDomains< Val extends Addable< Val >, U extends Addable< U > >.processVALUEmessageParent(), frodo2.algorithms.localSearch.mgm.MGM< V extends Addable< V >, U extends Addable< U > >.sendOK(), frodo2.algorithms.localSearch.mgm.mgm2.MGM2< V extends Addable< V >, U extends Addable< U > >.sendOK(), frodo2.algorithms.mpc_discsp.MPC_DisCSP4< V extends Addable< V > >.terminate(), and frodo2.algorithms.mpc_discsp.MPC_DisWCSP4< V extends Addable< V > >.terminate().

◆ ALL_AGENTS_IDLE

◆ LOCAL_AGENT_ADDRESS_REQUEST

final MessageType frodo2.algorithms.AgentInterface< V extends Addable< V > >.LOCAL_AGENT_ADDRESS_REQUEST = MessageType.SYSTEM.newChild("AgentInterface", "local-address-request")
static

The message an agent uses to ask the white pages for an address.

Referenced by frodo2.daemon.TestLocalWhitePages.SimpleAgent.askAddress(), frodo2.algorithms.SingleQueueAgent< Val extends Addable< Val > >.connect(), frodo2.algorithms.adopt.test.ADOPTagentTest< V extends Addable< V >, U extends Addable< U > >.getMsgTypes(), frodo2.algorithms.AgentFactory< V extends Addable< V >, U extends Addable< U > >.getMsgTypes(), frodo2.algorithms.asodpop.tests.ASODPOPagentTest< V extends Addable< V >, U extends Addable< U > >.getMsgTypes(), frodo2.algorithms.asodpop.tests.ASODPOPBinaryAgentTest< V extends Addable< V >, U extends Addable< U > >.getMsgTypes(), frodo2.algorithms.dpop.test.DPOPagentTest< V extends Addable< V >, U extends Addable< U > >.getMsgTypes(), frodo2.algorithms.duct.tests.DUCTagentTest.getMsgTypes(), frodo2.algorithms.localSearch.dsa.tests.DSAagentTest< V extends Addable< V >, U extends Addable< U > >.getMsgTypes(), frodo2.algorithms.localSearch.mgm.mgm2.tests.MGM2agentTest< V extends Addable< V >, U extends Addable< U > >.getMsgTypes(), frodo2.algorithms.localSearch.mgm.tests.MGMagentTest< V extends Addable< V >, U extends Addable< U > >.getMsgTypes(), frodo2.algorithms.odpop.tests.ODPOPagentTest< V extends Addable< V >, U extends Addable< U > >.getMsgTypes(), frodo2.algorithms.odpop.tests.ODPOPagentTestBinaryDomains< V extends Addable< V >, U extends Addable< U > >.getMsgTypes(), frodo2.algorithms.odpop.tests.ODPOPagentTestFullDomain< V extends Addable< V >, U extends Addable< U > >.getMsgTypes(), frodo2.daemon.LocalWhitePages.LocalWhitePages(), frodo2.daemon.LocalWhitePages.LocalWhitePages(), and frodo2.daemon.LocalWhitePages.notifyIn().

◆ LOCAL_AGENT_REPORTING

final MessageType frodo2.algorithms.AgentInterface< V extends Addable< V > >.LOCAL_AGENT_REPORTING = MessageType.SYSTEM.newChild("AgentInterface", "local-agent-reporting")
static

an agent reports to its local white pages

Referenced by frodo2.algorithms.adopt.test.ADOPTagentTest< V extends Addable< V >, U extends Addable< U > >.getMsgTypes(), frodo2.algorithms.AgentFactory< V extends Addable< V >, U extends Addable< U > >.getMsgTypes(), frodo2.algorithms.asodpop.tests.ASODPOPagentTest< V extends Addable< V >, U extends Addable< U > >.getMsgTypes(), frodo2.algorithms.asodpop.tests.ASODPOPBinaryAgentTest< V extends Addable< V >, U extends Addable< U > >.getMsgTypes(), frodo2.algorithms.dpop.test.DPOPagentTest< V extends Addable< V >, U extends Addable< U > >.getMsgTypes(), frodo2.algorithms.duct.tests.DUCTagentTest.getMsgTypes(), frodo2.algorithms.localSearch.dsa.tests.DSAagentTest< V extends Addable< V >, U extends Addable< U > >.getMsgTypes(), frodo2.algorithms.localSearch.mgm.mgm2.tests.MGM2agentTest< V extends Addable< V >, U extends Addable< U > >.getMsgTypes(), frodo2.algorithms.localSearch.mgm.tests.MGMagentTest< V extends Addable< V >, U extends Addable< U > >.getMsgTypes(), frodo2.algorithms.odpop.tests.ODPOPagentTest< V extends Addable< V >, U extends Addable< U > >.getMsgTypes(), frodo2.algorithms.odpop.tests.ODPOPagentTestBinaryDomains< V extends Addable< V >, U extends Addable< U > >.getMsgTypes(), frodo2.algorithms.odpop.tests.ODPOPagentTestFullDomain< V extends Addable< V >, U extends Addable< U > >.getMsgTypes(), frodo2.daemon.LocalAgentReport.LocalAgentReport(), frodo2.daemon.LocalWhitePages.LocalWhitePages(), frodo2.daemon.LocalWhitePages.LocalWhitePages(), frodo2.algorithms.adopt.test.ADOPTagentTest< V extends Addable< V >, U extends Addable< U > >.notifyIn(), frodo2.algorithms.AgentFactory< V extends Addable< V >, U extends Addable< U > >.notifyIn(), frodo2.algorithms.asodpop.tests.ASODPOPagentTest< V extends Addable< V >, U extends Addable< U > >.notifyIn(), frodo2.algorithms.asodpop.tests.ASODPOPBinaryAgentTest< V extends Addable< V >, U extends Addable< U > >.notifyIn(), frodo2.algorithms.dpop.test.DPOPagentTest< V extends Addable< V >, U extends Addable< U > >.notifyIn(), frodo2.algorithms.duct.tests.DUCTagentTest.notifyIn(), frodo2.algorithms.localSearch.dsa.tests.DSAagentTest< V extends Addable< V >, U extends Addable< U > >.notifyIn(), frodo2.algorithms.localSearch.mgm.mgm2.tests.MGM2agentTest< V extends Addable< V >, U extends Addable< U > >.notifyIn(), frodo2.algorithms.localSearch.mgm.tests.MGMagentTest< V extends Addable< V >, U extends Addable< U > >.notifyIn(), frodo2.algorithms.odpop.tests.ODPOPagentTest< V extends Addable< V >, U extends Addable< U > >.notifyIn(), frodo2.algorithms.odpop.tests.ODPOPagentTestBinaryDomains< V extends Addable< V >, U extends Addable< U > >.notifyIn(), and frodo2.algorithms.odpop.tests.ODPOPagentTestFullDomain< V extends Addable< V >, U extends Addable< U > >.notifyIn().

◆ START_AGENT

final MessageType frodo2.algorithms.AgentInterface< V extends Addable< V > >.START_AGENT = MessageType.SYSTEM.newChild("AgentInterface", "Start-Agent")
static

Message used to tell an agent to start its algorithm.

Referenced by frodo2.algorithms.dpop.memory.LabelingPhase< V extends Addable< V > >.getMsgTypes(), frodo2.algorithms.dpop.privacy.CollaborativeDecryption< C extends Addable< C >, E extends AddableLimited< C, E, K extends PublicKeyShare >.getMsgTypes(), frodo2.algorithms.dpop.privacy.EncryptedUTIL< V extends Addable< V >, U extends Addable< U >, E extends AddableLimited< U, E >.getMsgTypes(), frodo2.algorithms.dpop.privacy.SecureCircularRouting.getMsgTypes(), frodo2.algorithms.dpop.privacy.test.SecureCircularRoutingTest.Forwarder.getMsgTypes(), frodo2.algorithms.dpop.privacy.VariableObfuscation< V extends Addable< V >, U extends Addable< U > >.getMsgTypes(), frodo2.algorithms.dpop.restart.UTILreuse.getMsgTypes(), frodo2.algorithms.duct.Normalize< V extends Addable< V > >.getMsgTypes(), frodo2.algorithms.duct.Sampling< V extends Addable< V > >.getMsgTypes(), frodo2.algorithms.mpc_discsp.MPC_DisCSP4< V extends Addable< V > >.getMsgTypes(), frodo2.algorithms.test.SampleMASagent.getMsgTypes(), frodo2.algorithms.varOrdering.factorgraph.FactorGraphGen< V extends Addable< V >, U extends Addable< U > >.getMsgTypes(), frodo2.algorithms.dpop.memory.LabelingPhase< V extends Addable< V > >.notifyIn(), frodo2.algorithms.dpop.privacy.SecureCircularRouting.notifyIn(), frodo2.algorithms.dpop.privacy.test.SecureCircularRoutingTest.Forwarder.notifyIn(), frodo2.algorithms.SingleQueueAgent< Val extends Addable< Val > >.notifyIn(), frodo2.controller.TestConfigurationManager.SimpleDaemonListener.notifyIn(), frodo2.algorithms.dpop.privacy.test.SecureRerootingTest.randomTest(), frodo2.algorithms.dpop.privacy.test.VariableObfuscationTest< V extends Addable< V > >.randomTest(), frodo2.communication.mailer.CentralMailer.FakeQueue.sendMessageToMulti(), frodo2.algorithms.adopt.test.ADOPTagentTest< V extends Addable< V >, U extends Addable< U > >.setStartMsgType(), frodo2.algorithms.dpop.test.DPOPagentTest< V extends Addable< V >, U extends Addable< U > >.setStartMsgType(), frodo2.algorithms.duct.tests.DUCTagentPruningSearchTest.setStartMsgType(), frodo2.algorithms.duct.tests.DUCTagentPruningTest.setStartMsgType(), frodo2.algorithms.duct.tests.DUCTagentTest.setStartMsgType(), frodo2.algorithms.localSearch.dsa.tests.DSAagentTest< V extends Addable< V >, U extends Addable< U > >.setStartMsgType(), frodo2.algorithms.localSearch.mgm.mgm2.tests.MGM2agentTest< V extends Addable< V >, U extends Addable< U > >.setStartMsgType(), frodo2.algorithms.localSearch.mgm.tests.MGMagentTest< V extends Addable< V >, U extends Addable< U > >.setStartMsgType(), frodo2.algorithms.odpop.tests.ODPOPagentTest< V extends Addable< V >, U extends Addable< U > >.setStartMsgType(), frodo2.algorithms.odpop.tests.ODPOPagentTestBinaryDomains< V extends Addable< V >, U extends Addable< U > >.setStartMsgType(), frodo2.algorithms.odpop.tests.ODPOPagentTestFullDomain< V extends Addable< V >, U extends Addable< U > >.setStartMsgType(), frodo2.controller.TestConfigurationManager.SimpleDaemonListener.SimpleDaemonListener(), frodo2.algorithms.adopt.test.testADOPT.startADOPT(), frodo2.algorithms.duct.tests.NormalizeInfTest.startNormalization(), frodo2.algorithms.duct.tests.NormalizeTest.startNormalization(), frodo2.algorithms.dpop.test.UTILpropagationTest< U extends Addable< U > >.startUTIL(), frodo2.algorithms.asodpop.tests.ASODPOPBinaryTest< V extends Addable< V >, U extends Addable< U > >.startUTILpropagation(), frodo2.algorithms.asodpop.tests.ASODPOPTest< V extends Addable< V >, U extends Addable< U > >.startUTILpropagation(), frodo2.algorithms.odpop.tests.UTILpropagationTest< V extends Addable< V >, U extends Addable< U > >.startUTILpropagation(), frodo2.algorithms.odpop.tests.VALUEpropagationTest< V extends Addable< V >, U extends Addable< U > >.startUTILpropagation(), frodo2.algorithms.dpop.privacy.test.SecureCircularRoutingTest.test(), frodo2.algorithms.dpop.stochastic.test.LowestCommonAncestorsTest.test(), frodo2.algorithms.varOrdering.linear.tests.CentralLinearOrderingTest.test(), frodo2.algorithms.varOrdering.dfs.tests.DFSgenerationTest.testRandom(), and frodo2.algorithms.varOrdering.election.tests.VariableElectionTest< S extends Comparable< S > &Serializable >.testRandom().

◆ STATS_MONITOR

final String frodo2.algorithms.AgentInterface< V extends Addable< V > >.STATS_MONITOR = "Statistics Monitor"
static

Recipient ID to which statistics about algorithm execution should be sent.

Referenced by frodo2.algorithms.dpop.count.CountSolutionsVALUE< Val extends Addable< Val >, U extends Addable< U > >.computeOptValAndSendVALUEmsgs(), frodo2.algorithms.dpop.param.ParamVALUE< Val extends Addable< Val > >.computeOptValAndSendVALUEmsgs(), frodo2.algorithms.dpop.VALUEpropagation< Val extends Addable< Val > >.computeOptValAndSendVALUEmsgs(), frodo2.algorithms.adopt.ADOPT< Val extends Addable< Val >, U extends Addable< U > >.decideSingleton(), frodo2.communication.mailer.CentralMailer.execute(), frodo2.algorithms.odpop.VALUEpropagation< Val extends Addable< Val >, U extends Addable< U > >.findOptimalAssignmentAndSend(), frodo2.algorithms.dpop.stochastic.SamplingPhase< V extends Addable< V >, U extends Addable< U > >.AtLeaves< V extends Addable< V >, U extends Addable< U > >.init(), frodo2.algorithms.localSearch.dsa.DSA< Val extends Addable< Val >, U extends Addable< U > >.init(), frodo2.algorithms.localSearch.mgm.MGM< V extends Addable< V >, U extends Addable< U > >.init(), frodo2.algorithms.localSearch.mgm.mgm2.MGM2< V extends Addable< V >, U extends Addable< U > >.init(), frodo2.algorithms.mpc_discsp.MPC_DisCSP4< V extends Addable< V > >.init(), frodo2.algorithms.dpop.test.UTILpropagationTest< U extends Addable< U > >.Listener.Listener(), frodo2.algorithms.dpop.test.VALUEpropagationTest< U extends Addable< U > >.Listener.Listener(), frodo2.communication.mailer.CentralMailer.newQueue(), frodo2.algorithms.dpop.memory.LabelingPhase< V extends Addable< V > >.notifyIn(), frodo2.algorithms.dpop.privacy.SecureCircularRouting.notifyIn(), frodo2.algorithms.dpop.stochastic.CompleteUTIL< Val extends Addable< Val >, U extends Addable< U > >.notifyIn(), frodo2.algorithms.duct.Normalize< V extends Addable< V > >.notifyIn(), frodo2.algorithms.duct.NormalizeInf< V extends Addable< V > >.notifyIn(), frodo2.algorithms.duct.Sampling< V extends Addable< V > >.notifyIn(), frodo2.algorithms.duct.SamplingChild< V extends Addable< V > >.notifyIn(), frodo2.algorithms.duct.SamplingChildSearch< V extends Addable< V > >.notifyIn(), frodo2.algorithms.duct.SamplingPruning< V extends Addable< V > >.notifyIn(), frodo2.algorithms.duct.SamplingPruningSearch< V extends Addable< V > >.notifyIn(), frodo2.algorithms.maxsum.MaxSum< V extends Addable< V >, U extends Addable< U > >.notifyIn(), frodo2.algorithms.mpc_discsp.MPC_DisCSP4< V extends Addable< V > >.notifyIn(), frodo2.algorithms.varOrdering.linear.LinearOrdering< V extends Addable< V >, U extends Addable< U > >.notifyIn(), frodo2.algorithms.test.MessageDebugger.notifyOut(), frodo2.algorithms.odpop.UTILpropagation< Val extends Addable< Val >, U extends Addable< U > >.processASK(), frodo2.algorithms.odpop.UTILpropagationFullDomain< Val extends Addable< Val >, U extends Addable< U >, L extends LeafNode< U > >.processASK(), frodo2.algorithms.odpop.UTILpropagation< Val extends Addable< Val >, U extends Addable< U > >.processDONE(), frodo2.algorithms.odpop.UTILpropagation< Val extends Addable< Val >, U extends Addable< U > >.processGOOD(), frodo2.algorithms.asodpop.ASODPOP< Val extends Addable< Val >, U extends Addable< U > >.processUTILMessage(), frodo2.algorithms.asodpop.ASODPOPBinaryDomains< Val extends Addable< Val >, U extends Addable< U > >.processUTILMessage(), frodo2.algorithms.asodpop.ASODPOP< Val extends Addable< Val >, U extends Addable< U > >.processVALUEmessageParent(), frodo2.algorithms.asodpop.ASODPOPBinaryDomains< Val extends Addable< Val >, U extends Addable< U > >.processVALUEmessageParent(), frodo2.algorithms.dpop.memory.MemoryBoundedUTIL< V extends Addable< V >, U extends Addable< U > >.projectAndSend(), frodo2.algorithms.dpop.privacy.test.SecureRerootingTest.randomTest(), frodo2.algorithms.dpop.privacy.test.VariableObfuscationTest< V extends Addable< V > >.randomTest(), frodo2.communication.mailer.CentralMailer.FakeQueue.recordStats(), frodo2.communication.Queue.recordStats(), frodo2.algorithms.varOrdering.dfs.DFSgenerationParallel< S extends Comparable< S > &Serializable >.FakeQueue.releaseOutput(), frodo2.algorithms.localSearch.mgm.MGM< V extends Addable< V >, U extends Addable< U > >.sendOK(), frodo2.algorithms.localSearch.mgm.mgm2.MGM2< V extends Addable< V >, U extends Addable< U > >.sendOK(), frodo2.algorithms.dpop.count.CountSolutionsUTIL< Val extends Addable< Val >, U extends Addable< U > >.sendOutput(), frodo2.algorithms.dpop.param.ParamUTIL< Val extends Addable< Val >, U extends Addable< U > >.sendOutput(), frodo2.algorithms.dpop.stochastic.SamplingPhase< V extends Addable< V >, U extends Addable< U > >.AtLCAs< V extends Addable< V >, U extends Addable< U > >.sendOutput(), frodo2.algorithms.dpop.UTILpropagation< Val extends Addable< Val >, U extends Addable< U > >.sendOutput(), frodo2.algorithms.dpop.count.CountSolutionsUTIL< Val extends Addable< Val >, U extends Addable< U > >.sendToParent(), frodo2.algorithms.dpop.UTILpropagation< Val extends Addable< Val >, U extends Addable< U > >.sendToParent(), frodo2.algorithms.adopt.test.ADOPTagentTest< V extends Addable< V >, U extends Addable< U > >.setUp(), frodo2.algorithms.asodpop.tests.ASODPOPagentTest< V extends Addable< V >, U extends Addable< U > >.setUp(), frodo2.algorithms.asodpop.tests.ASODPOPBinaryAgentTest< V extends Addable< V >, U extends Addable< U > >.setUp(), frodo2.algorithms.dpop.param.test.ParamDPOPtest< V extends Addable< V >, U extends Addable< U > >.setUp(), frodo2.algorithms.dpop.privacy.test.SecureCircularRoutingTest.setUp(), frodo2.algorithms.dpop.stochastic.robust.test.Robust_E_DPOPagentTest< V extends Addable< V > >.setUp(), frodo2.algorithms.dpop.stochastic.test.E_DPOPagentTest< V extends Addable< V > >.setUp(), frodo2.algorithms.dpop.test.DPOPagentTest< V extends Addable< V >, U extends Addable< U > >.setUp(), frodo2.algorithms.duct.tests.DUCTagentChildSearchTest.setUp(), frodo2.algorithms.duct.tests.DUCTagentChildTest.setUp(), frodo2.algorithms.duct.tests.DUCTagentPruningSearchTest.setUp(), frodo2.algorithms.duct.tests.DUCTagentPruningTest.setUp(), frodo2.algorithms.duct.tests.DUCTagentTest.setUp(), frodo2.algorithms.localSearch.dsa.tests.DSAagentTest< V extends Addable< V >, U extends Addable< U > >.setUp(), frodo2.algorithms.localSearch.dsa.tests.TestDSA< U extends Addable< U > >.setUp(), frodo2.algorithms.localSearch.mgm.mgm2.tests.MGM2agentTest< V extends Addable< V >, U extends Addable< U > >.setUp(), frodo2.algorithms.localSearch.mgm.tests.MGMagentTest< V extends Addable< V >, U extends Addable< U > >.setUp(), frodo2.algorithms.odpop.tests.ODPOPagentTest< V extends Addable< V >, U extends Addable< U > >.setUp(), frodo2.algorithms.odpop.tests.ODPOPagentTestBinaryDomains< V extends Addable< V >, U extends Addable< U > >.setUp(), frodo2.algorithms.odpop.tests.ODPOPagentTestFullDomain< V extends Addable< V >, U extends Addable< U > >.setUp(), frodo2.algorithms.SingleQueueAgent< Val extends Addable< Val > >.setup(), frodo2.algorithms.maxsum.MaxSum< V extends Addable< V >, U extends Addable< U > >.start(), frodo2.algorithms.odpop.UTILpropagationFullDomain< Val extends Addable< Val >, U extends Addable< U >, L extends LeafNode< U > >.startProcess(), frodo2.algorithms.afb.AFB< V extends Addable< V >, U extends Addable< U > >.terminate(), frodo2.algorithms.mpc_discsp.MPC_DisCSP4< V extends Addable< V > >.terminate(), frodo2.algorithms.mpc_discsp.MPC_DisWCSP4< V extends Addable< V > >.terminate(), frodo2.algorithms.synchbb.SynchBB< V extends Addable< V >, U extends Addable< U > >.terminate(), frodo2.algorithms.dpop.stochastic.SamplingPhase< V extends Addable< V >, U extends Addable< U > >.AtLCAs< V extends Addable< V >, U extends Addable< U > >.terminatePhase2(), frodo2.algorithms.adopt.test.testADOPT.test(), frodo2.algorithms.asodpop.tests.ASODPOPBinaryTest< V extends Addable< V >, U extends Addable< U > >.test(), frodo2.algorithms.asodpop.tests.ASODPOPTest< V extends Addable< V >, U extends Addable< U > >.test(), frodo2.algorithms.dpop.stochastic.test.LowestCommonAncestorsTest.test(), frodo2.algorithms.duct.tests.NormalizeInfTest.test(), frodo2.algorithms.duct.tests.NormalizeTest.test(), frodo2.algorithms.odpop.tests.UTILpropagationTest< V extends Addable< V >, U extends Addable< U > >.test(), frodo2.algorithms.odpop.tests.VALUEpropagationTest< V extends Addable< V >, U extends Addable< U > >.test(), frodo2.algorithms.varOrdering.linear.tests.CentralLinearOrderingTest.test(), frodo2.algorithms.adopt.test.testPreprocessing.testRandom(), frodo2.algorithms.varOrdering.dfs.tests.DFSgenerationTest.testRandom(), frodo2.algorithms.odpop.UTILpropagation< Val extends Addable< Val >, U extends Addable< U > >.utilPropagationFinished(), frodo2.algorithms.odpop.UTILpropagationBinaryDomains< Val extends Addable< Val >, U extends Addable< U > >.utilPropagationFinished(), and frodo2.algorithms.odpop.UTILpropagationFullDomain< Val extends Addable< Val >, U extends Addable< U >, L extends LeafNode< U > >.utilPropagationFinished().

◆ STOP_AGENT


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