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.
|
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.
|
Constructor and Description |
---|
SimpleDevs(IDevs model)
SimpleDevs specialized constructor that takes a model to simulate.
|
Modifier and Type | Interface and Description |
---|---|
interface |
IAtomicDevs
DEVS atomic model API.
|
interface |
ICoupledDevs
DEVS coupled model API.
|
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 Map<String,IDevs> |
CoupledDevs._componentDictionary
A dictionary that associates DEVS models to a name.
|
protected Set<IDevs> |
CoupledDevs._components
HashSet of DEVS models (atomic and coupled) that compose this model.
|
Modifier and Type | Method and Description |
---|---|
IDevs |
CoupledDevs.CoupledFactory.create(Object... args)
The factory method, instantiates a
CoupledDevs object. |
Modifier and Type | Method and Description |
---|---|
Map<String,IDevs> |
ICoupledDevs.componentDictionary()
Getter on a dictionary that associates all internal models to their
names.
|
Map<String,IDevs> |
CoupledDevs.componentDictionary()
Getter on a dictionary associating all internal models to their
names.
|
Set<IDevs> |
ICoupledDevs.components()
Getter on the unordered_set (~java HashSet) that contains all internal
models.
|
Set<IDevs> |
CoupledDevs.components()
Getter on the HashSet that contains all internal models.
|
Modifier and Type | Method and Description |
---|---|
void |
ICoupledDevs.add(IDevs d)
Add a new Devs model (atomic or coupled) into the Devs coupled model
|
void |
CoupledDevs.add(IDevs iod)
Add a new Devs model (atomic or coupled) into the Devs coupled model
|
void |
ICoupledDevs.addCoupling(IDevs src,
String p1,
IDevs dest,
String p2)
Add a new coupling relation between internal model or between the
coupled model and its internals models.
|
void |
CoupledDevs.addCoupling(IDevs src,
String p1,
IDevs dest,
String p2)
Add a new coupling relation between internal model or between the
coupled model and its internals models.
|
Modifier and Type | Field and Description |
---|---|
protected IDevs |
Simulator._model
Associated model.
|
Modifier and Type | Method and Description |
---|---|
IDevs |
Simulator.model()
Getter on the simulated model.
|
IDevs |
ISimulator.model()
Getter on the simulated model.
|
Modifier and Type | Method and Description |
---|---|
protected void |
Coordinator.simulatorCreated(IAtomicSimulator s,
IDevs d)
When a simulator or a coordinator has been created by this coordinator,
adds it to the memory linked with their assigned model.
|
Constructor and Description |
---|
AtomicSimulator(IDevs model,
IAtomicSimulator parent)
Specific constructor that sets the model to simulate and the parent
simulator.
|
AtomicSimulator(IDevs model,
IAtomicSimulator parent,
IScheduler scheduler)
Specific constructor that sets the model to simulate, the parent
simulator and the simulation scheduler.
|
Simulator(IDevs model)
Specific constructor that sets the name to "SingleSimulator" and takes
a model to simulate.
|
Copyright © 2017–2019 UniversitĂ© CĂ´te d'Azur, CNRS, I3S. All rights reserved.