Hello,

i want to use the algorithm "depth_first_search".
My problem is, that i only want to visit a node if the edge capacity is greather than zero (edge_capacity > 0).

Are there any concepts or solutions to modify this algorithm in that way?

I think with the Visitor Concepts i can only augmenting the actions instead of controlling it.


Suggestions are welcome.


Thanks,

Matthias Linkenheil