Changeset 10479 for branches/SpectralKernelForGaussianProcesses/HeuristicLab.Problems.TravelingSalesman
- Timestamp:
- 02/20/14 14:29:01 (11 years ago)
- Location:
- branches/SpectralKernelForGaussianProcesses
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SpectralKernelForGaussianProcesses
- Property svn:mergeinfo changed
-
branches/SpectralKernelForGaussianProcesses/HeuristicLab.Problems.TravelingSalesman/3.3/Evaluators/TSPCoordinatesPathEvaluator.cs
r9456 r10479 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 -
branches/SpectralKernelForGaussianProcesses/HeuristicLab.Problems.TravelingSalesman/3.3/Evaluators/TSPDistanceMatrixEvaluator.cs
r9456 r10479 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 } -
branches/SpectralKernelForGaussianProcesses/HeuristicLab.Problems.TravelingSalesman/3.3/Evaluators/TSPEvaluator.cs
r9456 r10479 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.