- Timestamp:
- 08/09/10 18:08:14 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.VehicleRouting/3.3/MoveEvaluators/VRPMoveEvaluator.cs
r4154 r4179 36 36 } 37 37 38 public ILookupParameter<IVRPEncoding> VRP SolutionParameter {39 get { return (ILookupParameter<IVRPEncoding>)Parameters["VRP Solution"]; }38 public ILookupParameter<IVRPEncoding> VRPToursParameter { 39 get { return (ILookupParameter<IVRPEncoding>)Parameters["VRPTours"]; } 40 40 } 41 41 42 42 public ILookupParameter<DoubleValue> FleetUsageFactor { 43 get { return (ILookupParameter<DoubleValue>)Parameters[" FleetUsageFactor"]; }43 get { return (ILookupParameter<DoubleValue>)Parameters["EvalFleetUsageFactor"]; } 44 44 } 45 45 public ILookupParameter<DoubleValue> TimeFactor { 46 get { return (ILookupParameter<DoubleValue>)Parameters[" TimeFactor"]; }46 get { return (ILookupParameter<DoubleValue>)Parameters["EvalTimeFactor"]; } 47 47 } 48 48 public ILookupParameter<DoubleValue> DistanceFactor { 49 get { return (ILookupParameter<DoubleValue>)Parameters[" DistanceFactor"]; }49 get { return (ILookupParameter<DoubleValue>)Parameters["EvalDistanceFactor"]; } 50 50 } 51 51 public ILookupParameter<DoubleValue> OverloadPenalty { 52 get { return (ILookupParameter<DoubleValue>)Parameters[" OverloadPenalty"]; }52 get { return (ILookupParameter<DoubleValue>)Parameters["EvalOverloadPenalty"]; } 53 53 } 54 54 public ILookupParameter<DoubleValue> TardinessPenalty { 55 get { return (ILookupParameter<DoubleValue>)Parameters[" TardinessPenalty"]; }55 get { return (ILookupParameter<DoubleValue>)Parameters["EvalTardinessPenalty"]; } 56 56 } 57 57 … … 78 78 } 79 79 80 [StorableConstructor] 81 protected VRPMoveEvaluator(bool deserializing) : base(deserializing) { } 82 80 83 protected VRPMoveEvaluator() 81 84 : base() { 82 Parameters.Add(new LookupParameter<IVRPEncoding>("VRP Solution", "The VRP solution."));85 Parameters.Add(new LookupParameter<IVRPEncoding>("VRPTours", "The VRP tours.")); 83 86 Parameters.Add(new LookupParameter<DoubleValue>("Quality", "The quality of a VRP solution.")); 84 87 Parameters.Add(new LookupParameter<DoubleValue>("MoveVehiclesUtilized", "The number of vehicles utilized.")); … … 88 91 Parameters.Add(new LookupParameter<DoubleValue>("MoveTardiness", "The tardiness.")); 89 92 Parameters.Add(new LookupParameter<DoubleValue>("MoveQuality", "The evaluated quality of a move on a VRP solution.")); 90 Parameters.Add(new LookupParameter<DoubleValue>(" FleetUsageFactor", "The fleet usage factor considered in the evaluation."));91 Parameters.Add(new LookupParameter<DoubleValue>(" TimeFactor", "The time factor considered in the evaluation."));92 Parameters.Add(new LookupParameter<DoubleValue>(" DistanceFactor", "The distance factor considered in the evaluation."));93 Parameters.Add(new LookupParameter<DoubleValue>(" OverloadPenalty", "The overload penalty considered in the evaluation."));94 Parameters.Add(new LookupParameter<DoubleValue>(" TardinessPenalty", "The tardiness penalty considered in the evaluation."));93 Parameters.Add(new LookupParameter<DoubleValue>("EvalFleetUsageFactor", "The fleet usage factor considered in the evaluation.")); 94 Parameters.Add(new LookupParameter<DoubleValue>("EvalTimeFactor", "The time factor considered in the evaluation.")); 95 Parameters.Add(new LookupParameter<DoubleValue>("EvalDistanceFactor", "The distance factor considered in the evaluation.")); 96 Parameters.Add(new LookupParameter<DoubleValue>("EvalOverloadPenalty", "The overload penalty considered in the evaluation.")); 97 Parameters.Add(new LookupParameter<DoubleValue>("EvalTardinessPenalty", "The tardiness penalty considered in the evaluation.")); 95 98 } 96 99
Note: See TracChangeset
for help on using the changeset viewer.