Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/17/15 12:15:00 (8 years ago)
Author:
pfleck
Message:

#2269 Fixed typos and renamed some stuff suggested by ascheibe and adapted project for mono.

  • The initialization of layer 0 is done similar to other algorithms where general initialization is done in the algorithm itself and variables used and produced during the main-loop is initialized in the main-loop-operator.
  • The GeneralizedRankSelector is used as default selector because it generally works the best (rank compensates the large quality range of multiple layers and high selection pressure via pressure-parameter). Proportional selection performs very badly because the selection pressure is too low for ALPS.
  • Concerning ReduceToPopulationSize in the EldersEmigrator, the behavior it is not completely clear in the original paper. Reducing the population to the population size seems the more logical way, therefore it is default. An empty layer could happen in extremely rare situations, but it never happens to me so far.
  • Concerning opening a new layer, when taking a closer look at the ages, all individual tends to be as old as possible, in the standard version with AgeInheritance==1. That means they usually get too old in exactly after the generation the AgeLimits for the current last layer states. This way it is not necessary to check if any individual becomes too old for the current last layer. For AgeInheritance<1 it can happen that there would actually be no need to open a new layer; however, it will be opened anyway.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ALPS/HeuristicLab.Algorithms.ALPS/3.3/EldersSelector.cs

    r13127 r13206  
    3131namespace HeuristicLab.Algorithms.ALPS {
    3232
    33   [Item("EldersSelector", "Select all individuals which are to old for their current layer.")]
     33  [Item("EldersSelector", "Select all individuals which are too old for their current layer.")]
    3434  [StorableClass]
    3535  public sealed class EldersSelector : Selector {
     
    5858      : base() {
    5959      Parameters.Add(new ScopeTreeLookupParameter<DoubleValue>("Age", "The age of individuals."));
    60       Parameters.Add(new LookupParameter<IntArray>("AgeLimits", "The maximum ages for the Layers."));
     60      Parameters.Add(new LookupParameter<IntArray>("AgeLimits", "The maximum age an individual is allowed to reach in a certain layer."));
    6161      Parameters.Add(new LookupParameter<IntValue>("NumberOfLayers", "The number of layers."));
    62       Parameters.Add(new LookupParameter<IntValue>("Layer", "The number of the current Layer."));
     62      Parameters.Add(new LookupParameter<IntValue>("Layer", "The number of the current layer."));
    6363    }
    6464
Note: See TracChangeset for help on using the changeset viewer.