How can man exchange IVertexListGraph to IUndirectedGraph

Topics: algorithm
Apr 1, 2011 at 10:56 PM

I want to use ConnectedComponentsAlgorithm<Vertex, Edge>(IUndirectedGraph igraph). But i just have IVertexListGraph<Vertex,Edge> g. I don't know, how to exchange IVertexListGraph to IUndirectedGraph.