Changeset 8027 for branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Operators/Manipulators
- Timestamp:
- 06/18/12 10:16:59 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Operators/Manipulators/IntValue/UniformIntValueManipulator.cs
r6038 r8027 38 38 do { 39 39 vector[0] = val; 40 UniformOnePositionManipulator.Apply(random, vector, range.LowerBound, new IntValue(range.UpperBound.Value + 1));40 UniformOnePositionManipulator.Apply(random, vector, new IntMatrix(new int[,] { { range.LowerBound.Value, range.UpperBound.Value } } )); 41 41 value.Value = vector[0]; 42 42 value.Value = range.ApplyStepSize(value.Value);
Note: See TracChangeset
for help on using the changeset viewer.