- Timestamp:
- 07/22/15 13:50:12 (9 years ago)
- Location:
- branches/PTSP/HeuristicLab.Problems.PTSP/3.3/MoveEvaluators
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PTSP/HeuristicLab.Problems.PTSP/3.3/MoveEvaluators/OneShift/PTSPEstimatedInsertionEvaluator.cs
r12380 r12799 157 157 } 158 158 // return average of cost differences 159 return moveQuality / realizations.C apacity;159 return moveQuality / realizations.Count; 160 160 } 161 161 -
branches/PTSP/HeuristicLab.Problems.PTSP/3.3/MoveEvaluators/TwoOpt/PTSPEstimatedInversionEvaluator.cs
r12380 r12799 119 119 } 120 120 // return average of cost differences 121 return moveQuality / realizations.C apacity;121 return moveQuality / realizations.Count; 122 122 } 123 123 -
branches/PTSP/HeuristicLab.Problems.PTSP/3.3/MoveEvaluators/TwoPointFiveOpt/PTSP25MoveEvaluator.cs
r12272 r12799 175 175 } 176 176 // return average of cost differences 177 return moveQuality / realizations.C apacity;177 return moveQuality / realizations.Count; 178 178 } 179 179 public static double EvaluateInsertionByDistanceMatrix(Permutation permutation, TwoPointFiveMove move, DistanceMatrix distanceMatrix, ItemList<ItemList<IntValue>> realizations) { … … 258 258 } 259 259 // return average of cost differences 260 return moveQuality / realizations.C apacity;260 return moveQuality / realizations.Count; 261 261 } 262 262 protected double EvaluateByDistanceMatrix(Permutation permutation, DistanceMatrix distanceMatrix) {
Note: See TracChangeset
for help on using the changeset viewer.