hi
i am trying to figure out how is the best way to use the capabilities of
subgraph.
i am using the following declarations
typedef boost::adjacency_list // GBase;
typedef GBase::vertex_descriptor G_v_id;
class Graph : public GraphBase
{
public:
remove(const std::string& vName){
G_v_id vToRemove = findVertexByName(vName);
boost::remove_vertex(vToRemove,*this);
}
}
now my algorithm uses SCCs and works and modify each component
separately and the idea of subgraph charmed me so i performed the
following change
typedef boost::subgraph > // GBase;
typedef GBase::vertex_descriptor G_v_id;
and now it stops to compile on boost::remove_vertex.
is there an elegant way to use subgraph instead of copying it to
separate graph and working from there.