Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/21/15 17:42:18 (9 years ago)
Author:
pfleck
Message:

#2269

  • Changed the age type from int to double.
  • Changed EldersSelector to make use of a ScopeTreeLookupParameter.
  • Removed unused operators in LayerUpdator.
File:
1 edited

Legend:

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

    r13037 r13046  
    3535  [StorableClass]
    3636  public sealed class LayerCreator : SingleSuccessorOperator {
    37 
    38     /*private static readonly ISet<string> SavedVariables = new HashSet<string>{
    39       "LocalRandom", "Layer", "LayerEvaluatedSolutions", "NumSubScopes"
    40     };*/
    41 
    4237    private ILookupParameter<IntValue> OpenLayersParameter {
    4338      get { return (ILookupParameter<IntValue>)Parameters["OpenLayers"]; }
     
    7873      // Decrement ages, because MainOperator is goint to increment it
    7974      foreach (var solution in clone.SubScopes)
    80         ((IntValue)solution.Variables["Age"].Value).Value -= 1;
     75        ((DoubleValue)solution.Variables["Age"].Value).Value -= 1;
    8176
    8277      // Reset existing values in the results to NaN to symbolize that no layer existed during that duration
Note: See TracChangeset for help on using the changeset viewer.