Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/14/10 13:36:46 (14 years ago)
Author:
mkommend
Message:

Corrected item descriptions and added parameter descriptions for Problem and SingleObjectiveProblem (ticket #1232).

Location:
trunk/sources/HeuristicLab.Optimization/3.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Optimization/3.3/Problem.cs

    r4564 r4596  
    3131
    3232namespace HeuristicLab.Optimization {
    33   [Item("Problem", "Represents a the base class for a problem.")]
     33  [Item("Problem", "Represents the base class for a problem.")]
    3434  [StorableClass]
    3535  public abstract class Problem<T, U> : ParameterizedNamedItem, IProblem
  • trunk/sources/HeuristicLab.Optimization/3.3/SingleObjectiveProblem.cs

    r4564 r4596  
    2626
    2727namespace HeuristicLab.Optimization {
    28   [Item("Single Objective Problem", "Represents a the base class for a single objective problem.")]
     28  [Item("Single Objective Problem", "Represents the base class for a single objective problem.")]
    2929  [StorableClass]
    3030  public abstract class SingleObjectiveProblem<T, U> : Problem<T, U>, ISingleObjectiveProblem
     
    3636    protected SingleObjectiveProblem()
    3737      : base() {
    38       Parameters.Add(new ValueParameter<BoolValue>(MaximizationParameterName));
    39       Parameters.Add(new ValueParameter<DoubleValue>(BestKnownQualityParameterName));
     38      Parameters.Add(new ValueParameter<BoolValue>(MaximizationParameterName, "Set to false if the problem should be minimized."));
     39      Parameters.Add(new ValueParameter<DoubleValue>(BestKnownQualityParameterName, "The quality of the best known solution of this problem."));
    4040    }
    4141    [StorableConstructor]
Note: See TracChangeset for help on using the changeset viewer.