Changeset 470 for trunk/sources/HeuristicLab.Functions/Variable.cs
- Timestamp:
- 08/08/08 21:14:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Functions/Variable.cs
r468 r470 88 88 UniformRandomizer indexRandomizer = new UniformRandomizer(); 89 89 indexRandomizer.Min = minIndex; 90 indexRandomizer.Max = maxIndex ;90 indexRandomizer.Max = maxIndex + 1; // uniform randomizer generates numbers in the range [min, max[ 91 91 indexRandomizer.GetVariableInfo("Value").ActualName = INDEX; 92 92 indexRandomizer.Name = "Index Randomizer"; … … 98 98 UniformRandomizer offsetRandomizer = new UniformRandomizer(); 99 99 offsetRandomizer.Min = minOffset; 100 offsetRandomizer.Max = maxOffset ;100 offsetRandomizer.Max = maxOffset + 1; 101 101 offsetRandomizer.GetVariableInfo("Value").ActualName = OFFSET; 102 102 offsetRandomizer.Name = "Offset Randomizer"; … … 124 124 UniformRandomizer indexRandomizer = new UniformRandomizer(); 125 125 indexRandomizer.Min = minIndex; 126 indexRandomizer.Max = maxIndex ;126 indexRandomizer.Max = maxIndex + 1; 127 127 indexRandomizer.GetVariableInfo("Value").ActualName = INDEX; 128 128 indexRandomizer.Name = "Index Randomizer";
Note: See TracChangeset
for help on using the changeset viewer.