Free cookie consent management tool by TermsFeed Policy Generator

Changeset 4052


Ignore:
Timestamp:
07/20/10 11:21:34 (14 years ago)
Author:
abeham
Message:

#1040

  • Added maximization parameter in constructor
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Algorithms.NSGA2/3.3/CrowdedTournamentSelector.cs

    r4045 r4052  
    6565    public CrowdedTournamentSelector()
    6666      : base() {
     67      Parameters.Add(new LookupParameter<BoolArray>("Maximization", "For each objective determines whether it should be maximized or minimized."));
     68      Parameters.Add(new ValueLookupParameter<IntValue>("NumberOfSelectedSubScopes", "The number of sub-scopes that should be selected."));
     69      Parameters.Add(new ValueParameter<BoolValue>("CopySelected", "True if the selected scopes are to be copied (cloned) otherwise they're moved."));
     70      Parameters.Add(new LookupParameter<IRandom>("Random", "The random number generator."));
    6771      Parameters.Add(new ScopeTreeLookupParameter<DoubleArray>("Qualities", "The solutions' qualities vector."));
    6872      Parameters.Add(new ScopeTreeLookupParameter<IntValue>("Rank", "The solutions' domination rank."));
    6973      Parameters.Add(new ScopeTreeLookupParameter<DoubleValue>("CrowdingDistance", "The solutions' crowding distance values."));
    70       Parameters.Add(new ValueParameter<BoolValue>("CopySelected", "True if the selected scopes are to be copied (cloned) otherwise they're moved."));
    71       Parameters.Add(new ValueLookupParameter<IntValue>("NumberOfSelectedSubScopes", "The number of sub-scopes that should be selected."));
    72       Parameters.Add(new LookupParameter<IRandom>("Random", "The random number generator."));
    7374      Parameters.Add(new ValueLookupParameter<IntValue>("GroupSize", "The size of the group from which the best will be chosen.", new IntValue(2)));
    7475    }
Note: See TracChangeset for help on using the changeset viewer.