// === Donnees du probleme ===
var DAYS = new[] { "Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi" };
int SLOTS_PER_DAY = 4;
var SLOT_LABELS = new[] { "8h-10h", "10h-12h", "14h-16h", "16h-18h" };
int NUM_SLOTS = DAYS.Length * SLOTS_PER_DAY; // 20
// Enseignants
var TEACHERS = new Dictionary<string, (int Id, string Name)>
{
["Dupont"] = (0, "Prof. Dupont"),
["Martin"] = (1, "Prof. Martin"),
["Bernard"] = (2, "Prof. Bernard"),
["Leroy"] = (3, "Prof. Leroy"),
};
// Cours : nom, nb etudiants, enseignant, equipement
var COURSES = new Dictionary<string, (int Id, int Students, string Teacher, string Equipment)>
{
["Algo"] = (0, 90, "Dupont", "standard"),
["Probas"] = (1, 75, "Martin", "standard"),
["Systemes"] = (2, 60, "Dupont", "standard"),
["Reseaux"] = (3, 50, "Bernard", "labo"),
["BDD"] = (4, 80, "Leroy", "standard"),
["IA"] = (5, 100, "Martin", "standard"),
["Securite"] = (6, 40, "Bernard", "labo"),
["Web"] = (7, 55, "Leroy", "labo"),
};
// Salles : capacite, equipement
var ROOMS = new Dictionary<string, (int Id, int Capacity, string Equipment)>
{
["Amphi_A"] = (0, 120, "standard"),
["Salle_B"] = (1, 60, "standard"),
["Labo_C"] = (2, 40, "labo"),
["Labo_D"] = (3, 60, "labo"),
};
var courseNames = COURSES.Keys.ToList();
var roomNames = ROOMS.Keys.ToList();
var teacherNames = TEACHERS.Keys.ToList();
Console.WriteLine("Donnees du probleme d'emploi du temps");
Console.WriteLine("=" + new string('=', 54));
Console.WriteLine($"Cours : {COURSES.Count}");
Console.WriteLine($"Salles : {ROOMS.Count}");
Console.WriteLine($"Enseignants : {TEACHERS.Count}");
Console.WriteLine($"Creneaux : {NUM_SLOTS} ({DAYS.Length} jours x {SLOTS_PER_DAY} creneaux)");