|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|
A fake agent factory. More...

Additional Inherited Members | |
| Public Member Functions inherited from frodo2.algorithms.AgentFactory< V extends Addable< V >, U extends Addable< U > > | |
| AgentFactory (Document problemDesc, Document agentDesc) | |
| Constructor. | |
| AgentFactory (Document problemDesc, Document agentDesc, String outputFilePath) | |
| Constructor. | |
| AgentFactory (Document problemDesc, Document agentDesc, long timeout) | |
| Constructor. | |
| AgentFactory (Document problemDesc, Document agentDesc, String outputFilePath, long timeout) | |
| Constructor. | |
| AgentFactory (Document problemDesc, Document agentDesc, Collection<? extends StatsReporter > solGatherers) | |
| Constructor. | |
| AgentFactory (Document problemDesc, Document agentDesc, String outputFilePath, Collection<? extends StatsReporter > solGatherers, Long timeout, boolean statsToController) | |
| Constructor. | |
| AgentFactory (Document problemDesc, Document agentDesc, Collection<? extends StatsReporter > solGatherers, Long timeout, boolean statsToController) | |
| Constructor. | |
| AgentFactory (Document problemDesc, Document agentDesc, Collection<? extends StatsReporter > solGatherers, Long timeout, boolean useTCP, boolean statsToController) | |
| Constructor. | |
| AgentFactory (Document problemDesc, Document agentDesc, String outputFilePath, Collection<? extends StatsReporter > solGatherers, Long timeout, boolean useTCP, boolean statsToController) | |
| Constructor. | |
| AgentFactory (ProblemInterface< V, U > problem, Document agentDesc, Collection<? extends StatsReporter > solGatherers, Long timeout) | |
| Constructor. | |
| AgentFactory (ProblemInterface< V, U > problem, Document agentDesc, Collection<? extends StatsReporter > solGatherers, Long timeout, boolean useTCP) | |
| Constructor. | |
| AgentFactory (ProblemInterface< V, U > problem, Document agentDesc, Collection<? extends StatsReporter > solGatherers, Long timeout, boolean useTCP, boolean statsToController) | |
| Constructor. | |
| AgentFactory (ProblemInterface< V, U > problem, Document agentDesc, String outputFilePath, Collection<? extends StatsReporter > solGatherers, Long timeout, boolean useTCP, boolean statsToController) | |
| Constructor. | |
| void | restart (ProblemInterface< V, U > problem) |
| Restarts the algorithm on a new problem. | |
| void | end () |
| Kills all agents and threads. | |
| Collection< MessageType > | getMsgTypes () |
| void | notifyIn (Message msg) |
| void | setQueue (Queue queue) |
| Does nothing. | |
| long | getNcccs () |
| long | getTime () |
| int | getNbrMsgs () |
| long | getTotalMsgSize () |
| long | getOverallMaxMsgSize () |
| TreeMap< MessageType, Integer > | getMsgNbrs () |
| TreeMap< Object, Integer > | getMsgNbrsSentPerAgent () |
| TreeMap< Object, Integer > | getMsgNbrsReceivedPerAgent () |
| TreeMap< MessageType, Long > | getMsgSizes () |
| TreeMap< Object, Long > | getMsgSizesSentPerAgent () |
| TreeMap< Object, Long > | getMsgSizesReceivedPerAgent () |
| TreeMap< MessageType, Long > | getMaxMsgSizes () |
| boolean | timedOut () |
| boolean | outOfMemory () |
| Map< String, V > | getCurrentSolution () |
| Method used to obtain the final solution in the case of a time out or an OutOfMemory exceptions. | |
| Public Member Functions inherited from frodo2.communication.IncomingMsgPolicyInterface< T > | |
| default void | notifyIn (Message msg, Object toAgent) |
| Notifies the listener of an incoming message. | |
| Static Public Member Functions inherited from frodo2.algorithms.AgentFactory< V extends Addable< V >, U extends Addable< U > > | |
| static< V extends Addable< V > U extends Addable< U > AgentInterface< V > | createAgent (QueueOutputPipeInterface toDaemonPipe, QueueOutputPipeInterface toControllerPipe, ProblemInterface< V, U > probDesc, Document agentDesc, int port) |
| static< V extends Addable< V > U extends Addable< U > AgentInterface< V > | createAgent (QueueOutputPipeInterface toDaemonPipe, QueueOutputPipeInterface toControllerPipe, ProblemInterface< V, U > probDesc, Document agentDesc, boolean statsToController, int port) |
| static< V extends Addable< V > U extends Addable< U > AgentInterface< V > | createAgent (QueueOutputPipeInterface controllerPipe, ProblemInterface< V, U > probDesc, Document agentDesc, CentralMailer mailman) |
| static void | main (String[] args) |
| Runs the input algorithm on the input problem. | |
| static void | printMsgStats (Map< MessageType, Integer > msgNbrs, Map< Object, Integer > msgNbrsSentPerAgent, Map< Object, Integer > msgNbrsReceivedPerAgent, Map< MessageType, Long > msgSizes, Map< Object, Long > msgSizesSentPerAgent, Map< Object, Long > msgSizesReceivedPerAgent, Map< MessageType, Long > maxMsgSizes) |
| Prints the message statistics. | |
| Static Public Attributes inherited from frodo2.algorithms.AgentFactory< V extends Addable< V >, U extends Addable< U > > | |
| static long | DEFAULT_TIMEOUT = 600000 |
| The default timeout in milliseconds. | |
| Protected Member Functions inherited from frodo2.algorithms.AgentFactory< V extends Addable< V >, U extends Addable< U > > | |
| AgentFactory () | |
| Empty constructor. | |
| Static Package Functions inherited from frodo2.algorithms.AgentFactory< V extends Addable< V >, U extends Addable< U > > | |
| [static initializer] | |
A fake agent factory.