[][src]Module vrp_core::utils

A collection of various utility helpers.

Structs

DefaultRandom
TimeQuota

A time quota.

Traits

CollectGroupBy

An iterator which collects items into group.

Random

Provides the way to use randomized values in generic way.

TryCollect

A trait to get tuple from collection items. See https://stackoverflow.com/questions/38863781/how-to-create-a-tuple-from-a-vector

Functions

as_mut

Safety

compare_floats

Compares floats.

compare_shared

Compares pointers from shared objects.

map_reduce

Performs map reduce operations in parallel.

parallel_collect

Maps collection and collects results into vector in parallel.

Type Definitions

Timer

Implements performance timer functionality, mostly exists due to problem with Instant on wasm32 arch.