Free cookie consent management tool by TermsFeed Policy Generator

Changeset 3067


Ignore:
Timestamp:
03/16/10 16:38:51 (14 years ago)
Author:
svonolfe
Message:

Updated OneMax problem (#916)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.OneMax/3.3/Onemax.cs

    r3065 r3067  
    9595      OneMaxEvaluator evaluator = new OneMaxEvaluator();
    9696
    97       Parameters.Add(new ValueParameter<BoolValue>("Maximization", "Set to false as the OneMax Problem is a minimization problem.", new BoolValue(true)));
     97      Parameters.Add(new ValueParameter<BoolValue>("Maximization", "Set to true as the OneMax Problem is a maximization problem.", new BoolValue(true)));
    9898      Parameters.Add(new ValueParameter<IntValue>("Length", "The length of the BinaryVector.", new IntValue(5)));
    9999      Parameters.Add(new ValueParameter<IBinaryVectorCreator>("SolutionCreator", "The operator which should be used to create new OneMax solutions.", creator));
Note: See TracChangeset for help on using the changeset viewer.