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, waitelement2protected 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.Eventprotected void setEvent(int extent,
boolean leap,
double wait_start,
double time)
public int event_number()
IGridCalc.Eventevent_number in interface IGridCalc.Eventpublic int stat_index()
stat_index in interface IGridCalc.Eventpublic String stat_index_description()
stat_index_description in interface IGridCalc.Eventpublic int index()
index in interface NextEventQueue.Nodepublic int element()
IGridCalc.Eventelement in interface IGridCalc.Eventpublic String description()
description in interface IGridCalc.Eventpublic void setIndex(int index)
setIndex in interface NextEventQueue.Nodepublic double time()
time in interface NextEventQueue.Nodepublic abstract int[] substrates()
IGridCalc.Eventsubstrates in interface IGridCalc.Eventpublic abstract int[] substrate_stoichiometry()
IGridCalc.Eventsubstrate_stoichiometry in interface IGridCalc.Eventpublic void addReverse(NextEventQueue.NextEvent other)
protected int[] reactantPopulation()
public Collection<IGridCalc.Event> dependent()
dependent in interface IGridCalc.Eventpublic 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.