Opened 13 years ago
Last modified 12 years ago
#1848 closed enhancement
Integrate useful enumerable extension methods — at Initial Version
Reported by: | abeham | Owned by: | abeham |
---|---|---|---|
Priority: | medium | Milestone: | HeuristicLab 3.3.7 |
Component: | General | Version: | 3.3.7 |
Keywords: | Cc: | mkommend |
Description
For HeuristicLab.Random:
- T SampleRandom<T>(IRandom random)
- IEnumerable<T> SampleRandom<T>(IRandom random, int count)
- IEnumerable<T> SampleRandomWithoutRepetition<T>(IRandom random, int count)
- IEnumerable<T> SampleProportional<T>(IRandom random, int count, IEnumerable<double> weights, bool windowing = true, bool inverseProportional = false)
- IEnumerable<T> SampleProportionalWithoutRepetition<T>(IRandom random, int count, Func<T, double> valueSelector, bool windowing = true, bool inverseProportional = false)
- IEnumerable<T> Shuffle<T>(IRandom random)
For HeuristicLab.Common:
- IEnumerable<T> MaxItems<T>(Func<T, IComparable> keySelector)
- IEnumerable<T> MinItems<T>(Func<T, IComparable> keySelector)
- T[,] Transpose() where T : default
Note: See
TracTickets for help on using
tickets.