public class NextEventQueue.NextDiffusion 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 leap_time based on the limit on variance and expected extents.
|
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.NextEventpublic 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 int element2()
IGridCalc.Eventpublic Map<Integer,int[][]> substrates_by_voxel()
substrates_by_voxel in class NextEventQueue.NextEventpublic double leap_time(double current)
public 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.Copyright © 2016. All rights reserved.