Changeset 124
- Timestamp:
- 03/07/08 11:33:56 (9 months ago)
- Files:
-
- trunk/core/src/shooting_star_boost_wrapper.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/core/src/shooting_star_boost_wrapper.cpp
r118 r124 116 116 template <class G, class E> 117 117 static void 118 graph_add_edge(G &graph, int id, int source, int target, 118 graph_add_edge(G &graph, int index, 119 int id, int source, int target, 119 120 float8 cost, float8 s_x, float8 s_y, float8 t_x, float8 t_y, 120 121 std::map< int, vector< std::pair<float, vector<int> > >, std::less<int> > adjacent_edges) … … 140 141 graph[e].distance = 0; 141 142 142 graph[e].index = boost::num_edges(graph);143 graph[e].index = index; 143 144 144 145 … … 223 224 if((j < count-1 && edges_array[j].id != edges_array[j+1].id)||(j==count-1)) 224 225 { 225 graph_add_edge<graph_t, edge_descriptor>(graph, 226 graph_add_edge<graph_t, edge_descriptor>(graph, j, 226 227 edges_array[j].id, edges_array[j].source, 227 228 edges_array[j].target, edges_array[j].cost, … … 251 252 252 253 253 graph_add_edge<graph_t, edge_descriptor>(graph, 254 graph_add_edge<graph_t, edge_descriptor>(graph, j, 254 255 edges_array[j].id+e_max_id, edges_array[j].target, 255 256 edges_array[j].source, cost,

