private void buttonEvaluateOriginalTimetable_Click(object sender, EventArgs e) { Timetable tt = TimetableUtil.constructOriginalTimetable(TrainLineCache.getInstance().getCacheContent()); FormTimetables form = new FormTimetables(new DummyAlgorithm(tt)); form.generateTimetables(); form.Show(); }
/// <summary> /// Doeses the timetable exist. /// </summary> /// <param name="id">The id.</param> /// <returns></returns> public Boolean doesTimetableExist(int id) { return(TimetableUtil.doesTimetableExist(this.timetables, id)); }
/// <summary> /// Finds the timetable on select. /// </summary> /// <param name="id">The id.</param> /// <returns></returns> public Timetable findTimetableOnSelect(int id) { return(TimetableUtil.findTimetableOnSelect(this.timetables, id)); }