Changeset 11493 for branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Analyzers/BuildingBlockAnalyzers
- Timestamp:
- 10/24/14 16:02:59 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Analyzers/BuildingBlockAnalyzers/SymbolicDataAnalysisPoly10Analyzer.cs
r11462 r11493 27 27 using HeuristicLab.Data; 28 28 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 29 using HeuristicLab.Operators;30 29 using HeuristicLab.Optimization; 31 30 using HeuristicLab.Parameters; … … 37 36 [Item("Poly-10 building blocks analyzer", "An analyzer which attempts to identify parts of the Poly-10 formula")] 38 37 [StorableClass] 39 public class SymbolicDataAnalysisPoly10Analyzer : SingleSuccessorOperator, ISymbolicDataAnalysisAnalyzer { 40 private const string SymbolicExpressionTreeParameterName = "SymbolicExpressionTree"; 41 private const string ResultCollectionParameterName = "Results"; 38 public class SymbolicDataAnalysisPoly10Analyzer : SymbolicDataAnalysisAnalyzer { 42 39 private const string SymbolicDataAnalysisTreeInterpreterParameterName = "SymbolicExpressionTreeInterpreter"; 43 40 private const string ProblemDataParameterName = "ProblemData"; … … 60 57 } 61 58 62 public IScopeTreeLookupParameter<ISymbolicExpressionTree> SymbolicExpressionTreeParameter {63 get { return (IScopeTreeLookupParameter<ISymbolicExpressionTree>)Parameters[SymbolicExpressionTreeParameterName]; }64 }65 66 public ILookupParameter<ResultCollection> ResultCollectionParameter {67 get { return (ILookupParameter<ResultCollection>)Parameters[ResultCollectionParameterName]; }68 }69 70 59 public ILookupParameter<ISymbolicDataAnalysisExpressionTreeInterpreter> SymbolicDataAnalysisTreeInterpreterParameter { 71 60 get { return (ILookupParameter<ISymbolicDataAnalysisExpressionTreeInterpreter>)Parameters[SymbolicDataAnalysisTreeInterpreterParameterName]; } … … 108 97 public SymbolicDataAnalysisPoly10Analyzer() { 109 98 #region Add parameters 110 Parameters.Add(new ScopeTreeLookupParameter<ISymbolicExpressionTree>(SymbolicExpressionTreeParameterName));111 Parameters.Add(new LookupParameter<ResultCollection>(ResultCollectionParameterName));112 99 Parameters.Add(new LookupParameter<IDataAnalysisProblemData>(ProblemDataParameterName)); 113 100 Parameters.Add(new LookupParameter<ISymbolicDataAnalysisExpressionTreeInterpreter>(SymbolicDataAnalysisTreeInterpreterParameterName)); … … 132 119 } 133 120 134 public bool EnabledByDefault {121 new public bool EnabledByDefault { 135 122 get { return false; } 136 123 }
Note: See TracChangeset
for help on using the changeset viewer.