Expand description
Command-line interface structs, functions, and methods.
Each module correspond to a group of commands, and each command is implemented as a submodule.
Modules§
Structs§
- Arcs
Args - Shared CLI arguments for reading files containing arcs.
- Batch
Size Arg - Shared CLI arguments for commands that specify a batch size.
- Cli
- Webgraph tools to build, convert, modify, and analyze graphs.
- Compress
Args - Shared CLI arguments for compression.
- Global
Args - Granularity
Args - Shared CLI arguments for commands that specify a granularity.
- NumThreads
Arg - Shared CLI arguments for commands that specify a number of threads.
Enums§
- Float
Vector Format - How to store vectors of floats.
- IntVector
Format - How to store vectors of integers.
- Priv
Code - Enum for instantaneous codes.
- SubCommands
Functions§
- append
- Appends a string to the filename of a path.
- batch_
size - Parses a batch size.
- cli_
main - The entry point of the command-line interface.
- create_
parent_ dir - Creates all parent directories of the given file path.
- get_
thread_ pool - Creates a
ThreadPool
with the given number of threads. - init_
env_ logger - num_
threads_ parser - Parses the number of threads from a string.