All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class simulation.events.TimeEvent

java.lang.Object
   |
   +----simulation.events.Event
           |
           +----simulation.events.TimeEvent

public abstract class TimeEvent
extends simulation.events.Event
This class may used to describe a state-event, i.e., an event scheduled to occur at a specified point in time.

Time events are created as instances of TimeEvent- derived classes that override the abstract methods actions.

The actions method is used to specify the actions of of a class of time events.

See Also:
simulation.events.Event, simulation.events.StateEvent, simulation.events.Simulation

Constructor Index

 o TimeEvent()

Method Index

 o schedule(double)
Schedules this time event to occur at the specified event time.

Constructors

 o TimeEvent
 public TimeEvent()

Methods

 o schedule
 public final void schedule(double evTime)
Schedules this time event to occur at the specified event time.

The event is scheduled to occur after other time events with the same event time.


All Packages  Class Hierarchy  This Package  Previous  Next  Index