|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfern.simulation.observer.Observer
fern.cytoscape.CytoscapeColorChangeObserver
public class CytoscapeColorChangeObserver
| Constructor Summary | |
|---|---|
CytoscapeColorChangeObserver(boolean visualize,
boolean showTrendSteps,
Simulator sim,
CytoscapeNetworkWrapper net,
FernVisualStyle style,
String[] trendSpecies,
double time)
|
|
| Method Summary | |
|---|---|
void |
activateReaction(int mu,
double tau,
Simulator.FireType fireType,
int times)
Gets called before a reaction fires. |
void |
finished()
Gets called when a simulation has finished, directly after the termination check. |
void |
started()
Gets called when the simulation has started after the initialization and before the termination condition is checked the first time. |
void |
step()
Gets called after each termination check and before Simulator.performStep(fern.simulation.controller.SimulationController)
is called. |
void |
theta(double theta)
Gets called by simulators when a certain moment in time is reached. |
| Methods inherited from class fern.simulation.observer.Observer |
|---|
getLabelFormat, getNumSimulations, getPrintWriter, getSimulator, getTheta, print, setLabelFormat, setPrintWriter, setTheta |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CytoscapeColorChangeObserver(boolean visualize,
boolean showTrendSteps,
Simulator sim,
CytoscapeNetworkWrapper net,
FernVisualStyle style,
String[] trendSpecies,
double time)
| Method Detail |
|---|
public void finished()
Observer
finished in class Observerpublic void started()
Observer
started in class Observerpublic void step()
ObserverSimulator.performStep(fern.simulation.controller.SimulationController)
is called.
step in class Observer
public void activateReaction(int mu,
double tau,
Simulator.FireType fireType,
int times)
Observer
activateReaction in class Observermu - the reaction which is supposed to firetau - the time the reaction fires (at this time Simulator.getTime() does not necessarily yield the firing time)fireType - the type of the firingtimes - TODOpublic void theta(double theta)
ObserverObserver.getTheta()
theta in class Observertheta - moment in time
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||