public abstract class EfsmEngine extends Engine
Modifier and Type | Field and Description |
---|---|
protected ModelVisitor |
visitor |
Modifier | Constructor and Description |
---|---|
protected |
EfsmEngine(java.lang.String id,
ModelVisitor visitor,
EntityType outputType)
Constructs an EFSM engine with the specified ID, visitor, and output type.
|
Modifier and Type | Method and Description |
---|---|
protected abstract Entity |
getOutput()
Returns an output entity of this engine.
|
protected abstract void |
initialise(java.util.Map<EntityType,Entity> inputs)
Initialises this EFSM engine with the specified inputs.
|
Entity |
start(java.util.Map<EntityType,Entity> inputs)
Processes entities of the input types and produces an entity of the output type.
|
addBackend, addInputType, addParameter, defines, equals, getId, getInputEntity, getInputTypes, getLogger, getOptionalInputEntity, getOutputType, getParameters, hashCode, parseCommandLine, setOutputType, start, toString
protected final ModelVisitor visitor
protected EfsmEngine(java.lang.String id, ModelVisitor visitor, EntityType outputType)
id
- the IDvisitor
- the visitoroutputType
- the output typeprotected abstract void initialise(java.util.Map<EntityType,Entity> inputs)
inputs
- a map containing mappings between entity types and corresponding entitiespublic Entity start(java.util.Map<EntityType,Entity> inputs)
Engine
protected abstract Entity getOutput()