Module vrp_core::utils

source ·
Expand description

A collection of various utility helpers.

Structs

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

Type Aliases

  • A logger type which is called with various information.
  • Implements performance timer functionality, mostly exists due to problem with Instant on wasm32 arch.