SSJ  3.3.1
Stochastic Simulation in Java
Public Member Functions | List of all members
PreyPred.EndOfSim Class Reference
Inheritance diagram for PreyPred.EndOfSim:
[legend]
Collaboration diagram for PreyPred.EndOfSim:
[legend]

Public Member Functions

 EndOfSim (Simulator sim)
 
void actions ()
 
- Public Member Functions inherited from Event
final int getRa ()
 
final void setRa (int r)
 
 Event ()
 Constructs a new event instance, which can be placed afterwards into the event list of the default simulator by calling one of the schedule... variants. More...
 
 Event (Simulator sim)
 Construct a new event instance associated with the given simulator. More...
 
void schedule (double delay)
 Schedules this event to happen in delay time units, i.e., at time sim.time() + delay, by inserting it in the event list. More...
 
void scheduleNext ()
 Schedules this event as the first event in the event list, to be executed at the current time (as the next event).
 
void scheduleBefore (Event other)
 Schedules this event to happen just before, and at the same time, as the event other. More...
 
void scheduleAfter (Event other)
 Schedules this event to happen just after, and at the same time, as the event other. More...
 
void reschedule (double delay)
 Cancels this event and reschedules it to happen in delay time units. More...
 
boolean cancel ()
 Cancels this event before it occurs. More...
 
final boolean cancel (String type)
 Finds the first occurence of an event of class "type" in the event list, and cancels it. More...
 
final Simulator simulator ()
 Returns the simulator linked to this event. More...
 
final void setSimulator (Simulator sim)
 Sets the simulator associated with this event to sim. More...
 
final double time ()
 Returns the (planned) time of occurence of this event. More...
 
final void setTime (double time)
 Sets the (planned) time of occurence of this event to time. More...
 
final double priority ()
 Returns the priority of this event. More...
 
final void setPriority (double priority)
 Sets the priority of this event to inPriority. More...
 
int compareTo (Event e)
 Compares this object with the specified object e for order. More...
 
abstract void actions ()
 This is the method that is executed when this event occurs. More...
 

Additional Inherited Members

- Protected Attributes inherited from Event
Simulator sim
 
double priority
 
double eventTime
 

The documentation for this class was generated from the following file: