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