Exemple #1
0
        public static Algorithm GetInstance()
        {
            if (instance == null)
            {
                Schedule prototype = new Schedule(2, 2, 80, 3);

                instance = new Algorithm(100, 8, 30, prototype);
            }

            return instance;
        }
Exemple #2
0
 public void Destory()
 {
     instance = null;
 }