Changeset 9010 for trunk/sources/HeuristicLab.Problems.VehicleRouting/3.4/Interpreters/MDCVRPInterpreter.cs
- Timestamp:
- 12/06/12 16:18:16 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.VehicleRouting/3.4/Interpreters/MDCVRPInterpreter.cs
r8649 r9010 28 28 29 29 namespace HeuristicLab.Problems.VehicleRouting.Interpreters { 30 public class MDCVRPInterpreter : VRPInterpreter, IVRPDataInterpreter<MDCVRPData> { 31 public override Type GetDataType() { 32 return typeof(MDCVRPData); 33 } 34 30 public class MDCVRPInterpreter : VRPInterpreter, IVRPDataInterpreter<MDCVRPData> { 35 31 protected override IVRPProblemInstance CreateProblemInstance() { 36 32 return new MDCVRPProblemInstance(); … … 38 34 39 35 protected override void Interpret(IVRPData data, IVRPProblemInstance problemInstance) { 40 MDCVRPData cvrpData = data as MDCVRPData;41 MDCVRPProblemInstance problem = problemInstance as MDCVRPProblemInstance;36 MDCVRPData cvrpData = (MDCVRPData)data; 37 MDCVRPProblemInstance problem = (MDCVRPProblemInstance)problemInstance; 42 38 43 39 if (cvrpData.Coordinates != null)
Note: See TracChangeset
for help on using the changeset viewer.