public class SEDMLWriter extends Object
SEDMLWriter writer = new SEDMLWriter(); writer.setComment(comment); // optional note to annotate SED-ML writer.saveExperimentToSEDML(start, end, stepsize, solver, model, modelURI, outputStream);
Constructor and Description |
---|
SEDMLWriter() |
Modifier and Type | Method and Description |
---|---|
void |
executeSedML(InputStream SedML) |
void |
saveExperimentToSEDML(double start,
double end,
double stepsize,
AbstractDESSolver solver,
org.sbml.jsbml.Model model,
URI modelURI,
OutputStream os)
Given a configured simulation, will write to SED-ML using the specified
OutputStream . |
void |
setComment(String comment)
Set an optional human-readable comment to be added to the SED-ML file.
|
public void setComment(String comment)
comment
- public void saveExperimentToSEDML(double start, double end, double stepsize, AbstractDESSolver solver, org.sbml.jsbml.Model model, URI modelURI, OutputStream os) throws IOException
OutputStream
.
It is up to the client to manage the OutputStream an ensure it is open and writeable.start
- The start time for the desired outputend
- The simulation end timestepsize
- The output step-sizesolver
- An AbstractDESSolver
, not null
.model
- A Model
, not null
modelURI
- A URI pointing to the model locationos
- A writeable, open OutputStream
IOException
public void executeSedML(InputStream SedML)
SedML
- Copyright © 2007–2021. All rights reserved.