public void Reset()
        {
            // Reset scheduler
            if (Strategy != null)
            {
                string sh = Strategy.ToString ();
                try
                {
                    this.SetStrategyByName (sh);
                }
                catch
                {
            //					Console.WriteLine ("SchedulerInterface.Reset: Exception");
                }
            }
            Processes.RunningProcessesReset ();

            List<BasicNode> nodes = Nodes.GetAllNodes ();

            for (int a = 0; a < Nodes.Count; a++)
            {
                nodes[a].LastScheduled = new BasicProcess ();
                nodes[a].Override = 0;
                nodes[a].Status = 0;

                SchedPlans[a] = new SchedPlan ();
            }
        }
        public SimulatorInterface()
        {
            SchedPlans = new List<SchedPlan> ();

            for (int i = 0; i < Nodes.Count; i++)
            {
                SchedPlans[i] = new SchedPlan ();
            }
        }