Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/22/15 13:50:12 (9 years ago)
Author:
apolidur
Message:

#2221: Adding path Analyzers and some other fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/PTSP/HeuristicLab.Problems.PTSP/3.3/MoveEvaluators/TwoPointFiveOpt/PTSP25MoveEvaluator.cs

    r12272 r12799  
    175175      }
    176176      // return average of cost differences
    177       return moveQuality / realizations.Capacity;
     177      return moveQuality / realizations.Count;
    178178    }
    179179    public static double EvaluateInsertionByDistanceMatrix(Permutation permutation, TwoPointFiveMove move, DistanceMatrix distanceMatrix, ItemList<ItemList<IntValue>> realizations) {
     
    258258      }
    259259      // return average of cost differences
    260       return moveQuality / realizations.Capacity;
     260      return moveQuality / realizations.Count;
    261261    }
    262262    protected double EvaluateByDistanceMatrix(Permutation permutation, DistanceMatrix distanceMatrix) {
Note: See TracChangeset for help on using the changeset viewer.