Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/05/13 15:28:06 (11 years ago)
Author:
mkommend
Message:

#2038: Added backwards compatibility regions into the modified algorithms for elites reevaluation.

Location:
trunk/sources/HeuristicLab.Algorithms.EvolutionStrategy/3.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Algorithms.EvolutionStrategy/3.3/EvolutionStrategyMainLoop.cs

    r9569 r9591  
    111111      : base() {
    112112      Initialize();
     113    }
     114
     115    [StorableHook(HookType.AfterDeserialization)]
     116    private void AfterDeserialization() {
     117      #region Backwards compatible code, remove with 3.4
     118      if (!Parameters.ContainsKey("ReevaluateElites")) {
     119        Parameters.Add(new ValueLookupParameter<BoolValue>("ReevaluateElites", "Flag to determine if elite individuals should be reevaluated (i.e., if stochastic fitness functions are used.)"));
     120      }
     121      #endregion
    113122    }
    114123
Note: See TracChangeset for help on using the changeset viewer.