Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/19/20 16:38:33 (5 years ago)
Author:
mkommend
Message:

#2521: Added first version of problem results.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2521_ProblemRefactoring/HeuristicLab.Problems.Orienteering/3.3/OrienteeringProblem.cs

    r17594 r17612  
    4747    [Storable] public OptionalValueParameter<OrienteeringSolution> BestKnownSolutionParameter { get; private set; }
    4848    [Storable] private IResultParameter<OrienteeringSolution> BestOrienteeringSolutionParameter { get; set; }
    49     //public IResultDefinition<OrienteeringSolution> BestOrienteeringSolution => BestOrienteeringSolutionParameter;
    5049
    5150    public IOrienteeringProblemData OrienteeringProblemData {
     
    122121      }
    123122      var bestSoFar = BestOrienteeringSolutionParameter.ActualValue;
    124      
     123
    125124      if (bestSoFar == null || IsBetter(quality, bestSoFar.Quality.Value)) {
    126125        bestSoFar = data.GetSolution((IntegerVector)best.Clone(), quality, score, travelCosts);
Note: See TracChangeset for help on using the changeset viewer.