Expand description
Miscellaneous utilities.
Re-exports§
pub use matrix::Matrix;pub use sort_pairs::SortPairs;pub use par_sort_pairs::ParSortPairs;pub use par_sort_iters::ParSortIters;
Modules§
- gaps
- grouped_
gaps - matrix
- par_
sort_ iters - Facilities to sort in parallel externally (labelled) pairs of nodes returned by a sequence of iterators.
- par_
sort_ pairs - Facilities to sort in parallel externally (labelled) pairs of nodes returned
by a
ParallelIterator, returning aSplitItersstructure. - sort_
pairs - Facilities to sort externally pairs of nodes with an associated label.
Structs§
- ArcMmap
Helper - A clonable version of a read-only
MmapHelper. - Converter
- A decoder that encodes the read values using the given encoder. This is commonly used to change the codes of a graph without decoding and re-encoding it but by changing the codes.
- Java
Permutation - Maps into memory a file of big-endian 64-bit values, making it accessible as
a
BitFieldSlice<usize>. - Mmap
Helper - Helper struct providing convenience methods and type-based
AsRefaccess to anMmaporMmapMutinstance. - Ragged
Array - A ragged array that can be only appended to.
- Split
Iters - A structure holding partition iterators and their boundaries.
- Triple
- An arc expressed as a pair of nodes and the associated label.
Enums§
- Granularity
- Granularity of parallel tasks, specified transparently by nodes or arcs.
- Memory
Usage - An enum expressing the memory requirements for batched algorithms
such as
SortPairs,ParSortPairs, andParSortIters.
Traits§
- Batch
Codec - A trait for encoding and decoding batches of sorted triples.
Functions§
- humanize
- Writes a human-readable representation of a large number using SI prefixes units.
- temp_
dir - Creates a new random dir inside the given folder
Type Aliases§
- BitReader
- BitWriter
- Codec
Iter - Convenience alias to extract the iterator type of the decoded batch from a
BatchCodec. - Default
Batch Codec - The recommended default batch codec for unlabelled batches.