Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/30/14 11:49:08 (9 years ago)
Author:
ascheibe
Message:

#2267 added crossover selection operators

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/VOSGA/HeuristicLab.Algorithms.VOffspringSelectionGeneticAlgorithm/OffspringSelectors/StandardOffspringSelector.cs

    r11510 r11511  
    3131  [Item("StandardOffspringSelector", "Selects among the offspring population those that are designated successful and discards the unsuccessful offspring, except for some lucky losers. It expects the parent scopes to be below the first sub-scope, and offspring scopes to be below the second sub-scope separated again in two sub-scopes, the first with the failed offspring and the second with successful offspring.")]
    3232  [StorableClass]
    33   public class StandardOffspringSelector : SingleSuccessorOperator, IOffspringSelector {
     33  public class StandardOffspringSelector : InstrumentedOperator, IOffspringSelector {
    3434    public ValueLookupParameter<DoubleValue> MaximumSelectionPressureParameter {
    3535      get { return (ValueLookupParameter<DoubleValue>)Parameters["MaximumSelectionPressure"]; }
     
    9191    }
    9292
    93     public override IOperation Apply() {
     93    public override IOperation InstrumentedApply() {
    9494      double maxSelPress = MaximumSelectionPressureParameter.ActualValue.Value;
    9595      double successRatio = SuccessRatioParameter.ActualValue.Value;
     
    192192        EnoughChildrenGeneratedParameter.ActualValue.Value = true;
    193193      }
    194       return base.Apply();
     194      return base.InstrumentedApply();
    195195    }
    196196  }
Note: See TracChangeset for help on using the changeset viewer.