|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjigcell.simulation.Simulator
jigcell.xpp.XPPSimulator
public class XPPSimulator
Makes the XPP simulator available to the simulator API. This code is licensed under the DARPA BioCOMP Open Source License. See LICENSE for more details.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface jigcell.simulation.ISimulator |
---|
jigcell.simulation.ISimulator.Category |
Field Summary | |
---|---|
protected SBMLToXPPTranslator |
translator
XPP simulator |
Constructor Summary | |
---|---|
|
XPPSimulator()
Creates a new simulator. |
protected |
XPPSimulator(jigcell.simulation.Capabilities capabilities)
Creates a new simulator. |
Method Summary | |
---|---|
protected void |
applySimulatorCapabilities(double timeStart,
double timeEnd,
double stepSize,
int numberOfPoints)
Combines the existing simulator capability settings and simulation parameters to determine the capabilities that will be used for this simulation. |
private static jigcell.simulation.Capabilities |
createDefaultCapabilities()
Default capabilities for this simulator. |
protected java.util.List |
getSelectableNamesInternal()
|
protected double |
getValueInternal(java.lang.String name)
|
protected java.util.List |
getValueNamesInternal()
|
protected void |
loadSBMLInternal(jigcell.sbml2.Model model)
|
protected void |
loadSBMLInternal(jigcell.sbml2.Model model,
boolean displayConcentration,
int volumeColumn)
|
protected double |
setValueInternal(java.lang.String name,
double value)
|
protected jigcell.compare.IDataElement |
simulateInternal(double timeStart,
double timeEnd,
double stepSize,
int numberOfPoints)
|
Methods inherited from class jigcell.simulation.Simulator |
---|
getCapabilities, getCategory, getClassForSimulator, getLastError, getModel, getRegisteredSimulators, getSelectableNames, getSelectedNames, getValue, getValueNames, getValues, loadSBML, loadSBML, registerSimulator, reset, resetValues, setCapabilities, setNumberOfPoints, setSelectedNames, setStepSize, setTimeRange, setValue, setValues, simulate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected SBMLToXPPTranslator translator
Constructor Detail |
---|
public XPPSimulator()
protected XPPSimulator(jigcell.simulation.Capabilities capabilities)
capabilities
- Default capabilitiesMethod Detail |
---|
private static jigcell.simulation.Capabilities createDefaultCapabilities()
protected void applySimulatorCapabilities(double timeStart, double timeEnd, double stepSize, int numberOfPoints)
timeStart
- Start time, or NaN if not providedtimeEnd
- End time, or NaN if not providedstepSize
- Distance between each reported step, or NaN if not providednumberOfPoints
- Number of steps to return, or 0 if not providedprotected java.util.List getSelectableNamesInternal()
getSelectableNamesInternal
in class jigcell.simulation.Simulator
protected double getValueInternal(java.lang.String name)
getValueInternal
in class jigcell.simulation.Simulator
protected java.util.List getValueNamesInternal()
getValueNamesInternal
in class jigcell.simulation.Simulator
protected void loadSBMLInternal(jigcell.sbml2.Model model, boolean displayConcentration, int volumeColumn)
loadSBMLInternal
in class jigcell.simulation.Simulator
protected void loadSBMLInternal(jigcell.sbml2.Model model)
loadSBMLInternal
in class jigcell.simulation.Simulator
protected double setValueInternal(java.lang.String name, double value)
setValueInternal
in class jigcell.simulation.Simulator
protected jigcell.compare.IDataElement simulateInternal(double timeStart, double timeEnd, double stepSize, int numberOfPoints)
simulateInternal
in class jigcell.simulation.Simulator
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |