equal
deleted
inserted
replaced
79 return tot_cost; |
79 return tot_cost; |
80 } |
80 } |
81 |
81 |
82 /* A work-around for running Kruskal with const-reference bool maps... */ |
82 /* A work-around for running Kruskal with const-reference bool maps... */ |
83 |
83 |
84 ///\bug What is this? Or why doesn't it works? |
84 ///\bug What is this? Or why doesn't it work? |
85 /// |
85 /// |
86 template<typename Map> |
86 template<typename Map> |
87 class NonConstMapWr { |
87 class NonConstMapWr { |
88 const Map &m; |
88 const Map &m; |
89 public: |
89 public: |