Free cookie consent management tool by TermsFeed Policy Generator

Changeset 12886


Ignore:
Timestamp:
08/19/15 15:22:19 (9 years ago)
Author:
pfleck
Message:

#2466 Use the CurrentMaximumSelectionPressure instead of the MaximumSelectionPressure to determine termination.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Algorithms.OffspringSelectionGeneticAlgorithm/3.3/SASEGASAMainLoop.cs

    r12012 r12886  
    266266      villageResultsCollector2.ResultsParameter.ActualName = "Results";
    267267
    268       villageSelectionPressureComparator.Name = "SelectionPressure >= MaximumSelectionPressure ?";
     268      villageSelectionPressureComparator.Name = "SelectionPressure >= CurrentMaximumSelectionPressure ?";
    269269      villageSelectionPressureComparator.LeftSideParameter.ActualName = "SelectionPressure";
    270270      villageSelectionPressureComparator.Comparison = new Comparison(ComparisonType.GreaterOrEqual);
    271       villageSelectionPressureComparator.RightSideParameter.ActualName = MaximumSelectionPressureParameter.Name;
     271      villageSelectionPressureComparator.RightSideParameter.ActualName = "CurrentMaximumSelectionPressure";
    272272      villageSelectionPressureComparator.ResultParameter.ActualName = "TerminateSelectionPressure";
    273273
Note: See TracChangeset for help on using the changeset viewer.