An open API service indexing awesome lists of open source software.

https://github.com/blargian/bgl

Repository with code for learning how to use the Boost Graph Library
https://github.com/blargian/bgl

bgl boost-graph boost-graph-library contributions-welcome example-code examples graph graphs helpwanted learning-boost learning-exercise opensource-projects

Last synced: 3 months ago
JSON representation

Repository with code for learning how to use the Boost Graph Library

Awesome Lists containing this project

README

        

# Learning Boost Graph Library 💡

This is an opensource project with the aim of creating a repository with useful notes and code examples for learning the Boost Graph Library. BGL is an incredible piece of C++ design, which strives for genericity. Unfortunately this genericity can sometimes make it feel a little challenging to pick up. This project is aimed at lowering the barrier to entry for new comers to BGL. [Contributions](/doc/setup_instructions.md) are welcome, let's learn together!


File
Description


kevin-bacon.cpp
An example which uses breadth-first search to find the bacon number of actors. (six degrees of Kevin Bacon problem) taken from the BGL book.


kruskal.cpp
A basic example of how to use Kruskals algorithm to find the MST. Taken from BGL library examples.


tiny-ewg.cpp
Reads in data from a textfile, creates a graph out of it and then finds the minimum spanning tree using Kruskal's algorithm


tiny-ewg-improved.cpp
Example by user sehe on stackexchange which makes some simplifications and improvements to the tiny-ewg example

Instructions to get the project working on your local machine can be found [here](/doc/setup_instructions.md)