Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/29/10 19:59:46 (14 years ago)
Author:
mkommend
Message:

Fixed warninings and errors (ticket #922).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/CloningRefactoring/HeuristicLab.Problems.DataAnalysis.Classification/3.3/Symbolic/SymbolicClassificationProblem.cs

    r4678 r4684  
    5757    public ISymbolicExpressionTreeInterpreter SymbolicExpressionTreeInterpreter {
    5858      get { return SymbolicExpressionTreeInterpreterParameter.Value; }
    59       protected set { SymbolicExpressionTreeInterpreterParameter.Value = value; }
     59      private set { SymbolicExpressionTreeInterpreterParameter.Value = value; }
    6060    }
    6161    public IValueParameter<ISymbolicExpressionTreeInterpreter> SymbolicExpressionTreeInterpreterParameter {
     
    6565    public ISymbolicExpressionGrammar FunctionTreeGrammar {
    6666      get { return (ISymbolicExpressionGrammar)FunctionTreeGrammarParameter.Value; }
    67       protected set { FunctionTreeGrammarParameter.Value = value; }
     67      private set { FunctionTreeGrammarParameter.Value = value; }
    6868    }
    6969    public IValueParameter<ISymbolicExpressionGrammar> FunctionTreeGrammarParameter {
     
    7373    public IntValue MaxExpressionLength {
    7474      get { return MaxExpressionLengthParameter.Value; }
    75       protected set { MaxExpressionLengthParameter.Value = value; }
     75      private set { MaxExpressionLengthParameter.Value = value; }
    7676    }
    7777    public IValueParameter<IntValue> MaxExpressionLengthParameter {
     
    8181    public IntValue MaxExpressionDepth {
    8282      get { return MaxExpressionDepthParameter.Value; }
    83       protected set { MaxExpressionDepthParameter.Value = value; }
     83      private set { MaxExpressionDepthParameter.Value = value; }
    8484    }
    8585    public ValueParameter<IntValue> MaxExpressionDepthParameter {
     
    8989    public DoubleValue UpperEstimationLimit {
    9090      get { return UpperEstimationLimitParameter.Value; }
    91       protected set { UpperEstimationLimitParameter.Value = value; }
     91      private set { UpperEstimationLimitParameter.Value = value; }
    9292    }
    9393    public IValueParameter<DoubleValue> UpperEstimationLimitParameter {
     
    9797    public DoubleValue LowerEstimationLimit {
    9898      get { return LowerEstimationLimitParameter.Value; }
    99       protected set { LowerEstimationLimitParameter.Value = value; }
     99      private set { LowerEstimationLimitParameter.Value = value; }
    100100    }
    101101    public IValueParameter<DoubleValue> LowerEstimationLimitParameter {
     
    105105    public IntValue MaxFunctionDefiningBranches {
    106106      get { return MaxFunctionDefiningBranchesParameter.Value; }
    107       protected set { MaxFunctionDefiningBranchesParameter.Value = value; }
     107      private set { MaxFunctionDefiningBranchesParameter.Value = value; }
    108108    }
    109109    public IValueParameter<IntValue> MaxFunctionDefiningBranchesParameter {
     
    113113    public IntValue MaxFunctionArguments {
    114114      get { return MaxFunctionArgumentsParameter.Value; }
    115       protected set { MaxFunctionArgumentsParameter.Value = value; }
     115      private set { MaxFunctionArgumentsParameter.Value = value; }
    116116    }
    117117    public IValueParameter<IntValue> MaxFunctionArgumentsParameter {
     
    222222      OnGrammarChanged();
    223223    }
    224     protected virtual void OnGrammarChanged() {
     224    private void OnGrammarChanged() {
    225225      ParameterizeGrammar();
    226226    }
     
    234234      OnArchitectureParameterChanged();
    235235    }
    236     protected virtual void OnArchitectureParameterChanged() {
    237       ParameterizeGrammar();
    238     }
    239 
    240     protected virtual void InitializeOperators() {
     236    private void OnArchitectureParameterChanged() {
     237      ParameterizeGrammar();
     238    }
     239
     240    private void InitializeOperators() {
    241241      Operators.AddRange(ApplicationManager.Manager.GetInstances<ISymbolicExpressionTreeOperator>().OfType<IOperator>());
    242242      Operators.Add(new MinAverageMaxSymbolicExpressionTreeSizeAnalyzer());
Note: See TracChangeset for help on using the changeset viewer.