*/
public class TestDispatcher {
public static void test_dispatcher_jMVAschema(String path, boolean delete) {
final Dispatcher_jMVAschema disp = new Dispatcher_jMVAschema(path);
disp.setDeleteIntermediateFiles(delete);
// Remove next line to initialize with random seed
disp.setSimulationSeed(1200000);
/* Decomment this to add a timer to stop simulation
new Thread() {
public void run() {
try{
// Set maximum simulation time in milliseconds (here 15 seconds)
sleep(15000);
}
catch (InterruptedException ex) {
//Do nothing
}
disp.abortAllMeasures();
}
}.start(); */
disp.solveModel();
}