Changeset 14420 for branches/ScopedBasicAlgorithm/HeuristicLab.Random/3.3
- Timestamp:
- 11/26/16 01:54:34 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ScopedBasicAlgorithm/HeuristicLab.Random/3.3/RandomEnumerable.cs
r14185 r14420 212 212 } 213 213 214 p rivatestatic double[] PrepareProportional(IEnumerable<double> weights, bool windowing, bool inverseProportional) {214 public static double[] PrepareProportional(IEnumerable<double> weights, bool windowing, bool inverseProportional) { 215 215 double maxValue = double.MinValue, minValue = double.MaxValue; 216 216 double[] valueArray = weights.ToArray();
Note: See TracChangeset
for help on using the changeset viewer.