Package ise.mace.simulations

Examples of ise.mace.simulations.GenericSimulation


          String name = args[0];
          Class<?> sim = Class.forName("ise.mace.simulations." + name);
          assert (GenericSimulation.class.isAssignableFrom(sim));

          long x = Long.parseLong(args[1]);
          GenericSimulation g = (GenericSimulation)sim.
                  getConstructor(long.class).newInstance(x);

          name += Long.toHexString(x);

          presage.Presage.main(new String[]
                  {
                    g.getPath() + File.separator + "sim.xml"
                  });
        }
        catch (Exception ex)
        {
          logger.log(Level.SEVERE, null, ex);
View Full Code Here

TOP

Related Classes of ise.mace.simulations.GenericSimulation

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.