Exemple #1
0
        public override void Initialize(Dictionary <string, object> settings)
        {
            _queue = new List <AgentBase>();
            //_directions = new Dictionary<ulong, Point>();

            _input_time_ms = (int)settings["input_time_ms"];

            _direction = PriorityDirection.Right;
        }
Exemple #2
0
        public override void Initialize(Dictionary <string, object> settings)
        {
            _queue = new List <AgentBase>();
            //_directions = new Dictionary<ulong, Point>();

            _minServedTime = (int)settings["minTime"];
            _maxServedTime = (int)settings["maxTime"];

            _direction = PriorityDirection.Top;
        }
 protected PriorityQueue(PriorityDirection priorityDirection)
 {
     _priorityDirection = priorityDirection;
 }
        public override void Initialize(Dictionary<string, object> settings)
        {
            _queue = new List<AgentBase>();
            //_directions = new Dictionary<ulong, Point>();

            _minServedTime = (int)settings["minTime"];
            _maxServedTime = (int)settings["maxTime"];

            _direction = PriorityDirection.Top;
        }
        public override void Initialize(Dictionary<string, object> settings)
        {
            _queue = new List<AgentBase>();
            //_directions = new Dictionary<ulong, Point>();

            _input_time_ms = (int)settings["input_time_ms"];

            _direction = PriorityDirection.Right;
        }