Search in sources :

Example 1 with NormalDistributor

use of kr.ac.kaist.se.simulator.NormalDistributor 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 NormalDistributor

use of kr.ac.kaist.se.simulator.NormalDistributor in project SIMVA-SoS by SESoS.

the class Main method experimentMain.

public static void experimentMain(String[] args) throws IOException {
    System.out.println("==========================================\n" + "Welcome to System of Systems Simulator");
    NormalDistributor distributor = new NormalDistributor();
    distributor.setNormalDistParams(1500, 400);
    BufferedReader in = new BufferedReader(new FileReader(args[0]));
    String params = in.readLine();
    while ((params = in.readLine()) != null) Executor.Perform_Experiment(distributor, params);
}
Also used : NormalDistributor(kr.ac.kaist.se.simulator.NormalDistributor)

Example 3 with NormalDistributor

use of kr.ac.kaist.se.simulator.NormalDistributor in project SIMVA-SoS by SESoS.

the class Main method debugMain.

public static void debugMain() throws IOException {
    NormalDistributor distributor = new NormalDistributor();
    distributor.setNormalDistParams(2000, 500);
    MCIScenario lMCI = new MCIScenario(6000, 100);
    Simulator sim = new Simulator(lMCI);
    sim.setDEBUG();
    Executor.Perform_Debug_Experiment(distributor, sim, "mci");
}
Also used : NormalDistributor(kr.ac.kaist.se.simulator.NormalDistributor) MCIScenario(mci.scenario.MCIScenario) Simulator(kr.ac.kaist.se.simulator.Simulator)

Example 4 with NormalDistributor

use of kr.ac.kaist.se.simulator.NormalDistributor 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)4 Simulator (kr.ac.kaist.se.simulator.Simulator)3 LargeMCIScenario (mci.scenario.LargeMCIScenario)2 MCIScenario (mci.scenario.MCIScenario)1