public static Algorithm GetInstance() { if (instance == null) { Schedule prototype = new Schedule(2, 2, 80, 3); instance = new Algorithm(100, 8, 30, prototype); } return instance; }
public void Destory() { instance = null; }