|
remove_edge_if structure is an "extended" version of, boost::remove_edge_if that incorporates a workaround to allow edge removal from both plain graphs and subgraphs. More...
#include <VisionX/libraries/PointCloudGraph/utils.h>
Public Member Functions | |
template<typename Predicate > | |
void | operator() (const Predicate &predicate, Graph &graph) const |
remove_edge_if structure is an "extended" version of, boost::remove_edge_if that incorporates a workaround to allow edge removal from both plain graphs and subgraphs.
Plain graphs should be passed to boost::remove_edge_if as is, whereas member field m_graph
should be used in place of the subgraphs (otherwise expect segfaults).
|
inline |