Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/26/12 17:09:43 (12 years ago)
Author:
jkarder
Message:

#1331: reintegrated branch

Location:
trunk/sources
Files:
4 edited
3 copied

Legend:

Unmodified
Added
Removed
  • trunk/sources

  • trunk/sources/HeuristicLab.Problems.TravelingSalesman/3.3/HeuristicLab.Problems.TravelingSalesman-3.3.csproj

    r8208 r8334  
    119119    <Compile Include="Evaluators\TSPEuclideanPathEvaluator.cs" />
    120120    <Compile Include="Evaluators\TSPGeoPathEvaluator.cs" />
     121    <Compile Include="Improvers\TSPImprovementOperator.cs" />
    121122    <Compile Include="Interfaces\ITSPDistanceMatrixEvaluator.cs" />
    122123    <Compile Include="MoveEvaluators\ThreeOpt\TSPTranslocationMoveEuclideanPathEvaluator.cs" />
     
    128129    <Compile Include="MoveEvaluators\TwoOpt\TSPInversionMovePathEvaluator.cs" />
    129130    <Compile Include="MoveEvaluators\TwoOpt\TSPInversionMoveRoundedEuclideanPathEvaluator.cs" />
     131    <Compile Include="PathRelinkers\TSPMultipleGuidesPathRelinker.cs" />
     132    <Compile Include="PathRelinkers\TSPPathRelinker.cs" />
     133    <Compile Include="PathRelinkers\TSPSimultaneousPathRelinker.cs" />
    130134    <Compile Include="Plugin.cs" />
     135    <Compile Include="SimilarityCalculators\TSPSimilarityCalculator.cs" />
    131136    <Compile Include="TravelingSalesmanProblem.cs" />
    132137    <Compile Include="PathTSPTour.cs" />
     
    183188      <Name>HeuristicLab.Operators-3.3</Name>
    184189      <Private>False</Private>
     190    </ProjectReference>
     191    <ProjectReference Include="..\..\HeuristicLab.Optimization.Operators\3.3\HeuristicLab.Optimization.Operators-3.3.csproj">
     192      <Project>{25087811-F74C-4128-BC86-8324271DA13E}</Project>
     193      <Name>HeuristicLab.Optimization.Operators-3.3</Name>
    185194    </ProjectReference>
    186195    <ProjectReference Include="..\..\HeuristicLab.Optimization\3.3\HeuristicLab.Optimization-3.3.csproj">
  • trunk/sources/HeuristicLab.Problems.TravelingSalesman/3.3/Plugin.cs.frame

    r8246 r8334  
    3737  [PluginDependency("HeuristicLab.Operators", "3.3")]
    3838  [PluginDependency("HeuristicLab.Optimization", "3.3")]
     39  [PluginDependency("HeuristicLab.Optimization.Operators", "3.3")]
    3940  [PluginDependency("HeuristicLab.Parameters", "3.3")]
    4041  [PluginDependency("HeuristicLab.Persistence", "3.3")]
  • trunk/sources/HeuristicLab.Problems.TravelingSalesman/3.3/TravelingSalesmanProblem.cs

    r8221 r8334  
    230230
    231231    private void InitializeOperators() {
     232      Operators.Add(new TSPImprovementOperator());
     233      Operators.Add(new TSPMultipleGuidesPathRelinker());
     234      Operators.Add(new TSPPathRelinker());
     235      Operators.Add(new TSPSimultaneousPathRelinker());
     236      Operators.Add(new TSPSimilarityCalculator());
     237
    232238      Operators.Add(new BestTSPSolutionAnalyzer());
    233239      Operators.Add(new TSPAlleleFrequencyAnalyzer());
     
    350356        op.PermutationParameter.ActualName = SolutionCreator.PermutationParameter.ActualName;
    351357        op.PermutationParameter.Hidden = true;
     358      }
     359      foreach (ISingleObjectiveImprovementOperator op in Operators.OfType<ISingleObjectiveImprovementOperator>()) {
     360        op.SolutionParameter.ActualName = SolutionCreator.PermutationParameter.ActualName;
     361        op.SolutionParameter.Hidden = true;
     362      }
     363      foreach (ISingleObjectivePathRelinker op in Operators.OfType<ISingleObjectivePathRelinker>()) {
     364        op.ParentsParameter.ActualName = SolutionCreator.PermutationParameter.ActualName;
     365        op.ParentsParameter.Hidden = true;
     366      }
     367      foreach (TSPSimilarityCalculator op in Operators.OfType<TSPSimilarityCalculator>()) {
     368        op.SolutionVariableName = SolutionCreator.PermutationParameter.ActualName;
     369        op.QualityVariableName = Evaluator.QualityParameter.ActualName;
    352370      }
    353371    }
Note: See TracChangeset for help on using the changeset viewer.