Boost logo

Boost Users :

Subject: [Boost-users] edges
From: Figa Pelosa (f.pelosa_at_[hidden])
Date: 2010-03-31 09:13:07


hello. My graph is an: typedef adjacency_list < mapS, vecS, undirectedS, my_vertexProperty, property < edge_weight_t, float > > Graph; I have 100 edges, and I also have an array with 100 weights. How do I assign weight[i] to edge[i], and how do I create a weightmap to use in dijkstra_shortest_paths()? Thanks a lot AC


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