Boost logo

Boost Users :

Subject: Re: [Boost-users] [BGL] Trying to use subgraph
From: Andrew Sutton (andrew.n.sutton_at_[hidden])
Date: 2009-05-19 20:32:26


>
> still gives me compile errors:
> error C2065: 'edge_index_t' : undeclared identifier
> error C3203: 'property' : unspecialized class template can't be used as a
> template argument for template parameter 'EdgeProperty', expected a real
> type

Try boost::edge_index_t.

> On a (possibly) related note, I'm trying to use the above subgraph in
> kruskal_minimum_spanning_tree(), but it's giving me an error about
>
> error C2039: 'vertex_bundled' : is not a member of 'boost::subgraph<Graph>'
>
> I'm quite sure this error didn't appear before I started trying to use the
> subgraph adapter.....any idea what's wrong?

That may be a showstopper. The subgraph may not be adapted for bundled
vertices - it's pretty old code and doesn't see a lot of use so it may not
have been "upgraded". I'll take a look tomorrow.

Andrew Sutton
andrew.n.sutton_at_[hidden]



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net