Free cookie consent management tool by TermsFeed Policy Generator

Changeset 10190


Ignore:
Timestamp:
12/04/13 15:01:26 (10 years ago)
Author:
mkommend
Message:

#2082: Added BestSolutionsAnalyzer for ParameterOptimizationProblems.

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  
    4444    private const string BestSolutionResultName = "Best Solution";
    4545
    46 
    4746    public virtual bool EnabledByDefault {
    4847      get { return true; }
     
    8382      Parameters.Add(new LookupParameter<BoolValue>(MaximizationParameterName, "True if the problem is a maximization problem."));
    8483      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 a parameter vector."));
    86       Parameters.Add(new ScopeTreeLookupParameter<DoubleValue>(QualityParameterName, "The quality name for the SciLab parameter 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."));
    8786      Parameters.Add(new LookupParameter<DoubleValue>(BestQualityParameterName, "The best quality found so far."));
    8887      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 parameter should be stored."));
     88      Parameters.Add(new ValueLookupParameter<ResultCollection>(ResultsParameterName, "The result collection where the results should be stored."));
    9089    }
    9190
  • branches/HeuristicLab.ExternalEvaluation Scientific/HeuristicLab.Problems.ParameterOptimization/3.3/HeuristicLab.Problems.ParameterOptimization.csproj

    r10094 r10190  
    8888  <ItemGroup>
    8989    <Compile Include="BestSolutionAnalyzer.cs" />
     90    <Compile Include="BestSolutionsAnalyzer.cs" />
    9091    <Compile Include="IParameterVectorEvaluator.cs" />
    9192    <Compile Include="ParameterOptimizationProblem.cs" />
  • branches/HeuristicLab.ExternalEvaluation Scientific/HeuristicLab.Problems.ParameterOptimization/3.3/ParameterOptimizationProblem.cs

    r9698 r10190  
    9595      Parameters.Add(new FixedValueParameter<IntValue>(ProblemSizeParameterName, "The dimension of the parameter vector that is to be optimized.", new IntValue(1)));
    9696      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 script to 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" })));
    9898
    9999      SolutionCreator.LengthParameter.ActualName = "ProblemSize";
     
    112112      Operators.Add(strategyVectorManipulator);
    113113      Operators.Add(new BestSolutionAnalyzer());
     114      Operators.Add(new BestSolutionsAnalyzer());
    114115      UpdateParameters();
    115116      UpdateStrategyVectorBounds();
Note: See TracChangeset for help on using the changeset viewer.