- Timestamp:
- 01/07/14 11:14:18 (11 years ago)
- Location:
- trunk/sources/HeuristicLab.Problems.TravelingSalesman/3.3/Evaluators
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.TravelingSalesman/3.3/Evaluators/TSPCoordinatesPathEvaluator.cs
r9456 r10291 84 84 } 85 85 86 public sealed override IOperation Apply() {86 public sealed override IOperation InstrumentedApply() { 87 87 if (UseDistanceMatrixParameter.ActualValue.Value) { 88 88 Permutation p = PermutationParameter.ActualValue; … … 120 120 QualityParameter.ActualValue = new DoubleValue(length); 121 121 } 122 return base. Apply();122 return base.InstrumentedApply(); 123 123 } 124 124 -
trunk/sources/HeuristicLab.Problems.TravelingSalesman/3.3/Evaluators/TSPDistanceMatrixEvaluator.cs
r9456 r10291 69 69 } 70 70 71 public override IOperation Apply() {71 public override IOperation InstrumentedApply() { 72 72 Permutation p = PermutationParameter.ActualValue; 73 73 DistanceMatrix dm = DistanceMatrixParameter.ActualValue; 74 74 75 75 QualityParameter.ActualValue = new DoubleValue(Apply(dm, p)); 76 return base. Apply();76 return base.InstrumentedApply(); 77 77 } 78 78 } -
trunk/sources/HeuristicLab.Problems.TravelingSalesman/3.3/Evaluators/TSPEvaluator.cs
r9456 r10291 33 33 [Item("TSPEvaluator", "A base class for operators which evaluate TSP solutions.")] 34 34 [StorableClass] 35 public abstract class TSPEvaluator : SingleSuccessorOperator, ITSPEvaluator {35 public abstract class TSPEvaluator : InstrumentedOperator, ITSPEvaluator { 36 36 public override bool CanChangeName { 37 37 get { return false; }
Note: See TracChangeset
for help on using the changeset viewer.