public class SedMLSBMLSimulatorExecutor
extends org.jlibsedml.execution.AbstractSedmlExecutor
Typical usage for this class is demonstrated in the
JUnit test for this
class.
Models can be resolved either from local files, URLs, or
BioModels
MIRIAM URNs.
TO resolve models from different sources, see the documentation for
AbstractSedmlExecutor
in the
jlibsedml.jar
library.
Constructor | Description |
---|---|
SedMLSBMLSimulatorExecutor(org.jlibsedml.SedML sedml,
org.jlibsedml.Output output,
String sedmlDir) |
|
SedMLSBMLSimulatorExecutor(org.jlibsedml.SedML sedml,
org.jlibsedml.Output wanted,
Map<String,Boolean> amountHash,
String sedmlDir) |
Modifier and Type | Method | Description |
---|---|---|
protected boolean |
canExecuteSimulation(org.jlibsedml.Simulation sim) |
|
protected org.jlibsedml.execution.IRawSedmlSimulationResults |
executeSimulation(String modelStr,
org.jlibsedml.OneStep sim) |
|
protected org.jlibsedml.execution.IRawSedmlSimulationResults |
executeSimulation(String modelStr,
org.jlibsedml.Simulation sim,
Map<String,double[]> mapChangesToList,
int element) |
|
protected org.jlibsedml.execution.IRawSedmlSimulationResults |
executeSimulation(String modelStr,
org.jlibsedml.SteadyState sim) |
|
protected org.jlibsedml.execution.IRawSedmlSimulationResults |
executeSimulation(String modelStr,
org.jlibsedml.UniformTimeCourse sim) |
This method performs the actual simulation, using the model and simulation
configuration that are passed in as arguments.It runs UniformTimeCourse
simulation
|
org.jlibsedml.execution.IProcessedSedMLSimulationResults |
processSimulationResults(org.jlibsedml.Output wanted,
Map<org.jlibsedml.AbstractTask,List<org.jlibsedml.execution.IRawSedmlSimulationResults>> res) |
Process raw data from simulations and return a output MultiTable which
contains wanted Output
|
Map<org.jlibsedml.AbstractTask,List<org.jlibsedml.execution.IRawSedmlSimulationResults>> |
run() |
This method is a wrapper to the runSimulations method from
AbstractSedmlExecutor to add additional support for repeatedTasks. |
void |
setIsArchive(org.jlibsedml.ArchiveComponents ac) |
Enables models to be retrieved from a SED-ML archive format.
This method must be called before AbstractSedmlExecutor.runSimulations() is called,
if a SED-ML archive is to be used as a model source. |
protected boolean |
supportsLanguage(String language) |
|
protected org.jlibsedml.Simulation |
tryAlternateAlgo(org.jlibsedml.Simulation sim) |
public SedMLSBMLSimulatorExecutor(org.jlibsedml.SedML sedml, org.jlibsedml.Output output, String sedmlDir)
public void setIsArchive(org.jlibsedml.ArchiveComponents ac)
AbstractSedmlExecutor.runSimulations()
is called,
if a SED-ML archive is to be used as a model source.ac
- A non-null
ArchiveComponents
object.protected boolean canExecuteSimulation(org.jlibsedml.Simulation sim)
canExecuteSimulation
in class org.jlibsedml.execution.AbstractSedmlExecutor
protected org.jlibsedml.Simulation tryAlternateAlgo(org.jlibsedml.Simulation sim) throws org.semanticweb.owlapi.model.OWLOntologyCreationException
org.semanticweb.owlapi.model.OWLOntologyCreationException
protected org.jlibsedml.execution.IRawSedmlSimulationResults executeSimulation(String modelStr, org.jlibsedml.UniformTimeCourse sim)
executeSimulation
in class org.jlibsedml.execution.AbstractSedmlExecutor
IRawSedmlSimulationResults
object that is used for
post-processing by the framework. The actual implementation class in
this implementation will be a MultTableSEDMLWrapper
which
wraps a MultiTable
of raw results.protected org.jlibsedml.execution.IRawSedmlSimulationResults executeSimulation(String modelStr, org.jlibsedml.OneStep sim)
protected org.jlibsedml.execution.IRawSedmlSimulationResults executeSimulation(String modelStr, org.jlibsedml.SteadyState sim)
protected org.jlibsedml.execution.IRawSedmlSimulationResults executeSimulation(String modelStr, org.jlibsedml.Simulation sim, Map<String,double[]> mapChangesToList, int element)
public Map<org.jlibsedml.AbstractTask,List<org.jlibsedml.execution.IRawSedmlSimulationResults>> run() throws org.semanticweb.owlapi.model.OWLOntologyCreationException
AbstractSedmlExecutor
to add additional support for repeatedTasks. It
identifies the type of task, before running the simulations.org.semanticweb.owlapi.model.OWLOntologyCreationException
protected boolean supportsLanguage(String language)
supportsLanguage
in class org.jlibsedml.execution.AbstractSedmlExecutor
public org.jlibsedml.execution.IProcessedSedMLSimulationResults processSimulationResults(org.jlibsedml.Output wanted, Map<org.jlibsedml.AbstractTask,List<org.jlibsedml.execution.IRawSedmlSimulationResults>> res)
wanted
- res
- Copyright © 2007–2018. All rights reserved.