Package choco.kernel.model.variables.integer

Examples of choco.kernel.model.variables.integer.IntegerVariable


    int nbModules = 2;
    Module complexite = new Module("Complexite");
    Module graphes = new Module("Graphes");
    // --------------------------------------- on a 2 module differents
    // construction des creneaux libres
    IntegerVariable cls1 = new IntegerVariable("debut 1", 0, 0);
    IntegerVariable clf1 = new IntegerVariable("fin 1", 3, 3);
    IntegerVariable cld1 = new IntegerVariable("duree 1", 3, 3);
    PlageCreneaux cl1 = new PlageCreneaux("premiere plage libre", cls1, clf1, cld1);
    //
    IntegerVariable cls2 = new IntegerVariable("debut 2", 4, 4);
    IntegerVariable clf2 = new IntegerVariable("fin 2", 6, 6);
    IntegerVariable cld2 = new IntegerVariable("duree 2", 2, 2);
    PlageCreneaux cl2 = new PlageCreneaux("deuxieme plage libre", cls2, clf2, cld2);
    //
    IntegerVariable cls3 = new IntegerVariable("debut 3", 7, 7);
    IntegerVariable clf3 = new IntegerVariable("fin 3", 10, 10);
    IntegerVariable cld3 = new IntegerVariable("duree 3", 3, 3);
    PlageCreneaux cl3 = new PlageCreneaux("troisieme plage libre", cls3, clf3, cld3);
    PlageCreneaux[] creneauxLibres = {cl1, cl2, cl3};
    // --------------------------------------  on a cree 12 creneaux en tout
    // construction des types d'enseigenement pour chaque module
    Prof profCMComplexite = new Prof("Chams");
View Full Code Here

TOP

Related Classes of choco.kernel.model.variables.integer.IntegerVariable

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.