Difference between revisions of "Boost"

From ProgrammingExamples
Jump to: navigation, search
(Boost Graph Library (BGL))
(Boost Graph Library (BGL))
Line 47: Line 47:
 
* [[CPP/Boost/BGL/DijkstraComputePath|Find the shortest path (Dijkstra) from one specified vertex to another specified vertex in a graph]]
 
* [[CPP/Boost/BGL/DijkstraComputePath|Find the shortest path (Dijkstra) from one specified vertex to another specified vertex in a graph]]
 
* [[CPP/Boost/BGL/BetweennessCentralityClustering|Cluster a graph using betweenness centrality]]
 
* [[CPP/Boost/BGL/BetweennessCentralityClustering|Cluster a graph using betweenness centrality]]
 +
 +
=== Visualization ===
 +
 +
* [[CPP/Boost/BGL/InvisibleEdges|Create a graph with invisible edges]]

Revision as of 20:54, 21 June 2011

The following examples are frequent use cases of parts of the Boost (http://www.boost.org/) library. Each example includes a CMakeLists.txt file so it can be easily compiled.

Boost Graph Library (BGL)

Basics

  • Create a graph - This is the most fundamental process of using BGL - creating a graph. This example explains 3 methods of creating a graph, using adjacency_list directly, and also using the directed_graph and undirected_graph subclasses.

Algorithms

Visualization