Changeset 12039
- Timestamp:
- 02/19/15 12:52:41 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ALPS/HeuristicLab.Algorithms.ALPS/3.3/LayerUniformSubScopesProcessor.cs
r12035 r12039 20 20 #endregion 21 21 22 using System; 22 23 using System.Collections; 23 24 using System.Collections.Generic; … … 61 62 for (int i = 0; i < scopes.Count; i++) { 62 63 var layerParameters = new LayerIntermediateParameter { 63 new ValueParameter<IntValue>(PopulationSizeParameter.ActualName, new IntValue(PopulationSizeParameter.ActualValue[ i]))64 new ValueParameter<IntValue>(PopulationSizeParameter.ActualName, new IntValue(PopulationSizeParameter.ActualValue[Math.Min(i, PopulationSizeParameter.ActualValue.Length - 1)])) 64 65 }; 65 66 var immediateContext = new ExecutionContext(ExecutionContext.Parent, layerParameters, scopes[i]);
Note: See TracChangeset
for help on using the changeset viewer.