//////////////////////////////////////////////////////////////////// // main entry point public static void main(String[] args) { uchicago.src.sim.engine.SimInit init = new uchicago.src.sim.engine.SimInit(); GUIModel model = new GUIModel(); // System.out.printf("==> GUIMOdel main...\n" ); // set the type of model class, this is necessary // so the parameters object knows whether or not // to do GUI related updates of panels,etc when a // parameter is changed model.setModelType("GUIModel"); // Do this to set the Update Probes option to true in the // Repast Actions panel Controller.UPDATE_PROBES = true; model.setCommandLineArgs(args); init.loadModel(model, null, false); // does setup() // this new function calls ProbeUtilities.updateProbePanels() and // ProbeUtilities.updateModelProbePanel() model.updateAllProbePanels(); }
public static void main(String[] args) { uchicago.src.sim.engine.SimInit init = new uchicago.src.sim.engine.SimInit(); JinGirNewModelII model = new JinGirNewModelII(); init.loadModel(model, "", false); }