- Timestamp:
- 10/21/15 17:42:18 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ALPS/HeuristicLab.Algorithms.ALPS/3.3/LayerCreator.cs
r13037 r13046 35 35 [StorableClass] 36 36 public sealed class LayerCreator : SingleSuccessorOperator { 37 38 /*private static readonly ISet<string> SavedVariables = new HashSet<string>{39 "LocalRandom", "Layer", "LayerEvaluatedSolutions", "NumSubScopes"40 };*/41 42 37 private ILookupParameter<IntValue> OpenLayersParameter { 43 38 get { return (ILookupParameter<IntValue>)Parameters["OpenLayers"]; } … … 78 73 // Decrement ages, because MainOperator is goint to increment it 79 74 foreach (var solution in clone.SubScopes) 80 (( IntValue)solution.Variables["Age"].Value).Value -= 1;75 ((DoubleValue)solution.Variables["Age"].Value).Value -= 1; 81 76 82 77 // 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.