Example #1
0
 private bool ACircleEventIsNext()
 {
     return((!CircleEventQueue.IsEmpty() && SiteEventQueue.IsEmpty) ||
            (!CircleEventQueue.IsEmpty() && SiteEventQueue.FindMax().Priority <= CircleEventQueue.HighestPriority()));
 }
Example #2
0
 private bool ASiteEventIsNext()
 {
     return((!SiteEventQueue.IsEmpty && CircleEventQueue.IsEmpty()) ||
            (!SiteEventQueue.IsEmpty && SiteEventQueue.FindMax().Priority > CircleEventQueue.HighestPriority()));
 }