Crate webgraph_cli

Source
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§

analyze
bench
build
build_info
check
dist
from
perm
run
sccs
to
transform

Structs§

ArcsArgs
Shared CLI arguments for reading files containing arcs.
BatchSizeArg
Shared CLI arguments for commands that specify a batch size.
Cli
Webgraph tools to build, convert, modify, and analyze graphs.
CompressArgs
Shared CLI arguments for compression.
GlobalArgs
GranularityArgs
Shared CLI arguments for commands that specify a granularity.
NumThreadsArg
Shared CLI arguments for commands that specify a number of threads.

Enums§

FloatVectorFormat
How to store vectors of floats.
IntVectorFormat
How to store vectors of integers.
PrivCode
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.