Free cookie consent management tool by TermsFeed Policy Generator

Changeset 9098


Ignore:
Timestamp:
01/03/13 14:37:31 (12 years ago)
Author:
gkronber
Message:

#2000: renamed parameter properties

Location:
trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/GaussianProcess
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/GaussianProcess/GaussianProcessClassification.cs

    r9096 r9098  
    5353
    5454    #region parameter properties
    55     public IConstrainedValueParameter<IGaussianProcessClassificationModelCreator> ModelCreatorParameter {
     55    public IConstrainedValueParameter<IGaussianProcessClassificationModelCreator> GaussianProcessModelCreatorParameter {
    5656      get { return (IConstrainedValueParameter<IGaussianProcessClassificationModelCreator>)Parameters[ModelCreatorParameterName]; }
    5757    }
    58     public IFixedValueParameter<GaussianProcessClassificationSolutionCreator> SolutionCreatorParameter {
     58    public IFixedValueParameter<GaussianProcessClassificationSolutionCreator> GaussianProcessSolutionCreatorParameter {
    5959      get { return (IFixedValueParameter<GaussianProcessClassificationSolutionCreator>)Parameters[SolutionCreatorParameterName]; }
    6060    }
     
    8787
    8888      ParameterizedModelCreators();
    89       ParameterizeSolutionCreator(SolutionCreatorParameter.Value);
     89      ParameterizeSolutionCreator(GaussianProcessSolutionCreatorParameter.Value);
    9090      RegisterEventHandlers();
    9191    }
     
    103103    #region events
    104104    private void RegisterEventHandlers() {
    105       ModelCreatorParameter.ValueChanged += ModelCreatorParameter_ValueChanged;
     105      GaussianProcessModelCreatorParameter.ValueChanged += ModelCreatorParameter_ValueChanged;
    106106    }
    107107
    108108    private void ModelCreatorParameter_ValueChanged(object sender, EventArgs e) {
    109       ParameterizedModelCreator(ModelCreatorParameter.Value);
     109      ParameterizedModelCreator(GaussianProcessModelCreatorParameter.Value);
    110110    }
    111111    #endregion
    112112
    113113    private void ParameterizedModelCreators() {
    114       foreach (var creator in ModelCreatorParameter.ValidValues) {
     114      foreach (var creator in GaussianProcessModelCreatorParameter.ValidValues) {
    115115        ParameterizedModelCreator(creator);
    116116      }
  • trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/GaussianProcess/GaussianProcessRegression.cs

    r9096 r9098  
    5353
    5454    #region parameter properties
    55     public IConstrainedValueParameter<IGaussianProcessRegressionModelCreator> ModelCreatorParameter {
     55    public IConstrainedValueParameter<IGaussianProcessRegressionModelCreator> GaussianProcessModelCreatorParameter {
    5656      get { return (IConstrainedValueParameter<IGaussianProcessRegressionModelCreator>)Parameters[ModelCreatorParameterName]; }
    5757    }
    58     public IFixedValueParameter<GaussianProcessRegressionSolutionCreator> SolutionCreatorParameter {
     58    public IFixedValueParameter<GaussianProcessRegressionSolutionCreator> GaussianProcessSolutionCreatorParameter {
    5959      get { return (IFixedValueParameter<GaussianProcessRegressionSolutionCreator>)Parameters[SolutionCreatorParameterName]; }
    6060    }
     
    8787
    8888      ParameterizedModelCreators();
    89       ParameterizeSolutionCreator(SolutionCreatorParameter.Value);
     89      ParameterizeSolutionCreator(GaussianProcessSolutionCreatorParameter.Value);
    9090      RegisterEventHandlers();
    9191    }
     
    103103    #region events
    104104    private void RegisterEventHandlers() {
    105       ModelCreatorParameter.ValueChanged += ModelCreatorParameter_ValueChanged;
     105      GaussianProcessModelCreatorParameter.ValueChanged += ModelCreatorParameter_ValueChanged;
    106106    }
    107107
    108108    private void ModelCreatorParameter_ValueChanged(object sender, EventArgs e) {
    109       ParameterizedModelCreator(ModelCreatorParameter.Value);
     109      ParameterizedModelCreator(GaussianProcessModelCreatorParameter.Value);
    110110    }
    111111    #endregion
    112112
    113113    private void ParameterizedModelCreators() {
    114       foreach (var creator in ModelCreatorParameter.ValidValues) {
     114      foreach (var creator in GaussianProcessModelCreatorParameter.ValidValues) {
    115115        ParameterizedModelCreator(creator);
    116116      }
Note: See TracChangeset for help on using the changeset viewer.