Rosetta
Namespaces | Functions
graph_util.cc File Reference
#include <utility/graph/graph_util.hh>
#include <utility/graph/Graph.hh>

Namespaces

 utility
 unresizable vector whose size is known at compile time, which may be allocated on the stack, and which indexes from 0.
 
 utility::graph
 

Functions

bool utility::graph::all_visited (utility::vector1< bool > const &visited)
 
utility::vector1< std::pair< platform::Size, platform::Size > > utility::graph::find_connected_components (Graph const &g)
 returns a vector1 of connected component descriptions: each entry holds a representative vertex from that connected component (first entry in pair) and the connected-component size (second entry in pair). O( V+E ). More...
 
void utility::graph::delete_all_intragroup_edges (Graph &g, utility::vector1< platform::Size > const &node_groups)