Changeset 7615 for branches/HeuristicLab.TimeSeries/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/SymbolicDataAnalysisProblem.cs
- Timestamp:
- 03/15/12 09:11:17 (13 years ago)
- Location:
- branches/HeuristicLab.TimeSeries
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.TimeSeries
-
branches/HeuristicLab.TimeSeries/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/SymbolicDataAnalysisProblem.cs
r7268 r7615 198 198 private void InitializeOperators() { 199 199 Operators.AddRange(ApplicationManager.Manager.GetInstances<ISymbolicExpressionTreeOperator>()); 200 Operators.AddRange(ApplicationManager.Manager.GetInstances<ISymbolicDataAnalysisExpressionCrossover<T>>()); 200 201 Operators.Add(new SymbolicExpressionSymbolFrequencyAnalyzer()); 201 202 Operators.Add(new SymbolicDataAnalysisVariableFrequencyAnalyzer()); … … 268 269 269 270 protected virtual void ParameterizeOperators() { 270 var operators = Parameters.OfType<IValueParameter>().Select(p => p.Value).OfType<IOperator>().Union(Operators) ;271 var operators = Parameters.OfType<IValueParameter>().Select(p => p.Value).OfType<IOperator>().Union(Operators).ToList(); 271 272 272 273 foreach (var op in operators.OfType<ISymbolicExpressionTreeGrammarBasedOperator>()) { … … 307 308 op.SymbolicDataAnalysisTreeInterpreterParameter.ActualName = SymbolicExpressionTreeInterpreterParameterName; 308 309 } 310 foreach (var op in operators.OfType<ISymbolicDataAnalysisExpressionCrossover<T>>()) { 311 op.EvaluationPartitionParameter.ActualName = FitnessCalculationPartitionParameterName; 312 } 313 foreach (var op in operators.OfType<ISymbolicDataAnalysisExpressionCrossover<T>>()) { 314 op.ProblemDataParameter.ActualName = ProblemDataParameter.Name; 315 op.EvaluationPartitionParameter.ActualName = FitnessCalculationPartitionParameter.Name; 316 op.RelativeNumberOfEvaluatedSamplesParameter.ActualName = RelativeNumberOfEvaluatedSamplesParameter.Name; 317 op.EvaluatorParameter.ActualName = EvaluatorParameter.Name; 318 } 309 319 } 310 320
Note: See TracChangeset
for help on using the changeset viewer.