Boost Graph Library

Boost Graph Library (BGL) is a library that provides Boost graph functions by including in a header.

The Boost Graph Library (BGL) algorithms consist of algorithms like:

  • Breadth First Search
  • Depth First Search
  • Uniform Cost Search

The basic implementation of boost graph algorithms is based on the above 3 algorithms, But now BG algorithms in the BGL include:

  • Dijkstra’s Shortest Paths
  • Bellman-Ford Shortest Paths
  • Johnson’s All-Pairs Shortest Paths
  • Kruskal’s Minimum Spanning Tree
  • Prim’s Minimum Spanning Tree
  • Connected Components
  • Strongly Connected Components
  • Dynamic Connected Components (using Disjoint Sets)
  • Topological Sort
  • Transpose
  • Reverse Cuthill Mckee Ordering
  • Smallest Last Vertex Ordering
  • Sequential Vertex Coloring 

How to iterate over boost graph to get incoming and outgoing edges of vertex?

Similar Reads

What is Boost Graph?

The Boost Graph (BG) are multi-graph concept, it is factored into much smaller pieces. The reason for this is that any one algorithm cannot fulfill the need for all graph operations....

Boost Graph Library

Boost Graph Library (BGL) is a library that provides Boost graph functions by including in a header....

Iterate over BG to get incoming and outgoing edges of vertex?

To iterate through the edges and vertices BGL for graphs provides functions like in_edges(), out_edges() which iterate through the incoming edges and the outgoing edges respectively....