Click or drag to resize
RandomListAccess Class
A static class of extension methods for generating random indices, typically for accessing collections using a zero-based indexing scheme.
Inheritance Hierarchy
SystemObject
  Experilous.MakeItRandomRandomListAccess

Namespace: Experilous.MakeItRandom
Assembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntax
C#
public static class RandomListAccess

The RandomListAccess type exposes the following members.

Methods
  NameDescription
Public methodStatic memberElementTElement
Returns a uniformly selected random element from list.
Public methodStatic memberIndex(IRandom, Int32)
Returns a uniformly distributed random index in the range [0, length), suitable for indexing into a collection with a corresponding length.
Public methodStatic memberIndex(IRandom, Int64)
Returns a uniformly distributed random index in the range [0, length), suitable for indexing into a collection with a corresponding length.
Public methodStatic memberIndex(IRandom, UInt32)
Returns a uniformly distributed random index in the range [0, length), suitable for indexing into a collection with a corresponding length.
Public methodStatic memberIndex(IRandom, UInt64)
Returns a uniformly distributed random index in the range [0, length), suitable for indexing into a collection with a corresponding length.
Public methodStatic memberIndexTElement(IRandom, IListTElement)
Returns a uniformly distributed random index in the range [0, list.Count), suitable for indexing into list.
Public methodStatic memberMakeElementGeneratorTElement
Returns an element generator which will return elements from list with an equally weighted distribution.
Public methodStatic memberMakeIndexGenerator(IRandom, Int32)
Returns a range generator which will produce uniformly distributed random indices in the range [0, length), suitable for indexing into a collection with a corresponding length.
Public methodStatic memberMakeIndexGenerator(IRandom, Int64)
Returns a range generator which will produce uniformly distributed random indices in the range [0, length), suitable for indexing into a collection with a corresponding length.
Public methodStatic memberMakeIndexGenerator(IRandom, UInt32)
Returns a range generator which will produce uniformly distributed random indices in the range [0, length), suitable for indexing into a collection with a corresponding length.
Public methodStatic memberMakeIndexGenerator(IRandom, UInt64)
Returns a range generator which will produce uniformly distributed random indices in the range [0, length), suitable for indexing into a collection with a corresponding length.
Public methodStatic memberMakeIndexGeneratorTElement(IRandom, IListTElement)
Returns a range generator which will produce uniformly distributed random indices in the range [0, list.Count), suitable for indexing into list.
Public methodStatic memberMakeRandomElementGeneratorTElement
Returns an element generator which will return elements from list with an equally weighted distribution.
Public methodStatic memberMakeRandomIndexGeneratorTElement
Returns a range generator which will produce uniformly distributed random indices in the range [0, list.Count), suitable for indexing into list.
Public methodStatic memberMakeWeightedElementGeneratorTElement(IRandom, IListTElement, Byte)
Returns a weighted element generator which will return random elements from list, non-uniformly distributed according to weights.
Public methodStatic memberMakeWeightedElementGeneratorTElement(IRandom, IListTElement, Double)
Returns a weighted element generator which will return random elements from list, non-uniformly distributed according to weights.
Public methodStatic memberMakeWeightedElementGeneratorTElement(IRandom, IListTElement, FuncInt32, Byte)
Returns a weighted element generator which will return random elements from list, non-uniformly distributed according to the weights provided by weightsAccessor.
Public methodStatic memberMakeWeightedElementGeneratorTElement(IRandom, IListTElement, FuncInt32, Double)
Returns a weighted element generator which will return random elements from list, non-uniformly distributed according to the weights provided by weightsAccessor.
Public methodStatic memberMakeWeightedElementGeneratorTElement(IRandom, IListTElement, FuncInt32, Int16)
Returns a weighted element generator which will return random elements from list, non-uniformly distributed according to the weights provided by weightsAccessor.
Public methodStatic memberMakeWeightedElementGeneratorTElement(IRandom, IListTElement, FuncInt32, Int32)
Returns a weighted element generator which will return random elements from list, non-uniformly distributed according to the weights provided by weightsAccessor.
Public methodStatic memberMakeWeightedElementGeneratorTElement(IRandom, IListTElement, FuncInt32, Int64)
Returns a weighted element generator which will return random elements from list, non-uniformly distributed according to the weights provided by weightsAccessor.
Public methodStatic memberMakeWeightedElementGeneratorTElement(IRandom, IListTElement, FuncInt32, SByte)
Returns a weighted element generator which will return random elements from list, non-uniformly distributed according to the weights provided by weightsAccessor.
Public methodStatic memberMakeWeightedElementGeneratorTElement(IRandom, IListTElement, FuncInt32, Single)
Returns a weighted element generator which will return random elements from list, non-uniformly distributed according to the weights provided by weightsAccessor.
Public methodStatic memberMakeWeightedElementGeneratorTElement(IRandom, IListTElement, FuncInt32, UInt16)
Returns a weighted element generator which will return random elements from list, non-uniformly distributed according to the weights provided by weightsAccessor.
Public methodStatic memberMakeWeightedElementGeneratorTElement(IRandom, IListTElement, FuncInt32, UInt32)
Returns a weighted element generator which will return random elements from list, non-uniformly distributed according to the weights provided by weightsAccessor.
Public methodStatic memberMakeWeightedElementGeneratorTElement(IRandom, IListTElement, FuncInt32, UInt64)
Returns a weighted element generator which will return random elements from list, non-uniformly distributed according to the weights provided by weightsAccessor.
Public methodStatic memberMakeWeightedElementGeneratorTElement(IRandom, IListTElement, Int16)
Returns a weighted element generator which will return random elements from list, non-uniformly distributed according to weights.
Public methodStatic memberMakeWeightedElementGeneratorTElement(IRandom, IListTElement, Int32)
Returns a weighted element generator which will return random elements from list, non-uniformly distributed according to weights.
Public methodStatic memberMakeWeightedElementGeneratorTElement(IRandom, IListTElement, Int64)
Returns a weighted element generator which will return random elements from list, non-uniformly distributed according to weights.
Public methodStatic memberMakeWeightedElementGeneratorTElement(IRandom, IListTElement, SByte)
Returns a weighted element generator which will return random elements from list, non-uniformly distributed according to weights.
Public methodStatic memberMakeWeightedElementGeneratorTElement(IRandom, IListTElement, Single)
Returns a weighted element generator which will return random elements from list, non-uniformly distributed according to weights.
Public methodStatic memberMakeWeightedElementGeneratorTElement(IRandom, IListTElement, UInt16)
Returns a weighted element generator which will return random elements from list, non-uniformly distributed according to weights.
Public methodStatic memberMakeWeightedElementGeneratorTElement(IRandom, IListTElement, UInt32)
Returns a weighted element generator which will return random elements from list, non-uniformly distributed according to weights.
Public methodStatic memberMakeWeightedElementGeneratorTElement(IRandom, IListTElement, UInt64)
Returns a weighted element generator which will return random elements from list, non-uniformly distributed according to weights.
Public methodStatic memberMakeWeightedIndexGenerator(IRandom, Byte)
Returns a weighted index generator which will produce random indices in the range [0, weights.Length), non-uniformly distributed according to weights, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberMakeWeightedIndexGenerator(IRandom, Double)
Returns a weighted index generator which will produce random indices in the range [0, weights.Length), non-uniformly distributed according to weights, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberMakeWeightedIndexGenerator(IRandom, Int16)
Returns a weighted index generator which will produce random indices in the range [0, weights.Length), non-uniformly distributed according to weights, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberMakeWeightedIndexGenerator(IRandom, Int32)
Returns a weighted index generator which will produce random indices in the range [0, weights.Length), non-uniformly distributed according to weights, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberMakeWeightedIndexGenerator(IRandom, Int64)
Returns a weighted index generator which will produce random indices in the range [0, weights.Length), non-uniformly distributed according to weights, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberMakeWeightedIndexGenerator(IRandom, SByte)
Returns a weighted index generator which will produce random indices in the range [0, weights.Length), non-uniformly distributed according to weights, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberMakeWeightedIndexGenerator(IRandom, Single)
Returns a weighted index generator which will produce random indices in the range [0, weights.Length), non-uniformly distributed according to weights, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberMakeWeightedIndexGenerator(IRandom, UInt16)
Returns a weighted index generator which will produce random indices in the range [0, weights.Length), non-uniformly distributed according to weights, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberMakeWeightedIndexGenerator(IRandom, UInt32)
Returns a weighted index generator which will produce random indices in the range [0, weights.Length), non-uniformly distributed according to weights, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberMakeWeightedIndexGenerator(IRandom, UInt64)
Returns a weighted index generator which will produce random indices in the range [0, weights.Length), non-uniformly distributed according to weights, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberMakeWeightedIndexGenerator(IRandom, Int32, FuncInt32, Byte)
Returns a weighted index generator which will produce random indices in the range [0, elementCount), non-uniformly distributed according to the weights provided by weightsAccessor, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberMakeWeightedIndexGenerator(IRandom, Int32, FuncInt32, Double)
Returns a weighted index generator which will produce random indices in the range [0, elementCount), non-uniformly distributed according to the weights provided by weightsAccessor, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberMakeWeightedIndexGenerator(IRandom, Int32, FuncInt32, Int16)
Returns a weighted index generator which will produce random indices in the range [0, elementCount), non-uniformly distributed according to the weights provided by weightsAccessor, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberMakeWeightedIndexGenerator(IRandom, Int32, FuncInt32, Int32)
Returns a weighted index generator which will produce random indices in the range [0, elementCount), non-uniformly distributed according to the weights provided by weightsAccessor, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberMakeWeightedIndexGenerator(IRandom, Int32, FuncInt32, Int64)
Returns a weighted index generator which will produce random indices in the range [0, elementCount), non-uniformly distributed according to the weights provided by weightsAccessor, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberMakeWeightedIndexGenerator(IRandom, Int32, FuncInt32, SByte)
Returns a weighted index generator which will produce random indices in the range [0, elementCount), non-uniformly distributed according to the weights provided by weightsAccessor, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberMakeWeightedIndexGenerator(IRandom, Int32, FuncInt32, Single)
Returns a weighted index generator which will produce random indices in the range [0, elementCount), non-uniformly distributed according to the weights provided by weightsAccessor, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberMakeWeightedIndexGenerator(IRandom, Int32, FuncInt32, UInt16)
Returns a weighted index generator which will produce random indices in the range [0, elementCount), non-uniformly distributed according to the weights provided by weightsAccessor, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberMakeWeightedIndexGenerator(IRandom, Int32, FuncInt32, UInt32)
Returns a weighted index generator which will produce random indices in the range [0, elementCount), non-uniformly distributed according to the weights provided by weightsAccessor, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberMakeWeightedIndexGenerator(IRandom, Int32, FuncInt32, UInt64)
Returns a weighted index generator which will produce random indices in the range [0, elementCount), non-uniformly distributed according to the weights provided by weightsAccessor, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberMakeWeightedRandomElementGeneratorTElement(IListTElement, IRandom, Byte)
Returns a weighted element generator which will return random elements from list, non-uniformly distributed according to weights.
Public methodStatic memberMakeWeightedRandomElementGeneratorTElement(IListTElement, IRandom, Double)
Returns a weighted element generator which will return random elements from list, non-uniformly distributed according to weights.
Public methodStatic memberMakeWeightedRandomElementGeneratorTElement(IListTElement, IRandom, FuncInt32, Byte)
Returns a weighted element generator which will return random elements from list, non-uniformly distributed according to the weights provided by weightsAccessor.
Public methodStatic memberMakeWeightedRandomElementGeneratorTElement(IListTElement, IRandom, FuncInt32, Double)
Returns a weighted element generator which will return random elements from list, non-uniformly distributed according to the weights provided by weightsAccessor.
Public methodStatic memberMakeWeightedRandomElementGeneratorTElement(IListTElement, IRandom, FuncInt32, Int16)
Returns a weighted element generator which will return random elements from list, non-uniformly distributed according to the weights provided by weightsAccessor.
Public methodStatic memberMakeWeightedRandomElementGeneratorTElement(IListTElement, IRandom, FuncInt32, Int32)
Returns a weighted element generator which will return random elements from list, non-uniformly distributed according to the weights provided by weightsAccessor.
Public methodStatic memberMakeWeightedRandomElementGeneratorTElement(IListTElement, IRandom, FuncInt32, Int64)
Returns a weighted element generator which will return random elements from list, non-uniformly distributed according to the weights provided by weightsAccessor.
Public methodStatic memberMakeWeightedRandomElementGeneratorTElement(IListTElement, IRandom, FuncInt32, SByte)
Returns a weighted element generator which will return random elements from list, non-uniformly distributed according to the weights provided by weightsAccessor.
Public methodStatic memberMakeWeightedRandomElementGeneratorTElement(IListTElement, IRandom, FuncInt32, Single)
Returns a weighted element generator which will return random elements from list, non-uniformly distributed according to the weights provided by weightsAccessor.
Public methodStatic memberMakeWeightedRandomElementGeneratorTElement(IListTElement, IRandom, FuncInt32, UInt16)
Returns a weighted element generator which will return random elements from list, non-uniformly distributed according to the weights provided by weightsAccessor.
Public methodStatic memberMakeWeightedRandomElementGeneratorTElement(IListTElement, IRandom, FuncInt32, UInt32)
Returns a weighted element generator which will return random elements from list, non-uniformly distributed according to the weights provided by weightsAccessor.
Public methodStatic memberMakeWeightedRandomElementGeneratorTElement(IListTElement, IRandom, FuncInt32, UInt64)
Returns a weighted element generator which will return random elements from list, non-uniformly distributed according to the weights provided by weightsAccessor.
Public methodStatic memberMakeWeightedRandomElementGeneratorTElement(IListTElement, IRandom, Int16)
Returns a weighted element generator which will return random elements from list, non-uniformly distributed according to weights.
Public methodStatic memberMakeWeightedRandomElementGeneratorTElement(IListTElement, IRandom, Int32)
Returns a weighted element generator which will return random elements from list, non-uniformly distributed according to weights.
Public methodStatic memberMakeWeightedRandomElementGeneratorTElement(IListTElement, IRandom, Int64)
Returns a weighted element generator which will return random elements from list, non-uniformly distributed according to weights.
Public methodStatic memberMakeWeightedRandomElementGeneratorTElement(IListTElement, IRandom, SByte)
Returns a weighted element generator which will return random elements from list, non-uniformly distributed according to weights.
Public methodStatic memberMakeWeightedRandomElementGeneratorTElement(IListTElement, IRandom, Single)
Returns a weighted element generator which will return random elements from list, non-uniformly distributed according to weights.
Public methodStatic memberMakeWeightedRandomElementGeneratorTElement(IListTElement, IRandom, UInt16)
Returns a weighted element generator which will return random elements from list, non-uniformly distributed according to weights.
Public methodStatic memberMakeWeightedRandomElementGeneratorTElement(IListTElement, IRandom, UInt32)
Returns a weighted element generator which will return random elements from list, non-uniformly distributed according to weights.
Public methodStatic memberMakeWeightedRandomElementGeneratorTElement(IListTElement, IRandom, UInt64)
Returns a weighted element generator which will return random elements from list, non-uniformly distributed according to weights.
Public methodStatic memberRandomElementTElement
Returns a uniformly selected random element from list.
Public methodStatic memberRandomIndexTElement
Returns a uniformly selected random element from list.
Public methodStatic memberWeightedElementTElement(IRandom, IListTElement, Byte)
Returns a randomly selected element from list, non-uniformly distributed according to weights.
Public methodStatic memberWeightedElementTElement(IRandom, IListTElement, FuncInt32, Byte)
Returns a randomly selected element from list, non-uniformly distributed according to the weights provided by weightsAccessor.
Public methodStatic memberWeightedElementTElement(IRandom, IListTElement, FuncInt32, Int16)
Returns a randomly selected element from list, non-uniformly distributed according to the weights provided by weightsAccessor.
Public methodStatic memberWeightedElementTElement(IRandom, IListTElement, FuncInt32, Int32)
Returns a randomly selected element from list, non-uniformly distributed according to the weights provided by weightsAccessor.
Public methodStatic memberWeightedElementTElement(IRandom, IListTElement, FuncInt32, Int64)
Returns a randomly selected element from list, non-uniformly distributed according to the weights provided by weightsAccessor.
Public methodStatic memberWeightedElementTElement(IRandom, IListTElement, FuncInt32, SByte)
Returns a randomly selected element from list, non-uniformly distributed according to the weights provided by weightsAccessor.
Public methodStatic memberWeightedElementTElement(IRandom, IListTElement, FuncInt32, UInt16)
Returns a randomly selected element from list, non-uniformly distributed according to the weights provided by weightsAccessor.
Public methodStatic memberWeightedElementTElement(IRandom, IListTElement, FuncInt32, UInt32)
Returns a randomly selected element from list, non-uniformly distributed according to the weights provided by weightsAccessor.
Public methodStatic memberWeightedElementTElement(IRandom, IListTElement, FuncInt32, UInt64)
Returns a randomly selected element from list, non-uniformly distributed according to the weights provided by weightsAccessor.
Public methodStatic memberWeightedElementTElement(IRandom, IListTElement, Int16)
Returns a randomly selected element from list, non-uniformly distributed according to weights.
Public methodStatic memberWeightedElementTElement(IRandom, IListTElement, Int32)
Returns a randomly selected element from list, non-uniformly distributed according to weights.
Public methodStatic memberWeightedElementTElement(IRandom, IListTElement, Int64)
Returns a randomly selected element from list, non-uniformly distributed according to weights.
Public methodStatic memberWeightedElementTElement(IRandom, IListTElement, SByte)
Returns a randomly selected element from list, non-uniformly distributed according to weights.
Public methodStatic memberWeightedElementTElement(IRandom, IListTElement, UInt16)
Returns a randomly selected element from list, non-uniformly distributed according to weights.
Public methodStatic memberWeightedElementTElement(IRandom, IListTElement, UInt32)
Returns a randomly selected element from list, non-uniformly distributed according to weights.
Public methodStatic memberWeightedElementTElement(IRandom, IListTElement, UInt64)
Returns a randomly selected element from list, non-uniformly distributed according to weights.
Public methodStatic memberWeightedElementTElement(IRandom, IListTElement, Byte, UInt32)
Returns a randomly selected element from list, non-uniformly distributed according to weights.
Public methodStatic memberWeightedElementTElement(IRandom, IListTElement, FuncInt32, Byte, UInt32)
Returns a randomly selected element from list, non-uniformly distributed according to the weights provided by weightsAccessor.
Public methodStatic memberWeightedElementTElement(IRandom, IListTElement, FuncInt32, Int16, Int32)
Returns a randomly selected element from list, non-uniformly distributed according to the weights provided by weightsAccessor.
Public methodStatic memberWeightedElementTElement(IRandom, IListTElement, FuncInt32, Int32, Int32)
Returns a randomly selected element from list, non-uniformly distributed according to the weights provided by weightsAccessor.
Public methodStatic memberWeightedElementTElement(IRandom, IListTElement, FuncInt32, Int64, Int64)
Returns a randomly selected element from list, non-uniformly distributed according to the weights provided by weightsAccessor.
Public methodStatic memberWeightedElementTElement(IRandom, IListTElement, FuncInt32, SByte, Int32)
Returns a randomly selected element from list, non-uniformly distributed according to the weights provided by weightsAccessor.
Public methodStatic memberWeightedElementTElement(IRandom, IListTElement, FuncInt32, UInt16, UInt32)
Returns a randomly selected element from list, non-uniformly distributed according to the weights provided by weightsAccessor.
Public methodStatic memberWeightedElementTElement(IRandom, IListTElement, FuncInt32, UInt32, UInt32)
Returns a randomly selected element from list, non-uniformly distributed according to the weights provided by weightsAccessor.
Public methodStatic memberWeightedElementTElement(IRandom, IListTElement, FuncInt32, UInt64, UInt64)
Returns a randomly selected element from list, non-uniformly distributed according to the weights provided by weightsAccessor.
Public methodStatic memberWeightedElementTElement(IRandom, IListTElement, Int16, Int32)
Returns a randomly selected element from list, non-uniformly distributed according to weights.
Public methodStatic memberWeightedElementTElement(IRandom, IListTElement, Int32, Int32)
Returns a randomly selected element from list, non-uniformly distributed according to weights.
Public methodStatic memberWeightedElementTElement(IRandom, IListTElement, Int64, Int64)
Returns a randomly selected element from list, non-uniformly distributed according to weights.
Public methodStatic memberWeightedElementTElement(IRandom, IListTElement, SByte, Int32)
Returns a randomly selected element from list, non-uniformly distributed according to weights.
Public methodStatic memberWeightedElementTElement(IRandom, IListTElement, UInt16, UInt32)
Returns a randomly selected element from list, non-uniformly distributed according to weights.
Public methodStatic memberWeightedElementTElement(IRandom, IListTElement, UInt32, UInt32)
Returns a randomly selected element from list, non-uniformly distributed according to weights.
Public methodStatic memberWeightedElementTElement(IRandom, IListTElement, UInt64, UInt64)
Returns a randomly selected element from list, non-uniformly distributed according to weights.
Public methodStatic memberWeightedIndex(IRandom, Byte)
Returns a random index in the range [0, weights.Length), non-uniformly distributed according to weights, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberWeightedIndex(IRandom, Double)
Returns a random index in the range [0, weights.Length), non-uniformly distributed according to weights, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberWeightedIndex(IRandom, Int16)
Returns a random index in the range [0, weights.Length), non-uniformly distributed according to weights, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberWeightedIndex(IRandom, Int32)
Returns a random index in the range [0, weights.Length), non-uniformly distributed according to weights, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberWeightedIndex(IRandom, Int64)
Returns a random index in the range [0, weights.Length), non-uniformly distributed according to weights, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberWeightedIndex(IRandom, SByte)
Returns a random index in the range [0, weights.Length), non-uniformly distributed according to weights, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberWeightedIndex(IRandom, Single)
Returns a random index in the range [0, weights.Length), non-uniformly distributed according to weights, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberWeightedIndex(IRandom, UInt16)
Returns a random index in the range [0, weights.Length), non-uniformly distributed according to weights, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberWeightedIndex(IRandom, UInt32)
Returns a random index in the range [0, weights.Length), non-uniformly distributed according to weights, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberWeightedIndex(IRandom, UInt64)
Returns a random index in the range [0, weights.Length), non-uniformly distributed according to weights, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberWeightedIndex(IRandom, Byte, UInt32)
Returns a random index in the range [0, weights.Length), non-uniformly distributed according to weights, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberWeightedIndex(IRandom, Double, Double)
Returns a random index in the range [0, weights.Length), non-uniformly distributed according to weights, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberWeightedIndex(IRandom, Int16, Int32)
Returns a random index in the range [0, weights.Length), non-uniformly distributed according to weights, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberWeightedIndex(IRandom, Int32, FuncInt32, Byte)
Returns a random index in the range [0, elementCount), non-uniformly distributed according to the weights provided by weightsAccessor, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberWeightedIndex(IRandom, Int32, FuncInt32, Double)
Returns a random index in the range [0, elementCount), non-uniformly distributed according to the weights provided by weightsAccessor, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberWeightedIndex(IRandom, Int32, FuncInt32, Int16)
Returns a random index in the range [0, elementCount), non-uniformly distributed according to the weights provided by weightsAccessor, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberWeightedIndex(IRandom, Int32, FuncInt32, Int32)
Returns a random index in the range [0, elementCount), non-uniformly distributed according to the weights provided by weightsAccessor, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberWeightedIndex(IRandom, Int32, FuncInt32, Int64)
Returns a random index in the range [0, elementCount), non-uniformly distributed according to the weights provided by weightsAccessor, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberWeightedIndex(IRandom, Int32, FuncInt32, SByte)
Returns a random index in the range [0, elementCount), non-uniformly distributed according to the weights provided by weightsAccessor, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberWeightedIndex(IRandom, Int32, FuncInt32, Single)
Returns a random index in the range [0, elementCount), non-uniformly distributed according to the weights provided by weightsAccessor, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberWeightedIndex(IRandom, Int32, FuncInt32, UInt16)
Returns a random index in the range [0, elementCount), non-uniformly distributed according to the weights provided by weightsAccessor, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberWeightedIndex(IRandom, Int32, FuncInt32, UInt32)
Returns a random index in the range [0, elementCount), non-uniformly distributed according to the weights provided by weightsAccessor, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberWeightedIndex(IRandom, Int32, FuncInt32, UInt64)
Returns a random index in the range [0, elementCount), non-uniformly distributed according to the weights provided by weightsAccessor, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberWeightedIndex(IRandom, Int32, Int32)
Returns a random index in the range [0, weights.Length), non-uniformly distributed according to weights, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberWeightedIndex(IRandom, Int64, Int64)
Returns a random index in the range [0, weights.Length), non-uniformly distributed according to weights, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberWeightedIndex(IRandom, SByte, Int32)
Returns a random index in the range [0, weights.Length), non-uniformly distributed according to weights, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberWeightedIndex(IRandom, Single, Single)
Returns a random index in the range [0, weights.Length), non-uniformly distributed according to weights, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberWeightedIndex(IRandom, UInt16, UInt32)
Returns a random index in the range [0, weights.Length), non-uniformly distributed according to weights, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberWeightedIndex(IRandom, UInt32, UInt32)
Returns a random index in the range [0, weights.Length), non-uniformly distributed according to weights, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberWeightedIndex(IRandom, UInt64, UInt64)
Returns a random index in the range [0, weights.Length), non-uniformly distributed according to weights, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberWeightedIndex(IRandom, Byte, Int32, UInt32)
Returns a random index in the range [0, elementCount), non-uniformly distributed according to weights, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberWeightedIndex(IRandom, Double, Int32, Double)
Returns a random index in the range [0, elementCount), non-uniformly distributed according to weights, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberWeightedIndex(IRandom, Int16, Int32, Int32)
Returns a random index in the range [0, elementCount), non-uniformly distributed according to weights, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberWeightedIndex(IRandom, Int32, FuncInt32, Byte, UInt32)
Returns a random index in the range [0, elementCount), non-uniformly distributed according to the weights provided by weightsAccessor, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberWeightedIndex(IRandom, Int32, FuncInt32, Double, Double)
Returns a random index in the range [0, elementCount), non-uniformly distributed according to the weights provided by weightsAccessor, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberWeightedIndex(IRandom, Int32, FuncInt32, Int16, Int32)
Returns a random index in the range [0, elementCount), non-uniformly distributed according to the weights provided by weightsAccessor, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberWeightedIndex(IRandom, Int32, FuncInt32, Int32, Int32)
Returns a random index in the range [0, elementCount), non-uniformly distributed according to the weights provided by weightsAccessor, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberWeightedIndex(IRandom, Int32, FuncInt32, Int64, Int64)
Returns a random index in the range [0, elementCount), non-uniformly distributed according to the weights provided by weightsAccessor, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberWeightedIndex(IRandom, Int32, FuncInt32, SByte, Int32)
Returns a random index in the range [0, elementCount), non-uniformly distributed according to the weights provided by weightsAccessor, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberWeightedIndex(IRandom, Int32, FuncInt32, Single, Single)
Returns a random index in the range [0, elementCount), non-uniformly distributed according to the weights provided by weightsAccessor, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberWeightedIndex(IRandom, Int32, FuncInt32, UInt16, UInt32)
Returns a random index in the range [0, elementCount), non-uniformly distributed according to the weights provided by weightsAccessor, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberWeightedIndex(IRandom, Int32, FuncInt32, UInt32, UInt32)
Returns a random index in the range [0, elementCount), non-uniformly distributed according to the weights provided by weightsAccessor, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberWeightedIndex(IRandom, Int32, FuncInt32, UInt64, UInt64)
Returns a random index in the range [0, elementCount), non-uniformly distributed according to the weights provided by weightsAccessor, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberWeightedIndex(IRandom, Int32, Int32, Int32)
Returns a random index in the range [0, elementCount), non-uniformly distributed according to weights, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberWeightedIndex(IRandom, Int64, Int32, Int64)
Returns a random index in the range [0, elementCount), non-uniformly distributed according to weights, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberWeightedIndex(IRandom, SByte, Int32, Int32)
Returns a random index in the range [0, elementCount), non-uniformly distributed according to weights, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberWeightedIndex(IRandom, Single, Int32, Single)
Returns a random index in the range [0, elementCount), non-uniformly distributed according to weights, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberWeightedIndex(IRandom, UInt16, Int32, UInt32)
Returns a random index in the range [0, elementCount), non-uniformly distributed according to weights, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberWeightedIndex(IRandom, UInt32, Int32, UInt32)
Returns a random index in the range [0, elementCount), non-uniformly distributed according to weights, suitable for indexing into a collection with a corresponding length.
Public methodStatic memberWeightedIndex(IRandom, UInt64, Int32, UInt64)
Returns a random index in the range [0, elementCount), non-uniformly distributed according to weights, suitable for indexing into a collection with a corresponding length.
Top
See Also