Uses of Interface
org.simplesim.model.Agent
Package
Description
Classes for messaging and message forwarding
Examples of how to use this framework
Contains all classes specific for the dynamic model
Contains all classes shared by static and dynamic model
Contains all classes specific for the static model
Simulation model of Convay's game of life
Base classes for agent development and model building
Simulator implementations
-
Uses of Agent in org.simplesim.core.messaging
Modifier and TypeMethodDescriptionvoid
DirectMessageForwarding.forwardMessages
(Collection<Agent> agentList) void
MessageForwardingStrategy.forwardMessages
(Collection<Agent> sender) Dies the message forwarding.void
RecursiveMessageForwarding.forwardMessages
(Collection<Agent> agentList) void
RoutingMessageForwarding.forwardMessages
(Collection<Agent> agentList) default Collection<Port>
MessageForwardingStrategy.listPortsWithOutgoingMsg
(Collection<Agent> agentList) Build a collection of all ports with outgoing messages based on the collection of sending agents. -
Uses of Agent in org.simplesim.examples
Modifier and TypeClassDescriptionclass
Simple implementation of aRoutingAgent
as template for own implementations -
Uses of Agent in org.simplesim.examples.elevator.dyn
Modifier and TypeClassDescriptionfinal class
Part of the dynamic elevator examplefinal class
Part of the dynamic elevator exampleModifier and TypeMethodDescriptionvoid
DynamicElevator.sendMessage
(Agent recipient, Request content) -
Uses of Agent in org.simplesim.examples.elevator.stat
Modifier and TypeClassDescriptionfinal class
Part of the static elevator examplefinal class
Part of the static elevator exampleModifier and TypeMethodDescriptionvoid
StaticElevator.sendMessage
(Agent recipient, Request content) -
Uses of Agent in org.simplesim.examples.gameoflife
-
Uses of Agent in org.simplesim.model
Modifier and TypeClassDescriptionclass
BasicAgent<S extends State,
E> Implements all basic functionality of an agent.final class
InstrumentationDecorator<S extends State,
E> Decorator to add instrumentation functionality to an agent.class
RoutingAgent<S extends State,
E> Extension of anAbstractAgent
to enable massage routing.Modifier and TypeMethodDescriptionBasicDomain.listAllAgents
(boolean recursive) Domain.listAllAgents
(boolean recursive) Returns all agents within this domain -
Uses of Agent in org.simplesim.simulator
Modifier and TypeMethodDescriptionBasicSimulator.getCurrentEventList()
DynamicDecorator.getCurrentEventList()
Simulator.getCurrentEventList()
ModifierConstructorDescriptionBasicSimulator
(BasicDomain root, EventQueue<Agent> queue, MessageForwardingStrategy forwarding) Constructs a new simulator with given model, queue implementation and messaging strategyConcurrentDESimulator
(BasicDomain root, EventQueue<Agent> queue, MessageForwardingStrategy forwarding) Constructs a new concurrent simulator with given model, queue implementation and messaging strategySequentialDESimulator
(BasicDomain root, EventQueue<Agent> queue) SequentialDESimulator
(BasicDomain root, EventQueue<Agent> queue, MessageForwardingStrategy forwarding) Constructs a new sequential simulator with given model, queue implementation and messaging strategy