public void EnqueueImmediateEvent()
        {
            var @event = new Stabilization(new ImmediateEvent());

            if (!_queue.Any(queuedEvent => queuedEvent.AsBase().Event is ImmediateEvent))
            {
                _queue.Enqueue(@event, @event.Priority);
            }
        }
        public void EnqueueStabilizationEvent(StatenodeId statenodeId)
        {
            var @event = new Stabilization(new InitializeEvent(statenodeId));

            _queue.Enqueue(@event, @event.Priority);
        }