public class EfsmSimulator extends SimulatorEngine
EfsmModel
.EfsmModel
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ENGINE_ID
The engine ID of all
EfsmSimulator instances. |
Constructor and Description |
---|
EfsmSimulator()
Creates a simulator.
|
Modifier and Type | Method and Description |
---|---|
SequenceModel |
start(java.util.Map<EntityType,Entity> inputs)
Simulates the specified input sequences on the specified EFSM modules and returns produced
output sequences.
|
addBackend, addInputType, addParameter, defines, equals, getId, getInputTypes, getLogger, getMandatoryInputEntity, getOptionalInputEntity, getOutputType, getParameters, hasBackEnds, hashCode, parseCommandLine, runBackEnds, setOutputType, setProgress, start, toString, uses
public static final java.lang.String ENGINE_ID
EfsmSimulator
instances.public SequenceModel start(java.util.Map<EntityType,Entity> inputs)
start
in class Engine
inputs
- a map containing the input sequences and the EFSM modules. It must contain
mappings from SequenceModel
entity type to a SequenceModel
object
and from EfsmModel
entity type to an EfsmModel
objectjava.lang.IllegalArgumentException
- if inputs
is null
java.lang.IllegalArgumentException
- if inputs
contains either no mapping from
SequenceModel
entity type to a SequenceModel
object or from
EfsmModel
entity type to an EfsmModel
objectjava.lang.IllegalArgumentException
- if amounts of sequences in SequenceModel
and top-level
modules in EfsmModel
are different