Changes between Initial Version and Version 1 of Ticket #1669, comment 5
- Timestamp:
- 11/09/11 08:39:01 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1669, comment 5
initial v1 1 1 r6973: please use the classes in `HeuristicLab.Random` to sample from uniform and normal distributions. 2 2 3 Also, I think the class `StepDistribution` is dubious. The class is used to generate sequences of double values with a interval. This definition is very different from the definition of sampling from a random distribution. Sampling from random distributions is independent and non-deterministic, but taking a value from the `StepDistribution` is dependent on the previous value and also it is deterministic. Please remove class `StepDistribution` and implement the functionality in a different way. An idea could be to implement something like `Enumerable.Range()` or `Enumerable.Repeat()`.3 Also, I think the class `StepDistribution` is dubious. The class is used to generate sequences of double values with a fixed interval. This definition is completely different from the definition of sampling from a random distribution. Sampling from random distributions is independent and non-deterministic, but taking a value from the `StepDistribution` is dependent on the previous value and also it is deterministic. Please remove class `StepDistribution` and implement the functionality in a different way. An idea could be to implement something like `Enumerable.Range()` or `Enumerable.Repeat()`.