[Lemon-user] Using filterNodes with bpGraphCopy?
Noam Goldberg
noam.goldberg at gmail.com
Mon May 6 16:32:40 CEST 2013
Hi,
I am trying to use filterNodes within bpGraphCopy:
bpGraphCopy(filterNodes(_graph, nf), g).nodeRef(nr).run();
(Here both graphs are of type SmartBpGraph),
but I then get a compilation error such as:
/lemon-main/lemon/core.h:1184:36: error: no type named ‘RedNode’ in ‘class
lemon::FilterNodes<const lemon::SmartBpGraph,
lemon::BpGraphExtender<lemon::SmartBpGraphBase>::NodeMap<bool>, void>’
I could not find a special FilterNodes (sub)class for bipartite graphs.
How should I otherwise go about copying a subgraph of a BpGraph ? (I might
also need to copy a RedNodeMap and/or BlueNodeMap).
Thank you in advance,
Noam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lemon.cs.elte.hu/pipermail/lemon-user/attachments/20130506/a5370396/attachment.html>
More information about the Lemon-user
mailing list