- Timestamp:
- 09/06/10 17:05:13 (14 years ago)
- Location:
- branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/Encodings
- Files:
-
- 18 added
- 1 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Alba/Creators/DefaultRepresentationCreator.cs
r4363 r4365 42 42 public override IOperation Apply() { 43 43 //choose default encoding here 44 //VRPToursParameter.ActualValue = AlbaEncoding.ConvertFrom(CreateSolution());44 VRPToursParameter.ActualValue = AlbaEncoding.ConvertFrom(CreateSolution(), ProblemInstance); 45 45 46 46 return base.Apply(); -
branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/VRPOperator.cs
r4362 r4365 34 34 [StorableClass] 35 35 public abstract class VRPOperator : SingleSuccessorOperator, IVRPOperator { 36 p rotectedLookupParameter<IVRPProblemInstance> ProblemInstanceParameter {36 public ILookupParameter<IVRPProblemInstance> ProblemInstanceParameter { 37 37 get { return (LookupParameter<IVRPProblemInstance>)Parameters["ProblemInstance"]; } 38 38 } 39 39 40 p rotectedIVRPProblemInstance ProblemInstance {40 public IVRPProblemInstance ProblemInstance { 41 41 get { return ProblemInstanceParameter.ActualValue; } 42 42 }
Note: See TracChangeset
for help on using the changeset viewer.