public class JNeuroMLSimulatorService extends AExternalProcessNeuronalSimulator
Modifier and Type | Field and Description |
---|---|
protected java.io.File |
filePath |
private ExternalSimulatorConfig |
jneuromlExternalSimulatorConfig |
private SimulatorConfig |
jneuromlSimulatorConfig |
private static Log |
logger |
commands, directoryToExecuteFrom, originalFileName, outputFolder, started
aspectConfiguration, experimentState, geppettoModelAccess, model
Constructor and Description |
---|
JNeuroMLSimulatorService() |
Modifier and Type | Method and Description |
---|---|
void |
createCommands(java.lang.String originalFileName)
Creates command to be executed by an external process
|
java.lang.String |
getId() |
java.lang.String |
getName() |
java.lang.String |
getSimulatorPath() |
void |
initialize(DomainModel model,
IAspectConfiguration aspectConfiguration,
ExperimentState experimentState,
ISimulatorCallbackListener listener,
GeppettoModelAccess modelAccess)
This interface assumes the simulator will use the domain model (IModel) to simulate.
|
void |
registerGeppettoService() |
void |
setJNeuroMLExternalSimulatorConfig(ExternalSimulatorConfig jneuromlExternalSimulatorConfig)
Deprecated.
for test purposes only, the configuration is autowired
|
void |
setJNeuroMLSimulatorConfig(SimulatorConfig jneuromlSimulatorConfig)
Deprecated.
for test purposes only, the configuration is autowired
|
processDone, processFailed
getExternalProccesses, runExternalProcess, simulate
advanceTimeStep, getExperiment, getListener, getTime, getTimeStepUnit, isInitialized, setExperiment, setInitialized, setListener, setTimeStepUnit
addFeature, getFeature, getScope, getsetProjectId, isSupported, setProjectId, setScope
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addFeature, getFeature, isSupported
protected java.io.File filePath
private static Log logger
private SimulatorConfig jneuromlSimulatorConfig
private ExternalSimulatorConfig jneuromlExternalSimulatorConfig
public void initialize(DomainModel model, IAspectConfiguration aspectConfiguration, ExperimentState experimentState, ISimulatorCallbackListener listener, GeppettoModelAccess modelAccess) throws GeppettoInitializationException, GeppettoExecutionException
ISimulator
initialize
in interface ISimulator
initialize
in class ASimulator
GeppettoInitializationException
GeppettoExecutionException
public void createCommands(java.lang.String originalFileName)
originalFileName
- aspect
- public void registerGeppettoService()
public java.lang.String getName()
public java.lang.String getId()
public java.lang.String getSimulatorPath()
getSimulatorPath
in class AExternalProcessSimulator
public void setJNeuroMLSimulatorConfig(SimulatorConfig jneuromlSimulatorConfig)
jneuromlSimulatorConfig
- public void setJNeuroMLExternalSimulatorConfig(ExternalSimulatorConfig jneuromlExternalSimulatorConfig)
jneuromlExternalSimulatorConfig
-