equal
deleted
inserted
replaced
108 |
108 |
109 public : |
109 public : |
110 |
110 |
111 Dijkstra(const Graph& _G, const LM& _length) : |
111 Dijkstra(const Graph& _G, const LM& _length) : |
112 G(&_G), length(&_length), |
112 G(&_G), length(&_length), |
113 predecessor(NULL), pred_node(NULL), distance(NULL), |
113 predecessor(NULL), local_predecessor(false), |
114 local_predecessor(false), local_pred_node(false), local_distance(false) |
114 pred_node(NULL), local_pred_node(false), |
|
115 distance(NULL), local_distance(false) |
115 { } |
116 { } |
116 |
117 |
117 ~Dijkstra() |
118 ~Dijkstra() |
118 { |
119 { |
119 // if(local_length) delete length; |
120 // if(local_length) delete length; |