Free cookie consent management tool by TermsFeed Policy Generator

Changeset 3159


Ignore:
Timestamp:
03/22/10 02:50:19 (14 years ago)
Author:
swagner
Message:

Renamed TSP to TravelingSalesmanProblem and TSPView to TravelingSalesmanProblemView (#924).

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  
    9292      <DependentUpon>PathTSPTourView.cs</DependentUpon>
    9393    </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>
    94100    <Compile Include="TSPLIBImportDialog.cs">
    95101      <SubType>Form</SubType>
     
    97103    <Compile Include="TSPLIBImportDialog.Designer.cs">
    98104      <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>
    105105    </Compile>
    106106    <Compile Include="Properties\AssemblyInfo.cs" />
  • trunk/sources/HeuristicLab.Problems.TravelingSalesman.Views/3.3/TravelingSalesmanProblemView.Designer.cs

    r3158 r3159  
    2121
    2222namespace HeuristicLab.Problems.TravelingSalesman.Views {
    23   partial class TSPView {
     23  partial class TravelingSalesmanProblemView {
    2424    /// <summary>
    2525    /// Required designer variable.
     
    139139      this.pathTSPTourView.TabIndex = 0;
    140140      //
    141       // TSPView
     141      // TravelingSalesmanProblemView
    142142      //
    143143      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     
    145145      this.Controls.Add(this.tabControl);
    146146      this.Controls.Add(this.importButton);
    147       this.Name = "TSPView";
     147      this.Name = "TravelingSalesmanProblemView";
    148148      this.Size = new System.Drawing.Size(529, 422);
    149149      this.Controls.SetChildIndex(this.importButton, 0);
  • trunk/sources/HeuristicLab.Problems.TravelingSalesman.Views/3.3/TravelingSalesmanProblemView.cs

    r3158 r3159  
    3030  /// The base class for visual representations of items.
    3131  /// </summary>
    32   [View("TSP View")]
    33   [Content(typeof(TSP), true)]
    34   public sealed partial class TSPView : NamedItemView {
     32  [View("Traveling Salesman Problem View")]
     33  [Content(typeof(TravelingSalesmanProblem), true)]
     34  public sealed partial class TravelingSalesmanProblemView : NamedItemView {
    3535    private TSPLIBImportDialog tsplibImportDialog;
    3636
    37     public new TSP Content {
    38       get { return (TSP)base.Content; }
     37    public new TravelingSalesmanProblem Content {
     38      get { return (TravelingSalesmanProblem)base.Content; }
    3939      set { base.Content = value; }
    4040    }
     
    4343    /// Initializes a new instance of <see cref="ItemBaseView"/>.
    4444    /// </summary>
    45     public TSPView() {
     45    public TravelingSalesmanProblemView() {
    4646      InitializeComponent();
    4747    }
     
    5050    /// </summary>
    5151    /// <param name="item">The item that should be displayed.</param>
    52     public TSPView(TSP content)
     52    public TravelingSalesmanProblemView(TravelingSalesmanProblem content)
    5353      : this() {
    5454      Content = content;
  • trunk/sources/HeuristicLab.Problems.TravelingSalesman/3.3/HeuristicLab.Problems.TravelingSalesman-3.3.csproj

    r3158 r3159  
    8787    <Compile Include="Evaluators\TSPGeoPathEvaluator.cs" />
    8888    <Compile Include="HeuristicLabProblemsTravelingSalesmanPlugin.cs" />
     89    <Compile Include="TravelingSalesmanProblem.cs" />
    8990    <Compile Include="TSPLIBTourParser.cs" />
    9091    <Compile Include="Interfaces\ICoordinatesTSPSolutionsVisualizer.cs" />
     
    108109    </Compile>
    109110    <Compile Include="TSPLIBParser.cs" />
    110     <Compile Include="TSP.cs" />
    111111    <Compile Include="Properties\AssemblyInfo.cs" />
    112112  </ItemGroup>
  • trunk/sources/HeuristicLab.Problems.TravelingSalesman/3.3/TravelingSalesmanProblem.cs

    r3158 r3159  
    3535
    3636namespace HeuristicLab.Problems.TravelingSalesman {
    37   [Item("TSP", "Represents a symmetric Traveling Salesman Problem.")]
     37  [Item("Traveling Salesman Problem", "Represents a symmetric Traveling Salesman Problem.")]
    3838  [Creatable("Problems")]
    3939  [StorableClass]
    40   public sealed class TSP : ParameterizedNamedItem, ISingleObjectiveProblem {
     40  public sealed class TravelingSalesmanProblem : ParameterizedNamedItem, ISingleObjectiveProblem {
    4141    public override Image ItemImage {
    4242      get { return HeuristicLab.Common.Resources.VS2008ImageLibrary.Type; }
     
    139139    #endregion
    140140
    141     public TSP()
     141    public TravelingSalesmanProblem()
    142142      : base() {
    143143      RandomPermutationCreator creator = new RandomPermutationCreator();
     
    164164    }
    165165    [StorableConstructor]
    166     private TSP(bool deserializing) : base() { }
     166    private TravelingSalesmanProblem(bool deserializing) : base() { }
    167167
    168168    public override IDeepCloneable Clone(Cloner cloner) {
    169       TSP clone = (TSP)base.Clone(cloner);
     169      TravelingSalesmanProblem clone = (TravelingSalesmanProblem)base.Clone(cloner);
    170170      clone.Initialize();
    171171      return clone;
Note: See TracChangeset for help on using the changeset viewer.