Examples of MainSimulator


Examples of cnslab.cnsnetwork.MainSimulator

      final String  modelFilename
        = CLASS_LOADER.getResource ( TEST_MODEL_FILENAME ).getFile ( );
     
      LOGGER.info ( modelFilename );
     
      final MainSimulator  mainSimulator = new MainSimulator (
        new Seed ( TEST_SEED ),
        new File ( modelFilename ),
        TEST_HEAP_SIZE );
     
      // TODO:  This test seems to fail when run from the mvn directory,
      // probably because jpvm requires running from the main directory,
      // but it is useful to run this test within the debugger with the
      // working directory set to the main directory.
     
      mainSimulator.run ( );
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.