- Timestamp:
- 09/15/20 13:53:11 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/IntegerVectorProblem.cs
r17695 r17745 82 82 } 83 83 84 public override void Analyze(IntegerVector[] vectors, double[] qualities, ResultCollection results, IRandom random) { 85 base.Analyze(vectors, qualities, results, random); 86 var best = GetBestSolution(vectors, qualities); 84 public override void Analyze(ISingleObjectiveSolutionContext<IntegerVector>[] solutionContext, IRandom random) { 85 base.Analyze(solutionContext, random); 87 86 88 results.AddOrUpdateResult("Best Solution", (IItem)best.Item1.Clone()); 87 var best = GetBest(solutionContext); 88 89 //TODO reimplement code below using results directly 90 //results.AddOrUpdateResult("Best Solution", (IntegerVector)best.EncodedSolution.Clone()); 89 91 } 90 92
Note: See TracChangeset
for help on using the changeset viewer.