Expand description
A collection of various utility helpers.
Structs§
- Provides way to sample from different distributions.
- A default random implementation.
- Keeps track of environment specific information which influences algorithm behavior.
- A bit array type of fixed size.
- A basic error type which, essentially, a wrapper on String type.
- Provides way to generate some noise to floating point value.
- Specifies data parallelism settings.
- Provides underlying random generator API.
- An iterator which visits given range using selection sampling (Algorithm S).
- Represents a thread pool wrapper.
- A time quota.
Enums§
- Represents a type with two values.
Traits§
- An iterator which collects items into group.
- Provides the way to sample from different distributions.
- Specifies a computational quota for executions. The main purpose is to allow to stop algorithm in reaction to external events such as user cancellation, timer, etc.
- Provides the way to use randomized values in generic way.
- Provides way to search with help of selection sampling algorithm on iterator where elements have ordered index values.
- Unwraps value from inner state.
Functions§
- Compares floating point numbers.
- Compares floating point numbers.
- Compares floating point numbers.
- Returns a new iterator which samples some range from existing one.
- Performs map reduce operations in parallel.
- Maps collection and collects results into vector in parallel.
- Performs mutable foreach in parallel.
- Maps collection and collects results into vector in parallel.
- Returns an index of max element in values. In case of many same max elements, returns the one from them at random.
- Returns a short name of a type.
Type Aliases§
- A type alias for result type with
GenericError
. - A logger type which is called with various information.
- Implements performance timer functionality, mostly exists due to problem with
Instant
on wasm32 arch.