Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/05/10 19:50:46 (15 years ago)
Author:
gkronber
Message:

Implemented analyzers for symbolic expression tree encoding, artificial ant problem and symbolic regression problem. #999 (Refactor algorithm analysis and tracing)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.ArtificialAnt/3.3/ArtificialAntProblem.cs

    r3631 r3651  
    3838using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Interfaces;
    3939using HeuristicLab.Problems.ArtificialAnt.Analyzers;
     40using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Analyzers;
    4041
    4142namespace HeuristicLab.Problems.ArtificialAnt {
     
    299300      operators.AddRange(ApplicationManager.Manager.GetInstances<ISymbolicExpressionTreeOperator>().OfType<IOperator>());
    300301      operators.Add(new PopulationBestAntTrailAnalyzer());
     302      operators.Add(new PopulationMinAvgMaxTreeSizeAnalyzer());
    301303      ParameterizeAnalyzers();
    302304      ParameterizeOperators();
     
    320322        analyzer.MaxTimeStepsParameter.ActualName = MaxTimeStepsParameter.Name;
    321323      }
     324      foreach (ISymbolicExpressionTreePopulationAnalyzer analyzer in Operators.OfType<ISymbolicExpressionTreePopulationAnalyzer>()) {
     325        analyzer.SymbolicExpressionTreeParameter.ActualName = SolutionCreator.SymbolicExpressionTreeParameter.ActualName;
     326      }
    322327    }
    323328
Note: See TracChangeset for help on using the changeset viewer.