Changeset 9715 for branches/HeuristicLab.ExternalEvaluation Scientific/HeuristicLab.Problems.ExternalEvaluation.Matlab/3.3/MatlabParameterOptimizationProblem.cs
- Timestamp:
- 07/17/13 13:38:25 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.ExternalEvaluation Scientific/HeuristicLab.Problems.ExternalEvaluation.Matlab/3.3/MatlabParameterOptimizationProblem.cs
r9690 r9715 39 39 get { return (IFixedValueParameter<StringValue>)Parameters[QualityVariableParameterName]; } 40 40 } 41 public IFixedValueParameter<TextFile > MatlabEvaluationScriptParameter {42 get { return (IFixedValueParameter<TextFile >)Parameters[MatlabEvaluationScriptParameterName]; }41 public IFixedValueParameter<TextFileValue> MatlabEvaluationScriptParameter { 42 get { return (IFixedValueParameter<TextFileValue>)Parameters[MatlabEvaluationScriptParameterName]; } 43 43 } 44 44 #endregion … … 49 49 set { QualityVariableParameter.Value.Value = value; } 50 50 } 51 public TextFile MatlabEvaluationScript {51 public TextFileValue MatlabEvaluationScript { 52 52 get { return MatlabEvaluationScriptParameter.Value; } 53 53 } … … 66 66 : base(new MatlabParameterVectorEvaluator()) { 67 67 Parameters.Add(new FixedValueParameter<StringValue>(QualityVariableParameterName, "The name of the quality variable of the SciLab script.", new StringValue("quality"))); 68 Parameters.Add(new FixedValueParameter<TextFile >(MatlabEvaluationScriptParameterName, "The path to the Matlab evaluation script.", new TextFile()));68 Parameters.Add(new FixedValueParameter<TextFileValue>(MatlabEvaluationScriptParameterName, "The path to the Matlab evaluation script.", new TextFileValue())); 69 69 70 70 MatlabEvaluationScript.FileDialogFilter = @"Matlab Scripts|*.m|All files|*.*";
Note: See TracChangeset
for help on using the changeset viewer.