- Timestamp:
- 03/22/10 02:50:19 (15 years ago)
- Location:
- trunk/sources
- Files:
-
- 2 edited
- 3 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.TravelingSalesman.Views/3.3/HeuristicLab.Problems.TravelingSalesman.Views-3.3.csproj
r3158 r3159 92 92 <DependentUpon>PathTSPTourView.cs</DependentUpon> 93 93 </Compile> 94 <Compile Include="TravelingSalesmanProblemView.cs"> 95 <SubType>UserControl</SubType> 96 </Compile> 97 <Compile Include="TravelingSalesmanProblemView.Designer.cs"> 98 <DependentUpon>TravelingSalesmanProblemView.cs</DependentUpon> 99 </Compile> 94 100 <Compile Include="TSPLIBImportDialog.cs"> 95 101 <SubType>Form</SubType> … … 97 103 <Compile Include="TSPLIBImportDialog.Designer.cs"> 98 104 <DependentUpon>TSPLIBImportDialog.cs</DependentUpon> 99 </Compile>100 <Compile Include="TSPView.cs">101 <SubType>UserControl</SubType>102 </Compile>103 <Compile Include="TSPView.Designer.cs">104 <DependentUpon>TSPView.cs</DependentUpon>105 105 </Compile> 106 106 <Compile Include="Properties\AssemblyInfo.cs" /> -
trunk/sources/HeuristicLab.Problems.TravelingSalesman.Views/3.3/TravelingSalesmanProblemView.Designer.cs
r3158 r3159 21 21 22 22 namespace HeuristicLab.Problems.TravelingSalesman.Views { 23 partial class T SPView {23 partial class TravelingSalesmanProblemView { 24 24 /// <summary> 25 25 /// Required designer variable. … … 139 139 this.pathTSPTourView.TabIndex = 0; 140 140 // 141 // T SPView141 // TravelingSalesmanProblemView 142 142 // 143 143 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); … … 145 145 this.Controls.Add(this.tabControl); 146 146 this.Controls.Add(this.importButton); 147 this.Name = "T SPView";147 this.Name = "TravelingSalesmanProblemView"; 148 148 this.Size = new System.Drawing.Size(529, 422); 149 149 this.Controls.SetChildIndex(this.importButton, 0); -
trunk/sources/HeuristicLab.Problems.TravelingSalesman.Views/3.3/TravelingSalesmanProblemView.cs
r3158 r3159 30 30 /// The base class for visual representations of items. 31 31 /// </summary> 32 [View("T SPView")]33 [Content(typeof(T SP), true)]34 public sealed partial class T SPView : NamedItemView {32 [View("Traveling Salesman Problem View")] 33 [Content(typeof(TravelingSalesmanProblem), true)] 34 public sealed partial class TravelingSalesmanProblemView : NamedItemView { 35 35 private TSPLIBImportDialog tsplibImportDialog; 36 36 37 public new T SPContent {38 get { return (T SP)base.Content; }37 public new TravelingSalesmanProblem Content { 38 get { return (TravelingSalesmanProblem)base.Content; } 39 39 set { base.Content = value; } 40 40 } … … 43 43 /// Initializes a new instance of <see cref="ItemBaseView"/>. 44 44 /// </summary> 45 public T SPView() {45 public TravelingSalesmanProblemView() { 46 46 InitializeComponent(); 47 47 } … … 50 50 /// </summary> 51 51 /// <param name="item">The item that should be displayed.</param> 52 public T SPView(TSPcontent)52 public TravelingSalesmanProblemView(TravelingSalesmanProblem content) 53 53 : this() { 54 54 Content = content; -
trunk/sources/HeuristicLab.Problems.TravelingSalesman/3.3/HeuristicLab.Problems.TravelingSalesman-3.3.csproj
r3158 r3159 87 87 <Compile Include="Evaluators\TSPGeoPathEvaluator.cs" /> 88 88 <Compile Include="HeuristicLabProblemsTravelingSalesmanPlugin.cs" /> 89 <Compile Include="TravelingSalesmanProblem.cs" /> 89 90 <Compile Include="TSPLIBTourParser.cs" /> 90 91 <Compile Include="Interfaces\ICoordinatesTSPSolutionsVisualizer.cs" /> … … 108 109 </Compile> 109 110 <Compile Include="TSPLIBParser.cs" /> 110 <Compile Include="TSP.cs" />111 111 <Compile Include="Properties\AssemblyInfo.cs" /> 112 112 </ItemGroup> -
trunk/sources/HeuristicLab.Problems.TravelingSalesman/3.3/TravelingSalesmanProblem.cs
r3158 r3159 35 35 36 36 namespace HeuristicLab.Problems.TravelingSalesman { 37 [Item("T SP", "Represents a symmetric Traveling Salesman Problem.")]37 [Item("Traveling Salesman Problem", "Represents a symmetric Traveling Salesman Problem.")] 38 38 [Creatable("Problems")] 39 39 [StorableClass] 40 public sealed class T SP: ParameterizedNamedItem, ISingleObjectiveProblem {40 public sealed class TravelingSalesmanProblem : ParameterizedNamedItem, ISingleObjectiveProblem { 41 41 public override Image ItemImage { 42 42 get { return HeuristicLab.Common.Resources.VS2008ImageLibrary.Type; } … … 139 139 #endregion 140 140 141 public T SP()141 public TravelingSalesmanProblem() 142 142 : base() { 143 143 RandomPermutationCreator creator = new RandomPermutationCreator(); … … 164 164 } 165 165 [StorableConstructor] 166 private T SP(bool deserializing) : base() { }166 private TravelingSalesmanProblem(bool deserializing) : base() { } 167 167 168 168 public override IDeepCloneable Clone(Cloner cloner) { 169 T SP clone = (TSP)base.Clone(cloner);169 TravelingSalesmanProblem clone = (TravelingSalesmanProblem)base.Clone(cloner); 170 170 clone.Initialize(); 171 171 return clone;
Note: See TracChangeset
for help on using the changeset viewer.