- Timestamp:
- 11/19/10 14:26:38 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.VehicleRouting/3.3/Analyzers/BestVRPSolutionAnalyzer.cs
r4851 r4852 84 84 get { return (LookupParameter<DoubleValue>)Parameters["BestKnownQuality"]; } 85 85 } 86 public LookupParameter< VRPSolution> BestKnownSolutionParameter {87 get { return (LookupParameter< VRPSolution>)Parameters["BestKnownSolution"]; }86 public LookupParameter<IVRPEncoding> BestKnownSolutionParameter { 87 get { return (LookupParameter<IVRPEncoding>)Parameters["BestKnownSolution"]; } 88 88 } 89 89 … … 104 104 105 105 Parameters.Add(new LookupParameter<DoubleValue>("BestKnownQuality", "The quality of the best known solution of this VRP instance.")); 106 Parameters.Add(new LookupParameter< VRPSolution>("BestKnownSolution", "The best known solution of this VRP instance."));106 Parameters.Add(new LookupParameter<IVRPEncoding>("BestKnownSolution", "The best known solution of this VRP instance.")); 107 107 108 108 Parameters.Add(new ScopeTreeLookupParameter<DoubleValue>("Quality", "The qualities of the VRP solutions which should be analyzed.")); … … 127 127 } 128 128 if (!Parameters.ContainsKey("BestKnownSolution")) { 129 Parameters.Add(new LookupParameter< VRPSolution>("BestKnownSolution", "The best known solution of this VRP instance."));129 Parameters.Add(new LookupParameter<IVRPEncoding>("BestKnownSolution", "The best known solution of this VRP instance.")); 130 130 } 131 131 #endregion … … 185 185 qualities[i].Value < bestKnownQuality.Value) { 186 186 BestKnownQualityParameter.ActualValue = new DoubleValue(qualities[i].Value); 187 BestKnownSolutionParameter.ActualValue = ( VRPSolution)solution.Clone();187 BestKnownSolutionParameter.ActualValue = (IVRPEncoding)best.Clone(); 188 188 } 189 189
Note: See TracChangeset
for help on using the changeset viewer.