src/hugo/dijkstra.h
changeset 720 193d881b23ad
parent 694 2d87cefb35b2
child 734 329832ac02b7
equal deleted inserted replaced
7:17373302ad14 8:aed5ce9897c7
   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;