Node = node.next Node = nearestNeighbor(node)
Node = node.next Node = nextEmployee(node)
Node = node.next Node = nextRatele(node)
Event = EventQueue[QueueFront] Event = HighestprioirtyEvent( )
Event = EventQueue[QueueFront] Event = LowesPriotityEvent( )
initstack() value=array strack.top
Event = EventQueue[QueueFront] Event = HightestPriorityEvent( )
Event = EventQueue[QueueBack] Event = LowestPriorityEvent( )
AddEvent(Event) AddEvent(Event)
EventCount = EventCount-1 RemoveEvent(Event)