package main;

import simulator.*;

/**
 * Simulator for System of Systems
 * Created by Junho on 2016-08-01.
 */
public class Main {
    public static void main(String []args){
        Constituent cs1 = new Constituent("CS1");
        Constituent cs2 = new Constituent("CS2");
        Action a1 = new Action("Action1", 2, 1);
        Action a2 = new Action("Action2", 4, 2);
        cs1.addCapability(a1, 1);
        cs1.addCapability(a2, 2);
        cs2.addCapability(a1, 1);

        SoSManager manager = new SoSManager();
        Constituent[] CSs = {cs1, cs2};
        Environment env = new Environment(CSs);

        Simulator sim = new Simulator(CSs, manager, env);
        sim.execute();
    }
}

@@ -559,16 +559,53 @@
 , cs2%7D;%0A
+        Action%5B%5D actions = %7Ba1, a2%7D;%0A
         
@@ -641,16 +641,25 @@
 ment(CSs
+, actions
 );%0A%0A    

Add argument