Package | Description |
---|---|
examples.CoupledDevs |
This package contains a simple example of a one level deep DEVS simulation.
|
examples.HierarchicalDevs |
This package exposes how to build a simulation with several levels of coupled model.
|
examples.SingleDevs |
This package contains a simple example of what a simulation with a single atomic model may look like.
|
modeling.models |
Models in the DEVS sense.
|
simulation.simulators |
All the machinery actually making the simulation possible is implemented here.
|
util |
A tool box for models and simulators.
|
Modifier and Type | Class and Description |
---|---|
class |
SimpleCoupledModel
A simple example of a DEVS coupled model.
|
Modifier and Type | Class and Description |
---|---|
class |
SimpleHierarchicalModel
A simple example of a two-levels deep coupled model.
|
Modifier and Type | Class and Description |
---|---|
class |
SimpleAtomic
This class is a simple example of what can be a basic atomic model.
|
class |
SimpleDevs
This very basic simulator passively encapsulates a
SimpleAtomic . |
Modifier and Type | Interface and Description |
---|---|
interface |
IAtomicDevs
DEVS atomic model API.
|
interface |
ICoupledDevs
DEVS coupled model API.
|
interface |
IDevs
An interface for Devs models.
|
Modifier and Type | Class and Description |
---|---|
class |
AtomicDevs
An atomic model as defined in the DEVS formalism.
|
class |
CoupledDevs
A coupled model as defined in the DEVS formalism.
|
class |
Devs
A DEVS model representation.
|
Modifier and Type | Field and Description |
---|---|
protected MultiMap<Map.Entry<INamed,Port>,Map.Entry<INamed,Port>> |
CoupledDevs._couplingInfo
A MultiMap that contains internal coupling information.
|
protected MultiMap<Map.Entry<INamed,Port>,Map.Entry<INamed,Port>> |
CoupledDevs._couplingInfo
A MultiMap that contains internal coupling information.
|
Modifier and Type | Method and Description |
---|---|
MultiMap<Map.Entry<INamed,Port>,Map.Entry<INamed,Port>> |
ICoupledDevs.couplingInfo()
Getter on the multi-map that contains all coupling relation that is to
say associate a pair model/port to
another.
|
MultiMap<Map.Entry<INamed,Port>,Map.Entry<INamed,Port>> |
ICoupledDevs.couplingInfo()
Getter on the multi-map that contains all coupling relation that is to
say associate a pair model/port to
another.
|
MultiMap<Map.Entry<INamed,Port>,Map.Entry<INamed,Port>> |
CoupledDevs.couplingInfo()
Getter on the MultiMap that contains all coupling relation that is to
say associate a pair model/port to
another.
|
MultiMap<Map.Entry<INamed,Port>,Map.Entry<INamed,Port>> |
CoupledDevs.couplingInfo()
Getter on the MultiMap that contains all coupling relation that is to
say associate a pair model/port to
another.
|
Modifier and Type | Method and Description |
---|---|
int |
Devs.compareTo(INamed in) |
Modifier and Type | Method and Description |
---|---|
void |
CoupledDevs.addPair(Map.Entry<INamed,Port> cs,
Map.Entry<INamed,Port> cd)
Add a coupling data represent as a pair of string for the key and a
pair of string for the value.
|
void |
CoupledDevs.addPair(Map.Entry<INamed,Port> cs,
Map.Entry<INamed,Port> cd)
Add a coupling data represent as a pair of string for the key and a
pair of string for the value.
|
Modifier and Type | Interface and Description |
---|---|
interface |
IAtomicSimulator
Atomic Simulator interface.
|
interface |
ICoordinator
DEVS coordinator API.
|
interface |
ISimulator
Devs simulator API.
|
Modifier and Type | Class and Description |
---|---|
class |
AtomicSimulator
Simulator made for models coupled inside a coupling model.
|
class |
Coordinator
A Coordinator is like a conductor in a DEVS simulation.
|
class |
Simulator
Simulator for only one simple model.
|
Modifier and Type | Field and Description |
---|---|
protected MultiMap<Map.Entry<INamed,Port>,Map.Entry<INamed,Port>> |
AtomicSimulator._couplingInfo
Data structure that represents the coupling between internal models.
|
protected MultiMap<Map.Entry<INamed,Port>,Map.Entry<INamed,Port>> |
AtomicSimulator._couplingInfo
Data structure that represents the coupling between internal models.
|
protected HashMap<INamed,IAtomicSimulator> |
AtomicSimulator._modelsToSimulate
A collection of simulators associated with their model's name.
|
protected MultiMap<Map.Entry<INamed,Port>,Map.Entry<INamed,Port>> |
Coordinator.extCoupInfo
The links from outside of this coordinator to itself.
|
protected MultiMap<Map.Entry<INamed,Port>,Map.Entry<INamed,Port>> |
Coordinator.extCoupInfo
The links from outside of this coordinator to itself.
|
protected Map<INamed,IAtomicSimulator> |
Coordinator.internalModelTosim
The internal model, that is to say the
|
Modifier and Type | Method and Description |
---|---|
MultiMap<INamed,IContent> |
Coordinator.convertInput(Message x)
Converts an input to a map of model names to contents.
|
MultiMap<INamed,IContent> |
ICoordinator.convertInput(Message x)
Converts an input to a map of model names to contents.
|
MultiMap<INamed,IContent> |
IAtomicSimulator.convertMsg(Message x)
Convert a message into a MultiMap.
|
MultiMap<INamed,IContent> |
AtomicSimulator.convertMsg(Message x)
Convert a message into a MultiMap.
|
Map<INamed,IAtomicSimulator> |
Coordinator.internalModelToSim()
A getter to a dictionary to link the atomic models under the coupled
model associated with this coordinator, and their simulator.
|
Map<INamed,IAtomicSimulator> |
ICoordinator.internalModelToSim()
A getter to a dictionary to link the atomic models under the coupled
model associated with this coordinator, and their simulator.
|
Modifier and Type | Method and Description |
---|---|
int |
Simulator.compareTo(INamed in) |
Modifier and Type | Method and Description |
---|---|
void |
Coordinator.addExtPair(Map.Entry<INamed,Port> cs,
Map.Entry<INamed,Port> cd)
Add an external pairing, that is to say a pairing from an external
model and its Port to this model and a given Port.
|
void |
Coordinator.addExtPair(Map.Entry<INamed,Port> cs,
Map.Entry<INamed,Port> cd)
Add an external pairing, that is to say a pairing from an external
model and its Port to this model and a given Port.
|
void |
ICoordinator.addExtPair(Map.Entry<INamed,Port> cs,
Map.Entry<INamed,Port> cd)
Add an external pairing, that is to say a pairing from an external
model and its Port to this model and a given Port.
|
void |
ICoordinator.addExtPair(Map.Entry<INamed,Port> cs,
Map.Entry<INamed,Port> cd)
Add an external pairing, that is to say a pairing from an external
model and its Port to this model and a given Port.
|
void |
IAtomicSimulator.addPair(Map.Entry<INamed,Port> cSender,
Map.Entry<INamed,Port> cReceiver)
Add a coupling information.
|
void |
IAtomicSimulator.addPair(Map.Entry<INamed,Port> cSender,
Map.Entry<INamed,Port> cReceiver)
Add a coupling information.
|
void |
AtomicSimulator.addPair(Map.Entry<INamed,Port> cSender,
Map.Entry<INamed,Port> cReceiver)
Add a coupling information.
|
void |
AtomicSimulator.addPair(Map.Entry<INamed,Port> cSender,
Map.Entry<INamed,Port> cReceiver)
Add a coupling information.
|
void |
IAtomicSimulator.setModelsToSimulate(HashMap<INamed,IAtomicSimulator> modelsToSimulate)
Setter on list of models to simulate into this.
|
void |
AtomicSimulator.setModelsToSimulate(HashMap<INamed,IAtomicSimulator> modelsToSimulate)
Setter on list of models to simulate into this.
|
protected void |
Coordinator.tellAllSimsSetModToSim(HashMap<INamed,IAtomicSimulator> inFunc)
Assigns models to simulators
|
Modifier and Type | Interface and Description |
---|---|
interface |
Factory<C extends INamed>
The common Factory between models and simulators.
|
Copyright © 2017–2019 UniversitĂ© CĂ´te d'Azur, CNRS, I3S. All rights reserved.