public class EMEGPlayer extends Object implements ClockListener
Modifier and Type | Field and Description |
---|---|
protected double |
birthRate |
protected double |
deathRate |
protected double |
steadyProb |
protected Topology |
tp |
protected TVG |
tvg |
Constructor and Description |
---|
EMEGPlayer(TVG tvg,
Topology tp,
double birthRate,
double deathRate)
Plays the specified _demo.J_tvg as an EMEG on the specified topology.
|
Modifier and Type | Method and Description |
---|---|
void |
onClock()
Called periodically by the central scheduler.
|
void |
start() |
protected void |
updateLinks() |
protected TVG tvg
protected Topology tp
protected double birthRate
protected double deathRate
protected double steadyProb
public void start()
public void onClock()
ClockListener
onClock
in interface ClockListener
protected void updateLinks()