libroadrunner C API
|
Stochastic simulation algorithms. More...
Functions | |
C_DECL_SPEC bool rrcCallConv | getSeed (RRHandle handle, long *seed) |
Determine the current seed used by the random generator. More... | |
C_DECL_SPEC bool rrcCallConv | setSeed (RRHandle handle, long seed) |
Set the current seed used by the random generator. More... | |
C_DECL_SPEC RRCDataPtr rrcCallConv | gillespie (RRHandle handle) |
Carry out a time-course simulation using the Gillespie algorithm with variable step size. setTimeStart, setTimeEnd, etc are used to set the simulation characteristics. More... | |
C_DECL_SPEC RRCDataPtr rrcCallConv | gillespieEx (RRHandle handle, double timeStart, double timeEnd) |
Carry out a time-course simulation using the Gillespie algorithm based on the given arguments, time start, time end and number of points. More... | |
C_DECL_SPEC RRCDataPtr rrcCallConv | gillespieOnGrid (RRHandle handle) |
Carry out a time-course simulation using the Gillespie algorithm with fixed step size. setTimeStart, setTimeEnd, setNumPoints, etc are used to set the simulation characteristics. More... | |
C_DECL_SPEC RRCDataPtr rrcCallConv | gillespieOnGridEx (RRHandle handle, double timeStart, double timeEnd, int numberOfPoints) |
Carry out a time-course simulation using the Gillespie algorithm with fixed step size based on the given arguments, time start, time end, and number of points. More... | |
C_DECL_SPEC RRCDataPtr rrcCallConv | gillespieMeanOnGrid (RRHandle handle, int numberOfSimulations) |
Carry out a series of time-course simulations using the Gillespie algorithm with fixed step size, then return the average of the simulations. setTimeStart, setTimeEnd, setNumPoints, etc are used to set the simulation characteristics. More... | |
C_DECL_SPEC RRCDataPtr rrcCallConv | gillespieMeanOnGridEx (RRHandle handle, double timeStart, double timeEnd, int numberOfPoints, int numberOfSimulations) |
Carry out a series of time-course simulations using the Gillespie algorithm with fixed step size, then return the average of the simulations. Based on the given arguments, time start, time end, and number of points. More... | |
C_DECL_SPEC RRCDataPtr rrcCallConv | gillespieMeanSDOnGrid (RRHandle handle, int numberOfSimulations) |
Carry out a series of time-course simulations using the Gillespie algorithm with fixed step size, then return the average and standard deviation of the simulations. setTimeStart, setTimeEnd, setNumPoints, etc are used to set the simulation characteristics. More... | |
C_DECL_SPEC RRCDataPtr rrcCallConv | gillespieMeanSDOnGridEx (RRHandle handle, double timeStart, double timeEnd, int numberOfSteps, int numberOfSimulations) |
Carry out a series of time-course simulations using the Gillespie algorithm with fixed step size, then return the average and standard deviation of the simulations. Based on the given arguments, time start, time end, number of points, and number of simulations. More... | |
Stochastic simulation algorithms.
C_DECL_SPEC bool rrcCallConv getSeed | ( | RRHandle | handle, |
long * | seed | ||
) |
Determine the current seed used by the random generator.
[in] | handle | Handle to a RoadRunner instance |
[out] | seed | This is the value of the current seed, returned to the caller |
C_DECL_SPEC RRCDataPtr rrcCallConv gillespie | ( | RRHandle | handle | ) |
Carry out a time-course simulation using the Gillespie algorithm with variable step size. setTimeStart, setTimeEnd, etc are used to set the simulation characteristics.
[in] | handle | Handle to a RoadRunner instance |
C_DECL_SPEC RRCDataPtr rrcCallConv gillespieEx | ( | RRHandle | handle, |
double | timeStart, | ||
double | timeEnd | ||
) |
Carry out a time-course simulation using the Gillespie algorithm 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 |
C_DECL_SPEC RRCDataPtr rrcCallConv gillespieMeanOnGrid | ( | RRHandle | handle, |
int | numberOfSimulations | ||
) |
Carry out a series of time-course simulations using the Gillespie algorithm with fixed step size, then return the average of the simulations. setTimeStart, setTimeEnd, setNumPoints, etc are used to set the simulation characteristics.
[in] | handle | Handle to a RoadRunner instance |
[in] | numberOfSimulations | Number of simulations to perform |
C_DECL_SPEC RRCDataPtr rrcCallConv gillespieMeanOnGridEx | ( | RRHandle | handle, |
double | timeStart, | ||
double | timeEnd, | ||
int | numberOfPoints, | ||
int | numberOfSimulations | ||
) |
Carry out a series of time-course simulations using the Gillespie algorithm with fixed step size, then return the average of the simulations. 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 | Fixed number of points to generate |
[in] | numberOfSimulations | Number of simulations to perform |
C_DECL_SPEC RRCDataPtr rrcCallConv gillespieMeanSDOnGrid | ( | RRHandle | handle, |
int | numberOfSimulations | ||
) |
Carry out a series of time-course simulations using the Gillespie algorithm with fixed step size, then return the average and standard deviation of the simulations. setTimeStart, setTimeEnd, setNumPoints, etc are used to set the simulation characteristics.
[in] | handle | Handle to a RoadRunner instance |
[in] | numberOfSimulations | Number of simulations to perform |
C_DECL_SPEC RRCDataPtr rrcCallConv gillespieMeanSDOnGridEx | ( | RRHandle | handle, |
double | timeStart, | ||
double | timeEnd, | ||
int | numberOfSteps, | ||
int | numberOfSimulations | ||
) |
Carry out a series of time-course simulations using the Gillespie algorithm with fixed step size, then return the average and standard deviation of the simulations. Based on the given arguments, time start, time end, number of points, and number of simulations.
Example:
[in] | handle | Handle to a RoadRunner instance |
[in] | timeStart | Time start |
[in] | timeEnd | Time end |
[in] | numberOfPoints | Fixed number of points to generate |
[in] | numberOfSimulations | Number of simulations to perform |
C_DECL_SPEC RRCDataPtr rrcCallConv gillespieOnGrid | ( | RRHandle | handle | ) |
Carry out a time-course simulation using the Gillespie algorithm with fixed step size. setTimeStart, setTimeEnd, setNumPoints, etc are used to set the simulation characteristics.
[in] | handle | Handle to a RoadRunner instance |
C_DECL_SPEC RRCDataPtr rrcCallConv gillespieOnGridEx | ( | RRHandle | handle, |
double | timeStart, | ||
double | timeEnd, | ||
int | numberOfPoints | ||
) |
Carry out a time-course simulation using the Gillespie algorithm with fixed step size 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 | Fixed number of points to generate |
C_DECL_SPEC bool rrcCallConv setSeed | ( | RRHandle | handle, |
long | seed | ||
) |
Set the current seed used by the random generator.
[in] | handle | Handle to a RoadRunner instance |
[out] | seed | This is the value the caller will set the seed to |