[Lemon-user] How to know if a graph have already a node
Pierre Moulon
pmoulon at gmail.com
Mon Feb 14 14:24:47 CET 2011
Hi,
I want to know if we could know if a graph have already a node register to
the element we want to potentially re-add :
I have test the find (stl) function over the graph note iterator, but it do
not compiles :
using namespace lemon; //ask if the graph g already contain a node nodeA.
graphType::NodeIt itA = find<graphType::NodeIt,Node>( graphType::NodeIt(g),
INVALID, nodeA);
Do you have a tip to give me ?
Regards,
Pierre
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lemon.cs.elte.hu/pipermail/lemon-user/attachments/20110214/46dfc2f3/attachment.html>
More information about the Lemon-user
mailing list