Free cookie consent management tool by TermsFeed Policy Generator

Changeset 10044


Ignore:
Timestamp:
10/16/13 16:25:35 (11 years ago)
Author:
ascheibe
Message:

#2069

  • incremented version number
  • fixed a bug in ShotPower
  • updated BattleRunner docu
Location:
branches/Robocode.TrunkInt
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • branches/Robocode.TrunkInt/HeuristicLab.Problems.Robocode.Views/3.3/Plugin.cs.frame

    r10011 r10044  
    2929namespace HeuristicLab.Problems.Robocode.Views
    3030{
    31     [Plugin("HeuristicLab.Problems.Robocode.Views", "The Robocode problem for genetic programming.", "3.3.8.$WCREV$")]
     31    [Plugin("HeuristicLab.Problems.Robocode.Views", "The Robocode problem for genetic programming.", "3.3.9.$WCREV$")]
    3232    [PluginFile("HeuristicLab.Problems.Robocode.Views-3.3.dll", PluginFileType.Assembly)]
    3333    [PluginDependency("HeuristicLab.Data", "3.3")]
  • branches/Robocode.TrunkInt/HeuristicLab.Problems.Robocode.Views/3.3/Properties/AssemblyInfo.cs.frame

    r9779 r10044  
    5555// [assembly: AssemblyVersion("1.0.*")]
    5656[assembly: AssemblyVersion("3.3.0.0")]
    57 [assembly: AssemblyFileVersion("3.3.8.$WCREV$")]
     57[assembly: AssemblyFileVersion("3.3.9.$WCREV$")]
    5858
  • branches/Robocode.TrunkInt/HeuristicLab.Problems.Robocode/3.3/BattleRunner.java

    r9967 r10044  
    3030    public static List<Double> score = new ArrayList<Double>();
    3131
    32   // This program requires at least 1 argument: the name of the robot.
     32  // This program requires 5 arguments:
     33  // The first argument is the name of the robot.
    3334  // The second argument is the path to the robocode installation. If not give, c:\robocode is assumed.
    34   // The third argument is optional. If it is true, robocode is shown, otherwise it is hidden.
     35  // The third argument: true if Robocode should be shown, otherwise it is hidden.
    3536  // The fourth argument is the number of rounds.
     37  // The remaining arguments are the names of the opponents. At least 1 must be provided.
    3638  public static void main(String[] args) {
    3739    if (args.length < 5)
  • branches/Robocode.TrunkInt/HeuristicLab.Problems.Robocode/3.3/Plugin.cs.frame

    r9790 r10044  
    2929namespace HeuristicLab.Problems.Robocode
    3030{
    31     [Plugin("HeuristicLab.Problems.Robocode", "The Robocode problem for genetic programming.", "3.3.8.$WCREV$")]
     31    [Plugin("HeuristicLab.Problems.Robocode", "The Robocode problem for genetic programming.", "3.3.9.$WCREV$")]
    3232    [PluginFile("HeuristicLab.Problems.Robocode-3.3.dll", PluginFileType.Assembly)]
    3333    [PluginDependency("HeuristicLab.Data", "3.3")]
  • branches/Robocode.TrunkInt/HeuristicLab.Problems.Robocode/3.3/Properties/AssemblyInfo.cs.frame

    r9781 r10044  
    5555// [assembly: AssemblyVersion("1.0.*")]
    5656[assembly: AssemblyVersion("3.3.0.0")]
    57 [assembly: AssemblyFileVersion("3.3.8.$WCREV$")]
     57[assembly: AssemblyFileVersion("3.3.9.$WCREV$")]
    5858
  • branches/Robocode.TrunkInt/HeuristicLab.Problems.Robocode/3.3/Symbols/Numerical Expressions/Number.cs

    r10011 r10044  
    2121
    2222using System.Collections.Generic;
     23using System.Globalization;
    2324using HeuristicLab.Common;
    2425using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
     
    5253
    5354    public override string Interpret(ISymbolicExpressionTreeNode node, IEnumerable<ISymbolicExpressionTreeNode> children) {
    54       return ((NumberTreeNode)node).Value.ToString();
     55      return ((NumberTreeNode)node).Value.ToString(CultureInfo.InvariantCulture);
    5556    }
    5657  }
  • branches/Robocode.TrunkInt/HeuristicLab.Problems.Robocode/3.3/Symbols/Numerical Expressions/ShotPower.cs

    r10011 r10044  
    2121
    2222using System.Collections.Generic;
     23using System.Globalization;
    2324using HeuristicLab.Common;
    2425using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
     
    5253
    5354    public override string Interpret(ISymbolicExpressionTreeNode node, IEnumerable<ISymbolicExpressionTreeNode> children) {
    54       return ((ShotPowerTreeNode)node).Value.ToString();
     55      return ((ShotPowerTreeNode)node).Value.ToString(CultureInfo.InvariantCulture);
    5556    }
    5657  }
Note: See TracChangeset for help on using the changeset viewer.