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
- A
Permutation
backed by a big-endian mmapped file - Struct to load a
.node2swhid.bin
file and convert node ids to SWHIDs. - Struct to create and load a
.node2type.bin
file and convert node ids to types. - A
Permutation
backed by anusize
vector - Newtype for [
Mmap
]/[MmapMut
] which can be dereferenced as slices of usize
Traits
- An array of
n
unique integers in the0..n
range.