- Timestamp:
- 11/19/10 15:27:10 (14 years ago)
- Location:
- trunk/sources
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.VehicleRouting.Views/3.3/HeuristicLab.Problems.VehicleRouting.Views-3.3.csproj
r4847 r4856 111 111 </ItemGroup> 112 112 <ItemGroup> 113 <Compile Include="VRPEncodingView.cs"> 114 <SubType>UserControl</SubType> 115 </Compile> 116 <Compile Include="VRPEncodingView.Designer.cs"> 117 <DependentUpon>VRPEncodingView.cs</DependentUpon> 118 </Compile> 113 119 <Compile Include="HeuristicLabProblemsVehicleRoutingViewsPlugin.cs" /> 114 120 <Compile Include="VRPImportDialog.cs"> -
trunk/sources/HeuristicLab.Problems.VehicleRouting/3.3/Encodings/General/TourEncoding.cs
r4722 r4856 26 26 using HeuristicLab.Data; 27 27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 28 using System.Text; 28 29 29 30 namespace HeuristicLab.Problems.VehicleRouting.Encodings.General { … … 67 68 public TourEncoding() { 68 69 Tours = new ItemList<Tour>(); 70 71 Tours.ToStringChanged += new System.EventHandler(Tours_ToStringChanged); 72 } 73 74 void Tours_ToStringChanged(object sender, System.EventArgs e) { 75 this.OnToStringChanged(); 69 76 } 70 77 … … 96 103 } 97 104 } 105 106 public override string ToString() { 107 StringBuilder sb = new StringBuilder(); 108 109 foreach (Tour tour in Tours) { 110 foreach (int city in tour.Cities) { 111 sb.Append(city); 112 sb.Append(" "); 113 } 114 115 sb.AppendLine(); 116 } 117 118 return sb.ToString(); 119 } 98 120 } 99 121 } -
trunk/sources/HeuristicLab.Problems.VehicleRouting/3.3/VehicleRoutingProblem.cs
r4852 r4856 200 200 : base(original, cloner) { 201 201 operators = original.operators.Select(x => (IOperator)cloner.Clone(x)).ToList(); 202 DistanceMatrixParameter.Value = DistanceMatrixParameter.Value;203 202 AttachEventHandlers(); 204 203 }
Note: See TracChangeset
for help on using the changeset viewer.