- Timestamp:
- 09/02/13 15:11:53 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Robocode.TrunkInt/HeuristicLab.Problems.Robocode/3.3/RobocodeProblem.cs
r9892 r9926 42 42 private const string MaxTankProgramDepthParameterName = "MaxProgramDepth"; 43 43 private const string TankGrammarParameterName = "Grammar"; 44 private const string RobocodePathParamaterName = "Path"; 44 private const string RobocodePathParamaterName = "RobocodePath"; 45 private const string NrOfRoundsParameterName = "NrOfRounds"; 45 46 #endregion 46 47 … … 57 58 public IFixedValueParameter<DirectoryValue> RobocodePathParameter { 58 59 get { return (IFixedValueParameter<DirectoryValue>)Parameters[RobocodePathParamaterName]; } 60 } 61 public IFixedValueParameter<IntValue> NrOfRoundsParameter { 62 get { return (IFixedValueParameter<IntValue>)Parameters[NrOfRoundsParameterName]; } 59 63 } 60 64 #endregion … … 77 81 Parameters.Add(new ValueParameter<Grammar>(TankGrammarParameterName, "Grammar for the tank program.", new Grammar())); 78 82 Parameters.Add(new FixedValueParameter<DirectoryValue>(RobocodePathParamaterName, "Path of the Robocode installation.", robocodeDir)); 83 Parameters.Add(new FixedValueParameter<IntValue>(NrOfRoundsParameterName, "Nr. of Rounds a Robot has to fight against each opponent.", new IntValue(3))); 79 84 80 85 Maximization.Value = true;
Note: See TracChangeset
for help on using the changeset viewer.