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