- Timestamp:
- 08/09/10 18:08:14 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.VehicleRouting/3.3/Analyzers/BestVRPSolutionAnalyzer.cs
r4068 r4179 35 35 [StorableClass] 36 36 public sealed class BestVRPSolutionAnalyzer : SingleSuccessorOperator, IAnalyzer { 37 public ScopeTreeLookupParameter<IVRPEncoding> VRP SolutionParameter {38 get { return (ScopeTreeLookupParameter<IVRPEncoding>)Parameters["VRP Solution"]; }37 public ScopeTreeLookupParameter<IVRPEncoding> VRPToursParameter { 38 get { return (ScopeTreeLookupParameter<IVRPEncoding>)Parameters["VRPTours"]; } 39 39 } 40 40 public ILookupParameter<DoubleMatrix> DistanceMatrixParameter { … … 81 81 } 82 82 83 [StorableConstructor] 84 private BestVRPSolutionAnalyzer(bool deserializing) : base(deserializing) { } 85 83 86 public BestVRPSolutionAnalyzer() 84 87 : base() { 85 Parameters.Add(new ScopeTreeLookupParameter<IVRPEncoding>("VRPSolution", "The VRP solutions which should be evaluated."));88 Parameters.Add(new ScopeTreeLookupParameter<IVRPEncoding>("VRPTours", "The VRP tours which should be evaluated.")); 86 89 Parameters.Add(new LookupParameter<DoubleMatrix>("Coordinates", "The x- and y-Coordinates of the cities.")); 87 90 Parameters.Add(new LookupParameter<DoubleMatrix>("DistanceMatrix", "The matrix which contains the distances between the cities.")); … … 103 106 public override IOperation Apply() { 104 107 DoubleMatrix coordinates = CoordinatesParameter.ActualValue; 105 ItemArray<IVRPEncoding> solutions = VRP SolutionParameter.ActualValue;108 ItemArray<IVRPEncoding> solutions = VRPToursParameter.ActualValue; 106 109 ItemArray<DoubleValue> qualities = QualityParameter.ActualValue; 107 110 ItemArray<DoubleValue> overloads = OverloadParameter.ActualValue;
Note: See TracChangeset
for help on using the changeset viewer.