public class EfsmModelSimulator extends SimulatorEngine
EfsmModel
.EfsmModel
DISABLE_BACKENDS, NO_BACKEND
Constructor and Description |
---|
EfsmModelSimulator()
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, deactivateBackends, debugWrite, debugWrite, defines, disableAllBackends, enableAllBackends, equals, getBackends, getId, getInputEntity, getInputTypes, getLogger, getOptionalInputEntity, getOutputType, getParameters, hashCode, isDebugMode, parseCommandLine, setDebugMode, setOutputType, start, toString
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