Changeset 8053 for trunk/sources/HeuristicLab.Problems.VehicleRouting/3.4/ProblemInstances/VRPEvaluator.cs
- Timestamp:
- 06/19/12 13:17:29 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.VehicleRouting/3.4/ProblemInstances/VRPEvaluator.cs
r7276 r8053 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 0Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 20 20 #endregion 21 21 22 using System; 23 using System.Collections.Generic; 24 using System.Linq; 25 using System.Text; 22 using HeuristicLab.Common; 23 using HeuristicLab.Core; 24 using HeuristicLab.Data; 25 using HeuristicLab.Parameters; 26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 27 using HeuristicLab.Problems.VehicleRouting.Encodings; 26 28 using HeuristicLab.Problems.VehicleRouting.Interfaces; 27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HeuristicLab.Core;29 using HeuristicLab.Parameters;30 using HeuristicLab.Data;31 using HeuristicLab.Optimization;32 using HeuristicLab.PluginInfrastructure;33 using HeuristicLab.Problems.VehicleRouting.Variants;34 using HeuristicLab.Problems.VehicleRouting.Encodings;35 using HeuristicLab.Common;36 29 37 30 namespace HeuristicLab.Problems.VehicleRouting.ProblemInstances { 38 31 [Item("VRPEvaluator", "Represents a VRP evaluator.")] 39 32 [StorableClass] 40 public abstract class VRPEvaluator : VRPOperator, IVRPEvaluator {33 public abstract class VRPEvaluator : VRPOperator, IVRPEvaluator { 41 34 public ILookupParameter<IVRPEncoding> VRPToursParameter { 42 35 get { return (ILookupParameter<IVRPEncoding>)Parameters["VRPTours"]; } 43 36 } 44 37 45 38 #region ISingleObjectiveEvaluator Members 46 39 public ILookupParameter<DoubleValue> QualityParameter { … … 59 52 get { return (ILookupParameter<DoubleValue>)Parameters["Penalty"]; } 60 53 } 61 54 62 55 [StorableConstructor] 63 56 protected VRPEvaluator(bool deserializing) : base(deserializing) { } … … 110 103 instance, 111 104 solution, 112 eval.InsertionInfo.GetTourInsertionInfo(tour), 105 eval.InsertionInfo.GetTourInsertionInfo(tour), 113 106 index, 114 107 customer, out tourFeasible);
Note: See TracChangeset
for help on using the changeset viewer.