Public Member Functions | |
| void | actions () |
| This is the method that is executed when this event occurs. | |
| Public Member Functions inherited from umontreal.ssj.simevents.Event | |
| 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. | |
| Event (Simulator sim) | |
| Construct a new event instance associated with the given simulator. | |
| 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. | |
| 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. | |
| void | scheduleAfter (Event other) |
| Schedules this event to happen just after, and at the same time, as the event other. | |
| void | reschedule (double delay) |
| Cancels this event and reschedules it to happen in delay time units. | |
| boolean | cancel () |
| Cancels this event before it occurs. | |
| final boolean | cancel (String type) |
| Finds the first occurence of an event of class "type" in the event list, and cancels it. | |
| final Simulator | simulator () |
| Returns the simulator linked to this event. | |
| final void | setSimulator (Simulator sim) |
| Sets the simulator associated with this event to sim. | |
| final double | time () |
| Returns the (planned) time of occurence of this event. | |
| final void | setTime (double time) |
| Sets the (planned) time of occurence of this event to time. | |
| final double | priority () |
| Returns the priority of this event. | |
| final void | setPriority (double priority) |
| Sets the priority of this event to inPriority. | |
| int | compareTo (Event e) |
| Compares this object with the specified object e for order. | |
Definition at line 60 of file PreyPred.java.
| void tutorial.PreyPred.EndOfSim.actions | ( | ) |
This is the method that is executed when this event occurs.
Every subclass of Event that is to be instantiated must provide an implementation of this method.
Reimplemented from umontreal.ssj.simevents.Event.
Definition at line 65 of file PreyPred.java.