Query Cycle Simulator HEADER

qcsim.runtime
Interface Simulator

All Known Implementing Classes:
QueryCycleSimulatorImpl, QueryCycleSimulatorRun

public interface Simulator

Interface that a simulator must implement.

Version:
1.0
Author:
unascribed

Field Summary
static int CYCLE_BOUND
           
 
Method Summary
 int cycle()
          The current cycle the simulator is simulating.
 void cycle(int cycle)
          Set the current cycle
 int maxCycle()
          The maximum cycle this simulator is able to simulate
 void notifiee(Notifiee notifiee)
          Add a notifiee to the simulator.
 

Field Detail

CYCLE_BOUND

public static final int CYCLE_BOUND
See Also:
Constant Field Values
Method Detail

maxCycle

public int maxCycle()
The maximum cycle this simulator is able to simulate

Returns:
the maximum cycle.

cycle

public void cycle(int cycle)
Set the current cycle

Parameters:
cycle - the cycle.

cycle

public int cycle()
The current cycle the simulator is simulating.

Returns:
The current cycle.

notifiee

public void notifiee(Notifiee notifiee)
Add a notifiee to the simulator.


Query Cycle Simulator HEADER