Changeset 17320 for branches/2521_ProblemRefactoring/HeuristicLab.Problems.GeneticProgramming/3.3/robocode/Problem.cs
- Timestamp:
- 10/04/19 17:31:54 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring/HeuristicLab.Problems.GeneticProgramming/3.3/robocode/Problem.cs
r17270 r17320 20 20 #endregion 21 21 22 using System.Threading; 22 23 using HEAL.Attic; 23 24 using HeuristicLab.Common; … … 98 99 private void AfterDeserialization() { RegisterEventHandlers(); } 99 100 100 public override double Evaluate(ISymbolicExpressionTree tree, IRandom random ) {101 public override double Evaluate(ISymbolicExpressionTree tree, IRandom random, CancellationToken cancellationToken) { 101 102 return Interpreter.EvaluateTankProgram(tree, RobocodePath, Enemies, null, false, NrOfRounds); 102 103 }
Note: See TracChangeset
for help on using the changeset viewer.