structures/¶
Discrete structures and graph algorithms.
Graph algorithms: connectivity, shortest paths, spanning trees, BFS and DFS <structures/algorithms/traversal.hpp>
structures::bfs – structures::connected_components – structures::dfs – structures::dijkstra – structures::is_connected – structures::minimum_spanning_tree
Concepts for discrete structures: union-find, priority queues and graphs <structures/concepts.hpp>
concepts::addressable_priority_queue – concepts::equivalence_relation – concepts::incidence_structure – concepts::weighted_incidence
Bucket priority queue by integer degree <structures/containers/degree_queue.hpp>
structures::basic_degree_queue – structures::degree_queue – structures::degree_queue_32
Union-find with path compression and union by rank <structures/containers/disjoint_set.hpp>
Indexed binary heap <structures/containers/indexed_priority_queue.hpp>
Runtime checks of the laws discrete structures maintain <structures/debug.hpp>
structures::debug::check_connected – structures::debug::check_contains – structures::debug::check_index_bounds – structures::debug::check_not_contains – structures::debug::check_positive_weight – structures::debug::check_vertex_bounds – structures::debug::verify_degree_consistency – structures::debug::verify_equivalence_relation – structures::debug::verify_handshake_lemma – structures::debug::verify_heap_order – structures::debug::verify_laplacian_structure
Exact and sampled clique elimination (star-mesh transform) on multigraphs <structures/graph/clique.hpp>
structures::add_exact_clique – structures::collect_neighbors – structures::sample_biclique_tree – structures::sample_clique – structures::sample_clique_tree
Graph generators: paths, cycles, grids, complete, star, random trees and \(G(n, p)\) <structures/graph/generators.hpp>
structures::complete_graph – structures::cycle_graph – structures::erdos_renyi – structures::grid_2d – structures::path_graph – structures::random_spanning_tree – structures::star_graph
Weighted graph as an adjacency list <structures/graph/graph.hpp>
Weighted multigraph with edge multiplicities <structures/graph/multigraph.hpp>
structures::multi_edge – structures::multigraph – structures::to_multigraph
Implicit graph of a uniform Cartesian grid <structures/graph/structured_grid.hpp>