Boost logo

Boost Users :

From: jiangfan shi (jiangfan.shi_at_[hidden])
Date: 2007-07-06 14:17:30


HI, All,

I could not get a instance of reversed graph by calling
make_reverse_graph(g).

That is, I have following type:

 typedef adjacency_list<
    listS,
    listS,
    bidirectionalS,
   property<vertex_index_t, std::size_t>, no_property> G;

typedef reverse_graph<G, G&> ReverseG; //Maybe something wrong here.

After I call make_revserse_graph(G) as following, I could not get a instance
of modified graph by accessing some fields of ReverseG.

ReverseG tmp=boost::make_reverse_graph(g); //I try to get the reservsed
graph here.

The only field is tmp.m_g, which is G& type and the original graph, but is
not the reversed graph.

Thanks.

Jiangfan



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