Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/06/10 03:24:43 (14 years ago)
Author:
swagner
Message:

Worked on refactoring of algorithm analysis and tracing (#999)

  • adapted analyzers
Location:
trunk/sources/HeuristicLab.Problems.TravelingSalesman/3.3
Files:
2 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.TravelingSalesman/3.3/Analyzers/BestTSPSolutionAnalyzer.cs

    r3662 r3663  
    3434  /// An operator for analyzing the best solution of Traveling Salesman Problems given in path representation using city coordinates.
    3535  /// </summary>
    36   [Item("PopulationBestTSPSolutionAnalyzer", "An operator for analyzing the best solution of Traveling Salesman Problems given in path representation using city coordinates.")]
     36  [Item("BestTSPSolutionAnalyzer", "An operator for analyzing the best solution of Traveling Salesman Problems given in path representation using city coordinates.")]
    3737  [StorableClass]
    38   public sealed class PopulationBestTSPSolutionAnalyzer : SingleSuccessorOperator, IAnalyzer {
     38  public sealed class BestTSPSolutionAnalyzer : SingleSuccessorOperator, IAnalyzer {
    3939    public LookupParameter<DoubleMatrix> CoordinatesParameter {
    4040      get { return (LookupParameter<DoubleMatrix>)Parameters["Coordinates"]; }
     
    5353    }
    5454
    55     public PopulationBestTSPSolutionAnalyzer()
     55    public BestTSPSolutionAnalyzer()
    5656      : base() {
    5757      Parameters.Add(new LookupParameter<DoubleMatrix>("Coordinates", "The x- and y-Coordinates of the cities."));
  • trunk/sources/HeuristicLab.Problems.TravelingSalesman/3.3/HeuristicLab.Problems.TravelingSalesman-3.3.csproj

    r3662 r3663  
    8484  </ItemGroup>
    8585  <ItemGroup>
    86     <Compile Include="Analyzers\PopulationBestTSPSolutionAnalyzer.cs" />
     86    <Compile Include="Analyzers\BestTSPSolutionAnalyzer.cs" />
    8787    <Compile Include="Evaluators\TSPEuclideanPathEvaluator.cs" />
    8888    <Compile Include="Evaluators\TSPGeoPathEvaluator.cs" />
  • trunk/sources/HeuristicLab.Problems.TravelingSalesman/3.3/TravelingSalesmanProblem.cs

    r3662 r3663  
    124124      get { return operators; }
    125125    }
    126     private PopulationBestTSPSolutionAnalyzer BestTSPSolutionAnalyzer {
    127       get { return operators.OfType<PopulationBestTSPSolutionAnalyzer>().FirstOrDefault(); }
     126    private BestTSPSolutionAnalyzer BestTSPSolutionAnalyzer {
     127      get { return operators.OfType<BestTSPSolutionAnalyzer>().FirstOrDefault(); }
    128128    }
    129129    #endregion
     
    280280    private void InitializeOperators() {
    281281      operators = new List<IOperator>();
    282       operators.Add(new PopulationBestTSPSolutionAnalyzer());
     282      operators.Add(new BestTSPSolutionAnalyzer());
    283283      ParameterizeAnalyzer();
    284284      operators.AddRange(ApplicationManager.Manager.GetInstances<IPermutationOperator>().Cast<IOperator>());
Note: See TracChangeset for help on using the changeset viewer.