Changes between Initial Version and Version 1 of soc/2007/UserFriendlyGraphs/Connectivity


Ignore:
Timestamp:
Jul 3, 2007, 3:06:57 PM (15 years ago)
Author:
Andrew Sutton
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • soc/2007/UserFriendlyGraphs/Connectivity

    v1 v1  
     1= Connectivity Measures =
     2
     3These algorithms are used to query a graph for information about its "level" of connectivity. For example, it might be worthwhile to know if a graph is fully connected, how many connected components a graph contains, the size of each component, and even views of the components themselves. Interestingly, I managed to propose this without reading the `connected_components()` description too closely - apparently, it returns the number of components in the graph, which answers two of the proposed measures. Specifically, it answers a) the number of components in the graph and b) whether or not the graph is fully connected (it is if the return value equals 1). Oops.
     4
     5On the other hand, we can still extend this algorithm to "auto-sort" the vertices into a container that gives the vertices in each container. This ''might'' be used as a basis for other algorithms requiring connected subrgraphs.
     6
     7Also, I've been trying to use the new Boost.Parameter library, with some success. So far, I've built a new `connected_components_2()` function that forwards to the older implmentation, and will also perform auto-sorting if a collection parameter is given.