Module malachite_base::sets::random

source ·
Expand description

Iterators that generate sets randomly.

Structs

Generates random BTreeSets with lengths from an iterator.
Generates random BTreeSets of a fixed length, where the Vecs have no repeated elements, and the elements are in ascending order.
Generates random HashSets with lengths from an iterator.
Generates random HashSets of a fixed length, where the Vecs have no repeated elements, and the elements are in ascending order.

Functions

Generates random BTreeSets using elements from an iterator.
Randomly generates BTreeSets of a given length.
Generates random BTreeSets using elements from an iterator and with lengths from another iterator.
Generates random BTreeSets with lengths in $[a, b]$, using elements from an iterator.
Generates random BTreeSets with lengths in $[a, b]$, using elements from an iterator.
Generates random BTreeSets with a minimum length, using elements from an iterator.
Generates random HashSets using elements from an iterator.
Randomly generates HashSets of a given length.
Generates random HashSets using elements from an iterator and with lengths from another iterator.
Generates random HashSets with lengths in $[a, b]$, using elements from an iterator.
Generates random HashSets with lengths in $[a, b)$, using elements from an iterator.
Generates random HashSets with a minimum length, using elements from an iterator.