public class NextEventQueue.NextReaction extends NextEventQueue.NextEvent
extent, leap, original_wait, reverse, reverse_is_leaping, scoeff_ki, time| Modifier and Type | Method and Description |
|---|---|
void |
addRelations(HashMap<Integer,ArrayList<NextEventQueue.NextEvent>> map,
String[] species,
boolean verbose) |
double |
calcPropensity()
Calculate propensity of this event.
|
int |
element2()
"target" voxel number (different from source only for diffusion)
|
IGridCalc.EventType |
event_type() |
int |
leap_count(double current,
double time,
boolean bidirectional)
Calculate the (randomized) extent of the reaction based in the time given.
|
double |
leap_time(double current)
Calculate the time for which this reaction changes the population
of products by ɛ.
|
protected int[] |
productPopulation() |
protected double |
self_leap_limit(int[] X)
Make sure that the propensity of *this* reaction does not change
too much.
|
int[] |
substrate_stoichiometry()
Stoichiometries of species, negative on the lhs, positive on the rhs
|
Map<Integer,int[][]> |
substrates_by_voxel() |
int[] |
substrates()
Indices of species on both sides of the reaction
|
String |
toString() |
addDependent, addReverse, dependent, description, element, event_number, index, reactant_stoichiometry, reactantPopulation, reactants, setEvent, setIndex, stat_index_description, stat_index, time, updateStatisticspublic IGridCalc.EventType event_type()
event_type in interface IGridCalc.Eventevent_type in class NextEventQueue.NextEventprotected int[] productPopulation()
protected double self_leap_limit(int[] X)
public double leap_time(double current)
NextEventQueue.NextEventpublic int leap_count(double current,
double time,
boolean bidirectional)
NextEventQueue.NextEventpublic void addRelations(HashMap<Integer,ArrayList<NextEventQueue.NextEvent>> map, String[] species, boolean verbose)
addRelations in class NextEventQueue.NextEventmap - contains, for every voxel, a list of events which depend on the state of that
voxel. Subsequently, if this event should look at events attached to any voxel it
modifies, and maybe add them as its relation.public double calcPropensity()
NextEventQueue.NextEventpublic int[] substrates()
IGridCalc.Eventsubstrates in interface IGridCalc.Eventsubstrates in class NextEventQueue.NextEventpublic int[] substrate_stoichiometry()
IGridCalc.Eventsubstrate_stoichiometry in interface IGridCalc.Eventsubstrate_stoichiometry in class NextEventQueue.NextEventpublic Map<Integer,int[][]> substrates_by_voxel()
substrates_by_voxel in class NextEventQueue.NextEventpublic int element2()
IGridCalc.EventCopyright © 2016. All rights reserved.