Module map

Source
Expand description

This module contains the data structures used to map a node id to a SWHID and vice versa and retrieve the labels for each node.

Structs§

MappedPermutation
A Permutation backed by a big-endian mmapped file
Node2SWHID
Struct to load a .node2swhid.bin file and convert node ids to SWHIDs.
Node2Type
Struct to create and load a .node2type.bin file and convert node ids to types.
OwnedPermutation
A Permutation backed by an usize vector
UsizeMmap
Newtype for Mmap/MmapMut which can be dereferenced as slices of usize

Traits§

Permutation
An array of n unique integers in the 0..n range.