public abstract class NextEventQueue.NextEvent extends Object implements NextEventQueue.Node, IGridCalc.Event
Modifier and Type | Field and Description |
---|---|
protected int |
extent
extent: how many "instances" of this event are scheduled to occur.
|
protected boolean |
leap
leap: when the event was generated as an "exact" event (false), or "leap"
event (true).
|
protected double |
original_wait
time: original wait time.
|
protected NextEventQueue.NextEvent |
reverse |
protected boolean |
reverse_is_leaping |
protected List<neurord.numeric.grid.NextEventQueue.ScoeffElem> |
scoeff_ki |
protected double |
time
time: when the event is scheduled to occur.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addDependent(NextEventQueue.NextEvent ev,
String[] species,
boolean verbose) |
abstract void |
addRelations(HashMap<Integer,ArrayList<NextEventQueue.NextEvent>> map,
String[] species,
boolean verbose) |
void |
addReverse(NextEventQueue.NextEvent other) |
Collection<IGridCalc.Event> |
dependent() |
String |
description() |
int |
element()
"source" voxel number
|
int |
event_number()
Index in the sequential numbering of all events
|
abstract IGridCalc.EventType |
event_type() |
int |
index() |
int[] |
reactant_stoichiometry() |
protected int[] |
reactantPopulation() |
int[] |
reactants() |
protected void |
setEvent(int extent,
boolean leap,
double wait_start,
double time) |
void |
setIndex(int index) |
String |
stat_index_description() |
int |
stat_index() |
abstract int[] |
substrate_stoichiometry()
Stoichiometries of species, negative on the lhs, positive on the rhs
|
abstract Map<Integer,int[][]> |
substrates_by_voxel() |
abstract int[] |
substrates()
Indices of species on both sides of the reaction
|
double |
time() |
protected void |
updateStatistics(int[][] eventStatistics,
int firings) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
element2
protected List<neurord.numeric.grid.NextEventQueue.ScoeffElem> scoeff_ki
protected double time
protected double original_wait
protected int extent
protected boolean leap
protected NextEventQueue.NextEvent reverse
protected boolean reverse_is_leaping
public abstract IGridCalc.EventType event_type()
event_type
in interface IGridCalc.Event
protected void setEvent(int extent, boolean leap, double wait_start, double time)
public int event_number()
IGridCalc.Event
event_number
in interface IGridCalc.Event
public int stat_index()
stat_index
in interface IGridCalc.Event
public String stat_index_description()
stat_index_description
in interface IGridCalc.Event
public int index()
index
in interface NextEventQueue.Node
public int element()
IGridCalc.Event
element
in interface IGridCalc.Event
public String description()
description
in interface IGridCalc.Event
public void setIndex(int index)
setIndex
in interface NextEventQueue.Node
public double time()
time
in interface NextEventQueue.Node
public abstract int[] substrates()
IGridCalc.Event
substrates
in interface IGridCalc.Event
public abstract int[] substrate_stoichiometry()
IGridCalc.Event
substrate_stoichiometry
in interface IGridCalc.Event
public void addReverse(NextEventQueue.NextEvent other)
protected int[] reactantPopulation()
public Collection<IGridCalc.Event> dependent()
dependent
in interface IGridCalc.Event
public int[] reactants()
public int[] reactant_stoichiometry()
protected void addDependent(NextEventQueue.NextEvent ev, String[] species, boolean verbose)
public abstract void addRelations(HashMap<Integer,ArrayList<NextEventQueue.NextEvent>> map, String[] species, boolean verbose)
map
- 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.species:
- species names by indexverbose:
- print status infoprotected void updateStatistics(int[][] eventStatistics, int firings)
Copyright © 2016. All rights reserved.