|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectFairness.DemograntAdjustEvent
public class DemograntAdjustEvent
DemograntAdjustEvent occurs when the taxation publisher changes the demogrant. The demogrant is the amount of bandwidth that any node can use without forwarding any stripes.
Currently, this class is not used because taxation was not completed.
Constructor Summary | |
---|---|
DemograntAdjustEvent()
|
Method Summary | |
---|---|
void |
perform(Simulation sim,
double time)
Performs the event that is occuring within a Simulation . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DemograntAdjustEvent()
Method Detail |
---|
public void perform(Simulation sim, double time)
Simulation
. If an event wishes to
re-execute later, it may schedule itself again using the provided Simulation reference.
perform
in interface SimulationEvent
sim
- non-null Simulationtime
- simulation time, exactly equal to the result of Simulation.getTime()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |