Changeset 11285
- Timestamp:
- 08/19/14 13:50:15 (10 years ago)
- Location:
- trunk/sources
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.Instances/3.3/IProblemInstanceConsumer.cs
r11171 r11285 25 25 public interface IProblemInstanceConsumer : IContent { } 26 26 27 public interface IProblemInstanceConsumer< TData> : IProblemInstanceConsumer {27 public interface IProblemInstanceConsumer<in TData> : IProblemInstanceConsumer { 28 28 /// <summary> 29 29 /// Loads the given instance data. -
trunk/sources/HeuristicLab.Problems.Instances/3.3/Types/VRP/VRPData.cs
r11171 r11285 25 25 /// Describes instances of the Vehicle Routing Problem (VRP). 26 26 /// </summary> 27 public abstract class VRPData: IVRPData {27 public class VRPData : IVRPData { 28 28 /// <summary> 29 29 /// The name of the instance -
trunk/sources/HeuristicLab.Problems.VehicleRouting/3.4/VehicleRoutingProblem.cs
r11171 r11285 42 42 [Creatable("Problems")] 43 43 [StorableClass] 44 public sealed class VehicleRoutingProblem : Problem, ISingleObjectiveHeuristicOptimizationProblem, IStorableContent, IProblemInstanceConsumer< VRPData> {44 public sealed class VehicleRoutingProblem : Problem, ISingleObjectiveHeuristicOptimizationProblem, IStorableContent, IProblemInstanceConsumer<IVRPData> { 45 45 public string Filename { get; set; } 46 46 … … 390 390 #region IProblemInstanceConsumer<VRPData> Members 391 391 392 public void Load( VRPData data) {392 public void Load(IVRPData data) { 393 393 var interpreterDataType = data.GetType(); 394 394 var interpreterType = typeof(IVRPDataInterpreter<>).MakeGenericType(interpreterDataType);
Note: See TracChangeset
for help on using the changeset viewer.