Difference between revisions of "Boost/BGL"

From ProgrammingExamples
Jump to: navigation, search
(Created page with ' === Basics === * Create a graph - This is the most fundamental process of using BGL - creating a graph. This example explains 3 methods of creating a g…')
 
Line 1: Line 1:
 
 
=== Basics ===
 
=== Basics ===
 
* [[CPP/Boost/CreateGraph|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.
 
* [[CPP/Boost/CreateGraph|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.
* [[CPP/Boost/BGL/IterateEdges|Iterate over all edges in the graph]]
 
 
* [[CPP/Boost/BGL/EdgeExists|Check if an edge exists]] - If it does, you also get the edge_descriptor
 
* [[CPP/Boost/BGL/EdgeExists|Check if an edge exists]] - If it does, you also get the edge_descriptor
 
* [[CPP/Boost/BGL/CopyAGraph|Copy a graph]]
 
* [[CPP/Boost/BGL/CopyAGraph|Copy a graph]]
Line 18: Line 16:
 
* [[CPP/Boost/BGL/MakeBFSVisitor|Breadth first search with make_bfs_visitor]]
 
* [[CPP/Boost/BGL/MakeBFSVisitor|Breadth first search with make_bfs_visitor]]
 
* [[CPP/Boost/BGL/DepthFirstSearch|Depth first search (DFS)]]
 
* [[CPP/Boost/BGL/DepthFirstSearch|Depth first search (DFS)]]
 +
 +
=== Directed graphs ===
 +
* [[CPP/Boost/BGL/IterateEdges|Iterate over all edges in a directed graph]]
 +
 +
=== Undirected graphs ===
 +
* [[CPP/Boost/BGL/Undirected/IterateEdges|Iterate over all edges in an undirected graph]]
  
 
=== I/O ===
 
=== I/O ===

Revision as of 18:58, 15 November 2011

Basics

Directed graphs

Undirected graphs

I/O

Algorithms

Visualization