public Solver(Timetable timetable) { Timetable_ = timetable; Comparer_ = new Solver.SolutionComparer(); Filters_ = new List <Solver.Filter>(); Default(); }
public Solver(Timetable timetable, Solver other) { Timetable_ = timetable; this.Comparer_ = other.Comparer_.Clone(); this.Filters_ = new List <Solver.Filter>(other.Filters_); this.Solutions_ = new List <Solution>(Solutions_); this.MaxResults_ = other.MaxResults_; // other variables are initiated during solving }