- Timestamp:
- 06/23/17 14:21:39 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/SymbolicDataAnalysisProblem.cs
r14826 r15047 21 21 22 22 using System; 23 using System.Collections.Generic; 23 24 using System.Drawing; 24 25 using System.Linq; … … 241 242 242 243 private void InitializeOperators() { 243 Operators.AddRange(ApplicationManager.Manager.GetInstances<ISymbolicExpressionTreeOperator>()); 244 Operators.AddRange(ApplicationManager.Manager.GetInstances<ISymbolicDataAnalysisExpressionCrossover<T>>()); 245 Operators.Add(new SymbolicExpressionSymbolFrequencyAnalyzer()); 246 Operators.Add(new SymbolicDataAnalysisVariableFrequencyAnalyzer()); 247 Operators.Add(new MinAverageMaxSymbolicExpressionTreeLengthAnalyzer()); 248 Operators.Add(new SymbolicExpressionTreeLengthAnalyzer()); 249 Operators.Add(new SymbolicExpressionTreeBottomUpSimilarityCalculator()); 250 Operators.Add(new SymbolicDataAnalysisBottomUpDiversityAnalyzer(Operators.OfType<SymbolicExpressionTreeBottomUpSimilarityCalculator>().First())); 244 var operators = new HashSet<IItem>(new TypeEqualityComparer<IItem>()); 245 operators.Add(new SubtreeCrossover()); 246 operators.Add(new MultiSymbolicExpressionTreeManipulator()); 247 248 foreach (var op in ApplicationManager.Manager.GetInstances<ISymbolicExpressionTreeOperator>()) 249 operators.Add(op); 250 foreach (var op in ApplicationManager.Manager.GetInstances<ISymbolicDataAnalysisExpressionCrossover<T>>()) 251 operators.Add(op); 252 253 operators.Add(new SymbolicExpressionSymbolFrequencyAnalyzer()); 254 operators.Add(new SymbolicDataAnalysisVariableFrequencyAnalyzer()); 255 operators.Add(new MinAverageMaxSymbolicExpressionTreeLengthAnalyzer()); 256 operators.Add(new SymbolicExpressionTreeLengthAnalyzer()); 257 operators.Add(new SymbolicExpressionTreeBottomUpSimilarityCalculator()); 258 operators.Add(new SymbolicDataAnalysisBottomUpDiversityAnalyzer(operators.OfType<SymbolicExpressionTreeBottomUpSimilarityCalculator>().First())); 259 260 Operators.AddRange(operators); 251 261 ParameterizeOperators(); 252 262 }
Note: See TracChangeset
for help on using the changeset viewer.