Changeset 12030 for branches/SymbolicExpressionTreeDiversityAnalyzers/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/SymbolicDataAnalysisProblem.cs
- Timestamp:
- 02/17/15 21:18:40 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SymbolicExpressionTreeDiversityAnalyzers/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/SymbolicDataAnalysisProblem.cs
r12029 r12030 233 233 Operators.Add(new SymbolicExpressionTreeLengthAnalyzer()); 234 234 Operators.Add(new SymbolicDataAnalysisBottomUpDiversityAnalyzer()); 235 Operators.Add(new SymbolicDataAnalysisPhenotypicDiversityAnalyzer());236 235 ParameterizeOperators(); 237 236 } … … 353 352 op.EvaluatorParameter.ActualName = EvaluatorParameter.Name; 354 353 } 355 foreach (var op in operators.OfType<SymbolicDataAnalysisBottomUpDiversityAnalyzer>()) {356 var similarityCalculator = new SymbolicExpressionTreeBottomUpSimilarityCalculator();357 similarityCalculator.QualityVariableName = "Quality";358 similarityCalculator.SolutionVariableName = SolutionCreator.SymbolicExpressionTreeParameter.ActualName;359 op.SimilarityCalculator = similarityCalculator;360 }361 foreach (var op in operators.OfType<SymbolicDataAnalysisPhenotypicDiversityAnalyzer>()) {362 var similarityCalculator = new SymbolicExpressionTreePhenotypicSimilarityCalculator();363 similarityCalculator.QualityVariableName = "Quality";364 similarityCalculator.SolutionVariableName = SolutionCreator.SymbolicExpressionTreeParameter.ActualName;365 op.SimilarityCalculator = similarityCalculator;366 }367 354 } 368 355
Note: See TracChangeset
for help on using the changeset viewer.