public class NetPyNESimulatorService extends AExternalProcessNeuronalSimulator
Modifier and Type | Field and Description |
---|---|
protected java.io.File |
filePath |
private static Log |
logger |
private ExternalSimulatorConfig |
netpyneExternalSimulatorConfig |
private SimulatorConfig |
netpyneSimulatorConfig |
private int |
numberProcessors |
commands, directoryToExecuteFrom, originalFileName, outputFolder, started
aspectConfiguration, experimentState, geppettoModelAccess, model
Constructor and Description |
---|
NetPyNESimulatorService() |
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 |
setNetPyNEExternalSimulatorConfig(ExternalSimulatorConfig netpyneExternalSimulatorConfig)
Deprecated.
for test purposes only, the configuration is autowired
|
void |
setNetPyNESimulatorConfig(SimulatorConfig netpyneSimulatorConfig)
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 netpyneSimulatorConfig
private ExternalSimulatorConfig netpyneExternalSimulatorConfig
private int numberProcessors
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 setNetPyNESimulatorConfig(SimulatorConfig netpyneSimulatorConfig)
netpyneSimulatorConfig
- public void setNetPyNEExternalSimulatorConfig(ExternalSimulatorConfig netpyneExternalSimulatorConfig)
netpyneExternalSimulatorConfig
-