Changeset 11232
- Timestamp:
- 07/29/14 20:03:15 (10 years ago)
- Location:
- branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic
- Files:
-
- 5 edited
- 3 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic
- Property svn:mergeinfo changed
/branches/HeuristicLab.BottomUpTreeDistance/HeuristicLab.Problems.DataAnalysis.Symbolic (added) merged: 11211-11213,11215,11219-11221,11224-11225,11229-11230
- Property svn:mergeinfo changed
-
branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/HeuristicLab.Problems.DataAnalysis.Symbolic-3.4.csproj
r11208 r11232 173 173 </ItemGroup> 174 174 <ItemGroup> 175 <Compile Include="Analyzers\SymbolicDataAnalysisInternalDiversityAnalyzer.cs" /> 175 176 <Compile Include="Analyzers\SymbolicDataAnalysisSingleObjectivePruningAnalyzer.cs" /> 176 177 <Compile Include="Analyzers\SymbolicDataAnalysisGenealogyAnalyzer.cs" /> … … 189 190 <SubType>Code</SubType> 190 191 </Compile> 192 <Compile Include="DirectedGraph\Arc.cs" /> 193 <Compile Include="DirectedGraph\DirectedGraph.cs" /> 194 <Compile Include="DirectedGraph\Interfaces\IArc.cs" /> 195 <Compile Include="DirectedGraph\Interfaces\IDirectedGraph.cs" /> 196 <Compile Include="DirectedGraph\Interfaces\IVertex.cs" /> 197 <Compile Include="DirectedGraph\Vertex.cs" /> 191 198 <Compile Include="Interfaces\IModelBacktransformator.cs" /> 192 <Compile Include="Interfaces\IDistanceCalculator.cs" /> <Compile Include="Matching\SymbolicExpressionTreeCanonicalSorter.cs" /> 199 <Compile Include="Interfaces\IDistanceCalculator.cs" /> 200 <Compile Include="Matching\SymbolicExpressionTreeCanonicalSorter.cs" /> 193 201 <Compile Include="Matching\SymbolicExpressionTreeEqualityComparer.cs" /> 194 202 <Compile Include="Matching\SymbolicExpressionTreeMatching.cs" /> … … 196 204 <Compile Include="Matching\SymbolicExpressionTreeNodeComparer.cs" /> 197 205 <Compile Include="Matching\SymbolicExpressionTreeNodeSimilarityComparer.cs" /> 198 199 <Compile Include="SymbolicExpressionTreeBacktransformator.cs" /> <Compile Include="SlidingWindow\GenerationalSlidingWindowAnalyzer.cs" /> 206 <Compile Include="SimilarityCalculators\BottomUpSimilarityCalculator.cs" /> 207 <Compile Include="SimilarityCalculators\MaxCommonSubtreeSimilarityCalculator.cs" /> 208 <Compile Include="SymbolicExpressionTreeBacktransformator.cs" /> 209 <Compile Include="SlidingWindow\GenerationalSlidingWindowAnalyzer.cs" /> 200 210 <Compile Include="SlidingWindow\OffspringSelectionSlidingWindowAnalyzer.cs" /> 201 211 <Compile Include="SlidingWindow\SlidingWindowAnalyzer.cs" /> … … 204 214 <Compile Include="SlidingWindow\SlidingWindowVisualizer.cs" /> 205 215 <Compile Include="SymbolGraph\FPGraph.cs" /> 206 <Compile Include="SymbolGraph\SymbolGraph.cs" /> <Compile Include="SymbolicDataAnalysisExpressionPruningOperator.cs" /> 216 <Compile Include="SymbolGraph\SymbolGraph.cs" /> 217 <Compile Include="SymbolicDataAnalysisExpressionPruningOperator.cs" /> 207 218 <Compile Include="SymbolicDataAnalysisExpressionTreeSimilarityCalculator.cs" /> 208 219 <Compile Include="SymbolicDataAnalysisSolutionPruningOptimizer.cs" /> … … 302 313 <Compile Include="Symbols\VariableConditionTreeNode.cs" /> 303 314 <Compile Include="Symbols\VariableTreeNode.cs" /> 304 305 <Compile Include="Tra nsformationToSymbolicTreeMapper.cs" /> <Compile Include="Tracking\FragmentGraph\FragmentGraph.cs" />315 <Compile Include="TransformationToSymbolicTreeMapper.cs" /> 316 <Compile Include="Tracking\FragmentGraph\FragmentGraph.cs" /> 306 317 <Compile Include="Tracking\SymbolicDataAnalysisExpressionAfterCrossoverOperator.cs" /> 307 318 <Compile Include="Tracking\SymbolicDataAnalysisExpressionBeforeCrossoverOperator.cs" /> … … 309 320 <Compile Include="Tracking\SymbolicDataAnalysisExpressionBeforeManipulatorOperator.cs" /> 310 321 <Compile Include="Tracking\SymbolicDataAnalysisExpressionTracing.cs" /> 311 <Compile Include="TreeDistance\BottomUpDistanceCalculator.cs" /> 312 <Compile Include="TreeDistance\IsomorphicTreeDistance.cs" /> <None Include="HeuristicLab.snk" /> 322 <None Include="HeuristicLab.snk" /> 313 323 <None Include="Plugin.cs.frame" /> 314 324 <None Include="Properties\AssemblyInfo.cs.frame" /> -
branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Interpreter/SymbolicDataAnalysisExpressionTreeLinearInterpreter.cs
r11208 r11232 352 352 } 353 353 354 p rivatestatic void PrepareInstructions(LinearInstruction[] code, Dataset dataset) {354 public static void PrepareInstructions(LinearInstruction[] code, Dataset dataset) { 355 355 for (int i = 0; i != code.Length; ++i) { 356 356 var instr = code[i]; -
branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Matching/SymbolicExpressionTreeMaxCommonSequenceCalculator.cs
- Property svn:mergeinfo changed
/branches/HeuristicLab.BottomUpTreeDistance/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Matching/SymbolicExpressionTreeMaxCommonSequenceCalculator.cs (added) merged: 11229
r10833 r11232 23 23 using System.Collections.Generic; 24 24 25 namespace HeuristicLab.Problems.DataAnalysis.Symbolic .Matching{25 namespace HeuristicLab.Problems.DataAnalysis.Symbolic { 26 26 public class MaxCommonSequenceCalculator<T, TComp> 27 27 where T : class - Property svn:mergeinfo changed
-
branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/SymbolicDataAnalysisProblem.cs
r11208 r11232 23 23 using System.Drawing; 24 24 using System.Linq; 25 using HeuristicLab.Analysis; 25 26 using HeuristicLab.Common; 26 27 using HeuristicLab.Common.Resources; … … 29 30 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 30 31 using HeuristicLab.Optimization; 32 using HeuristicLab.Optimization.Operators; 31 33 using HeuristicLab.Parameters; 32 34 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 33 35 using HeuristicLab.PluginInfrastructure; 34 using HeuristicLab.Problems.DataAnalysis.Symbolic.Analyzers;35 36 using HeuristicLab.Problems.Instances; 36 37 37 38 38 namespace HeuristicLab.Problems.DataAnalysis.Symbolic { … … 233 233 Operators.Add(new MinAverageMaxSymbolicExpressionTreeLengthAnalyzer()); 234 234 Operators.Add(new SymbolicExpressionTreeLengthAnalyzer()); 235 Operators.Add(new SymbolicDataAnalysisGenealogyAnalyzer()); 235 Operators.Add(new SingleObjectivePopulationDiversityAnalyzer()); 236 Operators.Add(new BottomUpSimilarityCalculator()); 236 237 ParameterizeOperators(); 237 238 } … … 353 354 op.EvaluatorParameter.ActualName = EvaluatorParameter.Name; 354 355 } 355 // add tracking analyzer 356 foreach (var op in operators.OfType<SymbolicDataAnalysisGenealogyAnalyzer>()) { 357 op.BeforeCrossoverOperatorParameter.ActualValue = new SymbolicDataAnalysisExpressionBeforeCrossoverOperator(); 358 op.AfterCrossoverOperatorParameter.ActualValue = new SymbolicDataAnalysisExpressionAfterCrossoverOperator(); 359 op.BeforeManipulatorOperatorParameter.ActualValue = new SymbolicDataAnalysisExpressionBeforeManipulatorOperator(); 360 op.AfterManipulatorOperatorParameter.ActualValue = new SymbolicDataAnalysisExpressionAfterManipulatorOperator(); 361 // get crossover parameter names 362 var crossover = operators.OfType<ISymbolicExpressionTreeCrossover>().FirstOrDefault(); 363 if (crossover != null) { 364 op.BeforeCrossoverOperator.ParentsParameter.ActualName = crossover.ParentsParameter.Name; 365 op.AfterCrossoverOperator.ParentsParameter.ActualName = crossover.ParentsParameter.Name; 366 op.BeforeCrossoverOperator.ChildParameter.ActualName = crossover.ChildParameter.Name; 367 op.AfterCrossoverOperator.ChildParameter.ActualName = crossover.ChildParameter.Name; 368 } 369 // get manipulator parameter names 370 var manipulator = operators.OfType<ISymbolicExpressionTreeManipulator>().FirstOrDefault(); 371 if (manipulator != null) { 372 op.BeforeManipulatorOperator.ChildParameter.ActualName = manipulator.SymbolicExpressionTreeParameter.Name; 373 op.AfterManipulatorOperator.ChildParameter.ActualName = manipulator.SymbolicExpressionTreeParameter.Name; 374 } 375 var creator = operators.OfType<ISymbolicExpressionTreeCreator>().FirstOrDefault(); 376 if (creator != null) { 377 op.PopulationParameter.ActualName = creator.SymbolicExpressionTreeParameter.ActualName; 378 } 356 foreach (var op in operators.OfType<SingleObjectiveSolutionSimilarityCalculator>()) { 357 op.QualityVariableName = "Quality"; 358 op.SolutionVariableName = SolutionCreator.SymbolicExpressionTreeParameter.ActualName; 359 } 360 foreach (var op in operators.OfType<SingleObjectivePopulationDiversityAnalyzer>()) { 361 op.SimilarityCalculator = operators.OfType<BottomUpSimilarityCalculator>().SingleOrDefault(); 379 362 } 380 363 }
Note: See TracChangeset
for help on using the changeset viewer.