Esempio n. 1
0
 public Population(List <Lesson> lessons, List <Teacher> teachers, List <Group> groups, List <Room> rooms, int numberOfDays, int numberOfSlots, STGCfg config) : this()
 {
     this.lessons       = lessons;
     this.teachers      = teachers;
     this.groups        = groups;
     this.rooms         = rooms;
     this.config        = config;
     this.numberOfDays  = numberOfDays;
     this.numberOfSlots = numberOfSlots;
 }
Esempio n. 2
0
 public Population()
 {
     schoolTimeTables = new List <SchoolTimetable>();
     lessons          = new List <Lesson>();
     teachers         = new List <Teacher>();
     groups           = new List <Group>();
     rooms            = new List <Room>();
     config           = null;
     numberOfDays     = 0;
     numberOfSlots    = 0;
 }
Esempio n. 3
0
 public SchoolTimetable()
 {
     teachers           = new List <Teacher>();
     groups             = new List <Group>();
     rooms              = new List <Room>();
     lessons            = new List <Lesson>();
     teachersTimetables = new List <Timetable>();
     groupsTimetables   = new List <Timetable>();
     roomsTimetables    = new List <Timetable>();
     config             = null;
     fitnessValue       = 0;
     errorValue         = 0;
 }
Esempio n. 4
0
 public SchoolTimetable(List <Teacher> teachers, List <Group> groups, List <Room> rooms, List <Lesson> lessons, int numberOfDays, int numberOfSlots, STGCfg config) : this(teachers, groups, rooms, lessons)
 {
     this.config        = config;
     this.numberOfDays  = numberOfDays;
     this.numberOfSlots = numberOfSlots;
 }