Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/28/11 14:50:35 (13 years ago)
Author:
bburlacu
Message:

#1682: Added crossover discovery code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gp-crossover/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/SymbolicDataAnalysisProblem.cs

    r6978 r7086  
    169169      Parameters.Add(new FixedValueParameter<PercentValue>(RelativeNumberOfEvaluatedSamplesParameterName, RelativeNumberOfEvaluatedSamplesParameterDescription, new PercentValue(1)));
    170170
    171       SolutionCreatorParameter.Hidden = true;
    172171      SymbolicExpressionTreeInterpreterParameter.Hidden = true;
    173172      MaximumFunctionArgumentsParameter.Hidden = true;
     
    199198    private void InitializeOperators() {
    200199      Operators.AddRange(ApplicationManager.Manager.GetInstances<ISymbolicExpressionTreeOperator>());
     200      Operators.AddRange(ApplicationManager.Manager.GetInstances<ISymbolicDataAnalysisExpressionCrossover<T>>());
    201201      Operators.Add(new SymbolicExpressionSymbolFrequencyAnalyzer());
    202202      Operators.Add(new SymbolicDataAnalysisVariableFrequencyAnalyzer());
     
    308308        op.SymbolicDataAnalysisTreeInterpreterParameter.ActualName = SymbolicExpressionTreeInterpreterParameterName;
    309309      }
     310      foreach (var op in operators.OfType<ISymbolicDataAnalysisExpressionCrossover<T>>()) {
     311        op.SymbolicDataAnalysisEvaluationPartitionParameter.ActualName = FitnessCalculationPartitionParameterName;
     312      }
    310313    }
    311314
Note: See TracChangeset for help on using the changeset viewer.