Click or drag to resize

FrequencyIntGenerator Class

Note: This API is now obsolete.

A generator that generates integers given an arbitrary distribution.
Inheritance Hierarchy
SystemObject
  Gamelogic.Extensions.ObsoleteFrequencyIntGenerator

Namespace:  Gamelogic.Extensions.Obsolete
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
[VersionAttribute(1, 4, 0)]
[ObsoleteAttribute("Use the static functions in Gamelogic.Generators.Generator instead.")]
public class FrequencyIntGenerator : IIntGenerator, 
	IGenerator<int>, IGenerator

The FrequencyIntGenerator type exposes the following members.

Constructors
  NameDescription
Public methodFrequencyIntGenerator(IEnumerableSingle)
Constructs a new FrequencyIntGenerator object. The given elements and frequencies together describe a piecewise linear distribution.
Public methodFrequencyIntGenerator(IEnumerableSingle, IRandom)
Constructs a new FrequencyIntGenerator object. The given elements and frequencies together describe a piecewise linear distribution.
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodNext
Public methodToString (Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodAggregateWindowInt32, U (Defined by GeneratorExtensions.)
Public Extension MethodBufferInt32 (Defined by GeneratorExtensions.)
Public Extension MethodCastT (Defined by GeneratorExtensions.)
Public Extension MethodNextInt32
Gets the next n elements from the generator.
(Defined by GeneratorExtensions.)
Public Extension MethodOfTypeT (Defined by GeneratorExtensions.)
Public Extension MethodRepeatWithProbabilityInt32 (Defined by GeneratorExtensions.)
Public Extension MethodThrowIfNull
Throws a NullReferenceException if the object is null.
(Defined by ObjectExtensions.)
Public Extension MethodWhereInt32 (Defined by GeneratorExtensions.)
Public Extension MethodWhereBufferInt32 (Defined by GeneratorExtensions.)
Public Extension MethodWindowInt32 (Defined by GeneratorExtensions.)
Top
Explicit Interface Implementations
See Also