コード例 #1
0
        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();
        }
コード例 #2
0
 /// <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));
 }
コード例 #3
0
 /// <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));
 }