<div dir="ltr"><div style>Hi,</div><div style><br></div><div style>I am trying to use filterNodes within bpGraphCopy:</div><div style><br></div><div style>bpGraphCopy(filterNodes(_graph, nf), g).nodeRef(nr).run();<br></div>
<div style><br></div><div style>(Here both graphs are of type SmartBpGraph),</div><div style><br></div><div style>but I then get a compilation error such as:</div><div style><div><br></div><div>/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>’</div>
<div><br></div><div>I could not find a special FilterNodes (sub)class for bipartite graphs.<br></div><div style>How should I otherwise go about copying a subgraph of a BpGraph ? (I might also need to copy a RedNodeMap and/or BlueNodeMap).</div>
<div style><br></div><div style>Thank you in advance,</div><div style>Noam</div></div>
</div>