|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Human-friendly demo of Heavy-Light Decomposition on Aleph tree graphs. More...
#include <array>#include <cstddef>#include <iomanip>#include <iostream>#include <string>#include <HLD.H>#include <tpl_array.H>#include <tpl_graph.H>Go to the source code of this file.
Functions | |
| int | main () |
| Entry point that runs HLD demonstration scenarios for Aleph tree graphs. | |
Human-friendly demo of Heavy-Light Decomposition on Aleph tree graphs.
Demonstrates three real-world scenarios:
Definition in file hld_example.cc.
| int main | ( | ) |
Entry point that runs HLD demonstration scenarios for Aleph tree graphs.
Prints a header, executes three example scenarios demonstrating Heavy-Light Decomposition (security clearance max queries, bandwidth bottleneck min queries, and tax-route sum queries with dynamic updates), and prints a completion message.
Definition at line 303 of file hld_example.cc.
References Aleph::divide_and_conquer_partition_dp().