Search in sources :

Example 1 with LargeMCIScenario

use of mci.scenario.LargeMCIScenario in project SIMVA-SoS by SESoS.

the class LargeScaleMCIMain method debugMain.

public static void debugMain() throws IOException {
    NormalDistributor distributor = new NormalDistributor();
    distributor.setNormalDistParams(2500, 700);
    LargeMCIScenario lMCI = new LargeMCIScenario(20, 500);
    // initialize simulator
    Simulator sim = new Simulator(lMCI);
    sim.setDEBUG();
    Executor.Perform_Debug_Experiment(distributor, sim, "mci");
}
Also used : NormalDistributor(kr.ac.kaist.se.simulator.NormalDistributor) LargeMCIScenario(mci.scenario.LargeMCIScenario) Simulator(kr.ac.kaist.se.simulator.Simulator)

Example 2 with LargeMCIScenario

use of mci.scenario.LargeMCIScenario in project SIMVA-SoS by SESoS.

the class LargeScaleMCIMain method experimentMain.

public static void experimentMain() throws IOException {
    NormalDistributor distributor = new NormalDistributor();
    distributor.setNormalDistParams(1500, 400);
    // Experimenting on the simulation
    // Experiment # 1  Total # of CSs 10
    // LargeMCIScenario lMCI = new LargeMCIScenario(5, 250);
    // Simulator sim = new Simulator(lMCI);
    // Executor.Perform_Experiment(distributor, sim, "mci", 235);
    // 
    // // Experiment # 2  Total # of CSs 20
    // LargeMCIScenario lMCI1 = new LargeMCIScenario(10, 400);
    // sim = new Simulator(lMCI1);
    // Executor.Perform_Experiment(distributor, sim, "mci", 380);
    // 
    // // Experiment # 3  Total # of CSs 30
    LargeMCIScenario lMCI2 = new LargeMCIScenario(15, 1500);
    Simulator sim = new Simulator(lMCI2);
    Executor.Perform_Experiment(distributor, sim, "mci", 1230);
// Experiment # 4  Total # of CSs 40
// LargeMCIScenario lMCI3 = new LargeMCIScenario(20, 2000);
// Simulator sim = new Simulator(lMCI3);
// Executor.Perform_Experiment(distributor, sim, "mci", 1750);
}
Also used : NormalDistributor(kr.ac.kaist.se.simulator.NormalDistributor) LargeMCIScenario(mci.scenario.LargeMCIScenario) Simulator(kr.ac.kaist.se.simulator.Simulator)

Aggregations

NormalDistributor (kr.ac.kaist.se.simulator.NormalDistributor)2 Simulator (kr.ac.kaist.se.simulator.Simulator)2 LargeMCIScenario (mci.scenario.LargeMCIScenario)2