[Lemon-user] Edge Iterator for Subgraph created with FilterEdges

Simone Busch simone-busch at gmx.de
Thu Apr 30 12:40:32 CEST 2015


Hello,

I need some help with an edge iterator for a subgraph.

I created a subgraph this way:

	FilterEdges<SmartGraph> subgraph (graph, filter);

and now I tried to iterate over all edges in the subgraph, but this 
didn't compile:

	for (SmartGraph::EdgeIt e(subgraph); e != INVALID; ++e){
	//...
	}

Could anyone please help me?

Thank you.
Simone Busch



More information about the Lemon-user mailing list