Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/15/21 16:18:39 (3 years ago)
Author:
pfleck
Message:

#3040: Added the ISymbolicDataAnalysisExpressionManipulator and necessary code analogously to the ISymbolicDataAnalysisExpressionCrossover.

Location:
branches/3040_VectorBasedGP/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4
Files:
4 added
2 edited

Legend:

Unmodified
Added
Removed
  • branches/3040_VectorBasedGP/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/HeuristicLab.Problems.DataAnalysis.Symbolic-3.4.csproj

    r17930 r18082  
    174174    <Compile Include="Converters\TreeToAutoDiffTermConverter.cs" />
    175175    <Compile Include="Creators\SymbolicDataAnalysisExpressionBalancedTreeCreator.cs" />
     176    <Compile Include="Mutators\MultiSymbolicDataAnalysisExpressionManipulator.cs" />
     177    <Compile Include="Interfaces\ISymbolicDataAnalysisExpressionManipulator.cs" />
     178    <Compile Include="Mutators\SymbolicDataAnalysisExpressionManipulator.cs" />
    176179    <Compile Include="Crossovers\SymbolicDataAnalysisExpressionDiversityPreservingCrossover.cs" />
    177180    <Compile Include="Formatters\InfixExpressionFormatter.cs" />
     
    201204    <Compile Include="Interpreter\SymbolicDataAnalysisExpressionTreeVectorInterpreter.cs" />
    202205    <Compile Include="Interpreter\SymbolicDataAnalysisExpressionTreeNativeInterpreter.cs" />
     206    <Compile Include="Mutators\SubVectorImprovementManipulator.cs" />
    203207    <Compile Include="Selectors\DiversitySelector.cs" />
    204208    <Compile Include="SymbolicDataAnalysisExpressionTreeAverageSimilarityCalculator.cs" />
     
    454458    </ProjectReference>
    455459  </ItemGroup>
     460  <ItemGroup />
    456461  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
    457462  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
  • branches/3040_VectorBasedGP/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/SymbolicDataAnalysisProblem.cs

    r17456 r18082  
    229229      foreach (var op in ApplicationManager.Manager.GetInstances<ISymbolicDataAnalysisExpressionCrossover<T>>())
    230230        operators.Add(op);
     231      foreach (var op in ApplicationManager.Manager.GetInstances<ISymbolicDataAnalysisExpressionManipulator<T>>())
     232        operators.Add(op);
    231233
    232234      operators.Add(new SymbolicExpressionSymbolFrequencyAnalyzer());
     
    357359        op.EvaluatorParameter.ActualName = EvaluatorParameter.Name;
    358360      }
     361      foreach (var op in operators.OfType<ISymbolicDataAnalysisExpressionManipulator<T>>()) {
     362        op.EvaluationPartitionParameter.ActualName = FitnessCalculationPartitionParameter.Name;
     363        op.ProblemDataParameter.ActualName = ProblemDataParameter.Name;
     364        op.EvaluationPartitionParameter.ActualName = FitnessCalculationPartitionParameter.Name;
     365        op.RelativeNumberOfEvaluatedSamplesParameter.ActualName = RelativeNumberOfEvaluatedSamplesParameter.Name;
     366        op.EvaluatorParameter.ActualName = EvaluatorParameter.Name;
     367      }
    359368    }
    360369
Note: See TracChangeset for help on using the changeset viewer.