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.TestFunctions/3.3/HeuristicLab.Problems.TestFunctions-3.3.csproj

    r6866 r8334  
    108108  </ItemGroup>
    109109  <ItemGroup>
     110    <Compile Include="Improvers\SingleObjectiveTestFunctionImprovementOperator.cs" />
     111    <Compile Include="PathRelinkers\SingleObjectiveTestFunctionPathRelinker.cs" />
    110112    <Compile Include="Plugin.cs" />
    111113    <Compile Include="Properties\AssemblyInfo.cs" />
     
    152154    <Compile Include="MoveEvaluators\RealVectorAdditiveMoveWrapper.cs" />
    153155    <Compile Include="RealVectorToRealVectorEncoder.cs" />
     156    <Compile Include="SimilarityCalculators\SingleObjectiveTestFunctionSimilarityCalculator.cs" />
    154157    <Compile Include="SingleObjectiveTestFunctionSolution.cs" />
    155158    <Compile Include="SingleObjectiveTestFunctionProblem.cs" />
     
    193196      <Name>HeuristicLab.Operators-3.3</Name>
    194197      <Private>False</Private>
     198    </ProjectReference>
     199    <ProjectReference Include="..\..\HeuristicLab.Optimization.Operators\3.3\HeuristicLab.Optimization.Operators-3.3.csproj">
     200      <Project>{25087811-F74C-4128-BC86-8324271DA13E}</Project>
     201      <Name>HeuristicLab.Optimization.Operators-3.3</Name>
    195202    </ProjectReference>
    196203    <ProjectReference Include="..\..\HeuristicLab.Optimization\3.3\HeuristicLab.Optimization-3.3.csproj">
     
    232239    </BootstrapperPackage>
    233240  </ItemGroup>
     241  <ItemGroup />
    234242  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
    235243  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
  • trunk/sources/HeuristicLab.Problems.TestFunctions/3.3/Plugin.cs.frame

    r8246 r8334  
    3636  [PluginDependency("HeuristicLab.Operators", "3.3")]
    3737  [PluginDependency("HeuristicLab.Optimization", "3.3")]
     38  [PluginDependency("HeuristicLab.Optimization.Operators", "3.3")]
    3839  [PluginDependency("HeuristicLab.Parameters", "3.3")]
    3940  [PluginDependency("HeuristicLab.Persistence", "3.3")]
  • trunk/sources/HeuristicLab.Problems.TestFunctions/3.3/SingleObjectiveTestFunctionProblem.cs

    r7442 r8334  
    257257    }
    258258    private void InitializeOperators() {
     259      Operators.Add(new SingleObjectiveTestFunctionImprovementOperator());
     260      Operators.Add(new SingleObjectiveTestFunctionPathRelinker());
     261      Operators.Add(new SingleObjectiveTestFunctionSimilarityCalculator());
     262
    259263      Operators.Add(new BestSingleObjectiveTestFunctionSolutionAnalyzer());
    260264      ParameterizeAnalyzers();
     
    359363        op.MaximizationParameter.Hidden = true;
    360364      }
    361       foreach (var op in Operators.OfType<IRealVectorMultiNeighborhoodShakingOperator>()) {
    362         op.RealVectorParameter.ActualName = SolutionCreator.RealVectorParameter.ActualName;
    363         op.RealVectorParameter.Hidden = true;
     365      foreach (IRealVectorMultiNeighborhoodShakingOperator op in Operators.OfType<IRealVectorMultiNeighborhoodShakingOperator>()) {
     366        op.RealVectorParameter.ActualName = SolutionCreator.RealVectorParameter.ActualName;
     367        op.RealVectorParameter.Hidden = true;
     368      }
     369      foreach (ISingleObjectiveImprovementOperator op in Operators.OfType<ISingleObjectiveImprovementOperator>()) {
     370        op.SolutionParameter.ActualName = SolutionCreator.RealVectorParameter.ActualName;
     371        op.SolutionParameter.Hidden = true;
     372      }
     373      foreach (ISingleObjectivePathRelinker op in Operators.OfType<ISingleObjectivePathRelinker>()) {
     374        op.ParentsParameter.ActualName = SolutionCreator.RealVectorParameter.ActualName;
     375        op.ParentsParameter.Hidden = true;
     376      }
     377      foreach (SingleObjectiveTestFunctionSimilarityCalculator op in Operators.OfType<SingleObjectiveTestFunctionSimilarityCalculator>()) {
     378        op.SolutionVariableName = SolutionCreator.RealVectorParameter.ActualName;
     379        op.QualityVariableName = Evaluator.QualityParameter.ActualName;
     380        op.Bounds = Bounds;
    364381      }
    365382    }
Note: See TracChangeset for help on using the changeset viewer.