Package net.sf.robocode.roborumble.battlesengine

Examples of net.sf.robocode.roborumble.battlesengine.PrepareBattles


      // Create battles file (and delete old ones), and execute battles
      if (executes.equals("YES")) {
        final boolean isMelee = melee.equals("YES");

        boolean ready;
        PrepareBattles battles = new PrepareBattles(parameters);

        if (isMelee) {
          System.out.println("Preparing melee battles list ...");
          ready = battles.createMeleeBattlesList();
        } else {
          final boolean isSmartBattles = ratingsdownloaded && runonly.equals("SERVER");

          if (isSmartBattles) {
            System.out.println("Preparing battles list using smart battles...");
            ready = battles.createSmartBattlesList();
          } else {
            System.out.println("Preparing battles list...");
            ready = battles.createBattlesList();
          }
        }

        // Disable the -DPRARALLEL and -DRANDOMSEED options
        System.setProperty("PARALLEL", "false"); // TODO: Remove when robot thread CPU time can be measured
View Full Code Here

TOP

Related Classes of net.sf.robocode.roborumble.battlesengine.PrepareBattles

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.