Free cookie consent management tool by TermsFeed Policy Generator

Changeset 11029


Ignore:
Timestamp:
06/20/14 15:39:52 (10 years ago)
Author:
mkommend
Message:

#2082: Implemented reviewer comments for the MATLAB parameter optimization problem.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.ExternalEvaluation Scientific/HeuristicLab.Problems.ExternalEvaluation.Matlab/3.3/MatlabParameterOptimizationProblem.cs

    r10594 r11029  
    3434    private const string QualityVariableParameterName = "QualityVariableName";
    3535    private const string MatlabEvaluationScriptParameterName = "MATLABEvaluationScript";
     36    private const string MatlabInitializationScriptParameterName = "MATLABInitializationScript";
    3637
    3738    #region parameters
     
    4142    public IFixedValueParameter<TextFileValue> MatlabEvaluationScriptParameter {
    4243      get { return (IFixedValueParameter<TextFileValue>)Parameters[MatlabEvaluationScriptParameterName]; }
     44    }
     45    public IFixedValueParameter<TextFileValue> MatlabInitializationScriptParameter {
     46      get { return (IFixedValueParameter<TextFileValue>)Parameters[MatlabInitializationScriptParameterName]; }
    4347    }
    4448    #endregion
     
    5155    public TextFileValue MatlabEvaluationScript {
    5256      get { return MatlabEvaluationScriptParameter.Value; }
     57    }
     58    public TextFileValue MatlabInitializationScript {
     59      get { return MatlabInitializationScriptParameter.Value; }
    5360    }
    5461    #endregion
     
    6774      Parameters.Add(new FixedValueParameter<StringValue>(QualityVariableParameterName, "The name of the quality variable of the MATLAB script.", new StringValue("quality")));
    6875      Parameters.Add(new FixedValueParameter<TextFileValue>(MatlabEvaluationScriptParameterName, "The path to the MATLAB evaluation script.", new TextFileValue()));
     76      Parameters.Add(new FixedValueParameter<TextFileValue>(MatlabInitializationScriptParameterName, "The path to a MATLAB script the should be execute before the evaluation starts.", new TextFileValue()));
    6977
    7078      MatlabEvaluationScript.FileDialogFilter = @"MATLAB Scripts|*.m|All files|*.*";
Note: See TracChangeset for help on using the changeset viewer.