|
libRoadRunner C API
1.0.0
|
Deterministic, stochastic, and hybrid simulation algorithms. More...
Functions | |
| bool | setConfigurationXML (RRHandle handle, const char *caps) |
| Set the simulator's capabilities. More... | |
| char * | getConfigurationXML (RRHandle handle) |
| Get the simulator's capabilities. More... | |
| bool | setTimeStart (RRHandle handle, double timeStart) |
| Set the time start for a time course simulation. More... | |
| bool | setTimeEnd (RRHandle handle, double timeEnd) |
| Set the time end for a time course simulation. More... | |
| bool | setNumPoints (RRHandle handle, int numberOfPoints) |
| Set the number of points to generate in a time course simulation. More... | |
| bool | setTimeCourseSelectionList (RRHandle handle, const char *list) |
| Set the selection list for output from simulate(void) or simulateEx(void) More... | |
| RRStringArrayPtr | getTimeCourseSelectionList (RRHandle handle) |
| Get the current selection list for simulate(void) or simulateEx(void) More... | |
| RRDataHandle | simulate (RRHandle handle) |
| Carry out a time-course simulation, use setTimeStart, setTimeEnd and setNumPoints etc to set the simulation characteristics. More... | |
| RRCDataPtr | getSimulationResult (RRHandle handle) |
| Retrieve the result of the last simulation. More... | |
| RRDataHandle | getRoadRunnerData (RRHandle handle) |
| Retrieve a handle to RoadRunners internal data. More... | |
| RRDataHandle | simulateEx (RRHandle handle, const double timeStart, const double timeEnd, const int numberOfPoints) |
| Carry out a time-course simulation based on the given arguments, time start, time end and number of points. More... | |
| bool | oneStep (RRHandle handle, const double currentTime, const double stepSize, double *value) |
| Carry out a one step integration of the model. More... | |
| bool | getTimeStart (RRHandle handle, double *timeStart) |
| Get the value of the current time start. More... | |
| bool | getTimeEnd (RRHandle handle, double *timeEnd) |
| Get the value of the current time end. More... | |
| bool | getNumPoints (RRHandle handle, int *numPoints) |
| Get the value of the current number of points. More... | |
| bool | reset (RRHandle handle) |
| Reset all floating species concentrations to their intial conditions. More... | |
Deterministic, stochastic, and hybrid simulation algorithms.
| char* getConfigurationXML | ( | RRHandle | handle | ) |
Get the simulator's capabilities.
Example:
| [in] | handle | Handle to a RoadRunner instance |
| bool getNumPoints | ( | RRHandle | handle, |
| int * | numPoints | ||
| ) |
Get the value of the current number of points.
Example:
| [in] | handle | Handle to a RoadRunner instance |
| numPoints | The current value for the number of points |
| RRDataHandle getRoadRunnerData | ( | RRHandle | handle | ) |
Retrieve a handle to RoadRunners internal data.
| [in] | handle | Handle to a RoadRunner instance |
| RRCDataPtr getSimulationResult | ( | RRHandle | handle | ) |
Retrieve the result of the last simulation.
| [in] | handle | Handle to a RoadRunner instance |
| RRStringArrayPtr getTimeCourseSelectionList | ( | RRHandle | handle | ) |
Get the current selection list for simulate(void) or simulateEx(void)
| [in] | handle | Handle to a RoadRunner instance |
| bool getTimeEnd | ( | RRHandle | handle, |
| double * | timeEnd | ||
| ) |
Get the value of the current time end.
Example:
| [in] | handle | Handle to a RoadRunner instance |
| timeEnd | The current value for the time end |
| bool getTimeStart | ( | RRHandle | handle, |
| double * | timeStart | ||
| ) |
Get the value of the current time start.
Example:
| [in] | handle | Handle to a RoadRunner instance |
| [out] | timeStart | The current value for the time start |
| bool oneStep | ( | RRHandle | handle, |
| const double | currentTime, | ||
| const double | stepSize, | ||
| double * | value | ||
| ) |
Carry out a one step integration of the model.
Example:
| [in] | handle | Handle to a RoadRunner instance |
| [in] | currentTime | The current time in the simulation |
| [in] | stepSize | The step size to use in the integration |
| [in] | value | The new time (currentTime + stepSize) |
| bool reset | ( | RRHandle | handle | ) |
| bool setConfigurationXML | ( | RRHandle | handle, |
| const char * | caps | ||
| ) |
Set the simulator's capabilities.
| [in] | handle | Handle to a RoadRunner instance |
| [out] | caps | An XML string that specifies the simulators capabilities |
| bool setNumPoints | ( | RRHandle | handle, |
| int | numberOfPoints | ||
| ) |
Set the number of points to generate in a time course simulation.
| [in] | handle | Handle to a RoadRunner instance |
| [in] | numberOfPoints | Number of points to generate in the time course simulation |
| bool setTimeCourseSelectionList | ( | RRHandle | handle, |
| const char * | list | ||
| ) |
Set the selection list for output from simulate(void) or simulateEx(void)
Use getAvailableTimeCourseSymbols(void) to retrieve the list of all possible symbols.
Example:
or
setTimeCourseSelectionList ("Time S1 J1 J2")
| [in] | handle | Handle to a RoadRunner instance |
| [in] | list | A string of Ids separated by spaces or comma characters |
| bool setTimeEnd | ( | RRHandle | handle, |
| double | timeEnd | ||
| ) |
Set the time end for a time course simulation.
| [in] | handle | Handle to a RoadRunner instance |
| [in] | timeEnd |
| bool setTimeStart | ( | RRHandle | handle, |
| double | timeStart | ||
| ) |
Set the time start for a time course simulation.
| [in] | handle | Handle to a RoadRunner instance |
| [in] | timeStart |
| RRDataHandle simulate | ( | RRHandle | handle | ) |
Carry out a time-course simulation, use setTimeStart, setTimeEnd and setNumPoints etc to set the simulation characteristics.
| [in] | handle | Handle to a RoadRunner instance |
| RRDataHandle simulateEx | ( | RRHandle | handle, |
| const double | timeStart, | ||
| const double | timeEnd, | ||
| const int | numberOfPoints | ||
| ) |
Carry out a time-course simulation based on the given arguments, time start, time end and number of points.
Example:
| [in] | handle | Handle to a RoadRunner instance |
| [in] | timeStart | Time start |
| [in] | timeEnd | Time end |
| [in] | numberOfPoints | Number of points to generate |
1.8.5