- Timestamp:
- 12/18/19 16:11:21 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring/HeuristicLab.Problems.GrammaticalEvolution/3.4/ArtificialAnt/GEArtificialAntProblem.cs
r17320 r17382 96 96 97 97 private readonly object syncRoot = new object(); 98 public override doubleEvaluate(IntegerVector solution, IRandom random, CancellationToken cancellationToken) {98 public override ISingleObjectiveEvaluationResult Evaluate(IntegerVector solution, IRandom random, CancellationToken cancellationToken) { 99 99 var bounds = Encoding.Bounds; 100 100 var len = Encoding.Length; … … 113 113 interpreter.Run(); 114 114 115 return interpreter.FoodEaten; 115 var quality = interpreter.FoodEaten; 116 return new SingleObjectiveEvaluationResult(quality); 116 117 } 117 118
Note: See TracChangeset
for help on using the changeset viewer.