Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/24/14 16:02:59 (10 years ago)
Author:
bburlacu
Message:

#1772: Improved the way the TraceCalculator handles mutations, worked on the SymbolicDataAnalysisPoly10Analyzer (analyzer that tries to identify building blocks for the Poly-10 problem by doing a semantic comparison).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Analyzers/BuildingBlockAnalyzers/SymbolicDataAnalysisPoly10Analyzer.cs

    r11462 r11493  
    2727using HeuristicLab.Data;
    2828using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
    29 using HeuristicLab.Operators;
    3029using HeuristicLab.Optimization;
    3130using HeuristicLab.Parameters;
     
    3736  [Item("Poly-10 building blocks analyzer", "An analyzer which attempts to identify parts of the Poly-10 formula")]
    3837  [StorableClass]
    39   public class SymbolicDataAnalysisPoly10Analyzer : SingleSuccessorOperator, ISymbolicDataAnalysisAnalyzer {
    40     private const string SymbolicExpressionTreeParameterName = "SymbolicExpressionTree";
    41     private const string ResultCollectionParameterName = "Results";
     38  public class SymbolicDataAnalysisPoly10Analyzer : SymbolicDataAnalysisAnalyzer {
    4239    private const string SymbolicDataAnalysisTreeInterpreterParameterName = "SymbolicExpressionTreeInterpreter";
    4340    private const string ProblemDataParameterName = "ProblemData";
     
    6057    }
    6158
    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 
    7059    public ILookupParameter<ISymbolicDataAnalysisExpressionTreeInterpreter> SymbolicDataAnalysisTreeInterpreterParameter {
    7160      get { return (ILookupParameter<ISymbolicDataAnalysisExpressionTreeInterpreter>)Parameters[SymbolicDataAnalysisTreeInterpreterParameterName]; }
     
    10897    public SymbolicDataAnalysisPoly10Analyzer() {
    10998      #region Add parameters
    110       Parameters.Add(new ScopeTreeLookupParameter<ISymbolicExpressionTree>(SymbolicExpressionTreeParameterName));
    111       Parameters.Add(new LookupParameter<ResultCollection>(ResultCollectionParameterName));
    11299      Parameters.Add(new LookupParameter<IDataAnalysisProblemData>(ProblemDataParameterName));
    113100      Parameters.Add(new LookupParameter<ISymbolicDataAnalysisExpressionTreeInterpreter>(SymbolicDataAnalysisTreeInterpreterParameterName));
     
    132119    }
    133120
    134     public bool EnabledByDefault {
     121    new public bool EnabledByDefault {
    135122      get { return false; }
    136123    }
Note: See TracChangeset for help on using the changeset viewer.