Changeset 10190
- Timestamp:
- 12/04/13 15:01:26 (11 years ago)
- Location:
- branches/HeuristicLab.ExternalEvaluation Scientific/HeuristicLab.Problems.ParameterOptimization/3.3
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.ExternalEvaluation Scientific/HeuristicLab.Problems.ParameterOptimization/3.3/BestSolutionAnalyzer.cs
r9682 r10190 44 44 private const string BestSolutionResultName = "Best Solution"; 45 45 46 47 46 public virtual bool EnabledByDefault { 48 47 get { return true; } … … 83 82 Parameters.Add(new LookupParameter<BoolValue>(MaximizationParameterName, "True if the problem is a maximization problem.")); 84 83 Parameters.Add(new ScopeTreeLookupParameter<RealVector>(ParameterVectorParameterName, "The parameter vector which should be evaluated.")); 85 Parameters.Add(new LookupParameter<StringArray>(ParameterNamesParameterName, "The names which are used within the SciLab script to calculate the quality of aparameter vector."));86 Parameters.Add(new ScopeTreeLookupParameter<DoubleValue>(QualityParameterName, "The quality name for the SciLabparameter vectors."));84 Parameters.Add(new LookupParameter<StringArray>(ParameterNamesParameterName, "The names of the elements in the parameter vector.")); 85 Parameters.Add(new ScopeTreeLookupParameter<DoubleValue>(QualityParameterName, "The quality name for the parameter vectors.")); 87 86 Parameters.Add(new LookupParameter<DoubleValue>(BestQualityParameterName, "The best quality found so far.")); 88 87 Parameters.Add(new LookupParameter<DoubleValue>(BestKnownQualityParameterName, "The quality of the best known solution.")); 89 Parameters.Add(new ValueLookupParameter<ResultCollection>(ResultsParameterName, "The result collection where the SciLab parametershould be stored."));88 Parameters.Add(new ValueLookupParameter<ResultCollection>(ResultsParameterName, "The result collection where the results should be stored.")); 90 89 } 91 90 -
branches/HeuristicLab.ExternalEvaluation Scientific/HeuristicLab.Problems.ParameterOptimization/3.3/HeuristicLab.Problems.ParameterOptimization.csproj
r10094 r10190 88 88 <ItemGroup> 89 89 <Compile Include="BestSolutionAnalyzer.cs" /> 90 <Compile Include="BestSolutionsAnalyzer.cs" /> 90 91 <Compile Include="IParameterVectorEvaluator.cs" /> 91 92 <Compile Include="ParameterOptimizationProblem.cs" /> -
branches/HeuristicLab.ExternalEvaluation Scientific/HeuristicLab.Problems.ParameterOptimization/3.3/ParameterOptimizationProblem.cs
r9698 r10190 95 95 Parameters.Add(new FixedValueParameter<IntValue>(ProblemSizeParameterName, "The dimension of the parameter vector that is to be optimized.", new IntValue(1))); 96 96 Parameters.Add(new ValueParameter<DoubleMatrix>(BoundsParameterName, "The bounds for each dimension of the parameter vector. If fewer bounds are", new DoubleMatrix(new double[,] { { 0, 100 } }, new string[] { "LowerBound", "UpperBound" }))); 97 Parameters.Add(new ValueParameter<StringArray>(ParameterNamesParameterName, "The names which are used within the SciLab scriptto calculate the quality of a parameter vector.", new StringArray(new string[] { "Parameter0" })));97 Parameters.Add(new ValueParameter<StringArray>(ParameterNamesParameterName, "The element names which are used to calculate the quality of a parameter vector.", new StringArray(new string[] { "Parameter0" }))); 98 98 99 99 SolutionCreator.LengthParameter.ActualName = "ProblemSize"; … … 112 112 Operators.Add(strategyVectorManipulator); 113 113 Operators.Add(new BestSolutionAnalyzer()); 114 Operators.Add(new BestSolutionsAnalyzer()); 114 115 UpdateParameters(); 115 116 UpdateStrategyVectorBounds();
Note: See TracChangeset
for help on using the changeset viewer.