diff --git a/AMOEBAonAMAK/src/experiments/TestingMain.java b/AMOEBAonAMAK/src/experiments/TestingMain.java index 55bfd61be6a785e91185c2cf2eff2c396e810a15..781cfa3e58b079ee3a6820837d44e3ef4451a893 100644 --- a/AMOEBAonAMAK/src/experiments/TestingMain.java +++ b/AMOEBAonAMAK/src/experiments/TestingMain.java @@ -22,7 +22,7 @@ public class TestingMain { StudiedSystem studiedSystem = new NDimCube(50.0, 3); // create the amoeba // Make sure the path to the config file is correct. - AMOEBA amoeba = new AMOEBA("resources/threeDimensionsLauncher.xml", studiedSystem); + AMOEBA amoeba = new AMOEBA(null,null,"resources/threeDimensionsLauncher.xml", studiedSystem); amoeba.saver = new SaveHelperDummy(); // a window should have appeared, allowing you to control and visualize the amoeba. diff --git a/AMOEBAonAMAK/src/gui/saveExplorer/SaveExplorer.java b/AMOEBAonAMAK/src/gui/saveExplorer/SaveExplorer.java index 1cb91054d89b371ffccabf2fc05bc2551eab408c..325f0160b06ab9f6dad1394f332bd6d0cd057fa1 100644 --- a/AMOEBAonAMAK/src/gui/saveExplorer/SaveExplorer.java +++ b/AMOEBAonAMAK/src/gui/saveExplorer/SaveExplorer.java @@ -257,7 +257,7 @@ public class SaveExplorer extends VBox { */ public static void main(String[] args) throws ClassNotFoundException, IOException { System.out.println("New AMOEBA launched."); - AMOEBA amoeba = new AMOEBA(args[0], (StudiedSystem)SerializeBase64.deserialize(args[1])); + AMOEBA amoeba = new AMOEBA(null,null,args[0], (StudiedSystem)SerializeBase64.deserialize(args[1])); //amoeba.allowGraphicalScheduler(false); for(Percept p : amoeba.getPercepts()) { p.setValue(amoeba.getPerceptions(p.getName()));