Changeset 9010 for trunk/sources/HeuristicLab.Problems.VehicleRouting/3.4/Interpreters/MDCVRPTWInterpreter.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/MDCVRPTWInterpreter.cs
r8649 r9010 28 28 29 29 namespace HeuristicLab.Problems.VehicleRouting.Interpreters { 30 public class MDCVRPTWInterpreter : MDCVRPInterpreter, IVRPDataInterpreter<MDCVRPTWData> { 31 public override Type GetDataType() { 32 return typeof(MDCVRPTWData); 33 } 34 30 public class MDCVRPTWInterpreter : MDCVRPInterpreter, IVRPDataInterpreter<MDCVRPTWData> { 35 31 protected override IVRPProblemInstance CreateProblemInstance() { 36 32 return new MDCVRPTWProblemInstance(); … … 40 36 base.Interpret(data, problemInstance); 41 37 42 MDCVRPTWData cvrptwData = data as MDCVRPTWData;43 MDCVRPTWProblemInstance problem = problemInstance as MDCVRPTWProblemInstance;38 MDCVRPTWData cvrptwData = (MDCVRPTWData)data; 39 MDCVRPTWProblemInstance problem = (MDCVRPTWProblemInstance)problemInstance; 44 40 45 41 problem.ReadyTime = new DoubleArray(cvrptwData.ReadyTimes);
Note: See TracChangeset
for help on using the changeset viewer.