In a discrete event simulation, a physical system, such as a
galaxy or solar system, is modeled as it changes over time based on
simulated forces. The objects being modeled define events that are
scheduled to occur in the future. Each event, e, is associated with
a time, te,in the future. To move the simulation forward,the
event,e,that has smallest time,te,in the future needs to be
processed. To process such an event, e is removed from the set of
pending events,...