gravatar
kpeter (Peter Kovacs)
kpeter@inf.elte.hu
Rename a private type in MCF classes (#180) The new MCF algorithms define a private map type VectorMap, which could be misleading, since there is an other VectorMap defined in lemon/bits/vector_map.h. Thus the new type is is renamed to StaticVectorMap.
0 2 0
default
2 files changed with 10 insertions and 10 deletions:
↑ Collapse diff ↑
Ignore white space 6 line context
... ...
@@ -207,3 +207,3 @@
207 207
    template <typename KT, typename VT>
208
    class VectorMap {
208
    class StaticVectorMap {
209 209
    public:
... ...
@@ -212,3 +212,3 @@
212 212
      
213
      VectorMap(std::vector<Value>& v) : _v(v) {}
213
      StaticVectorMap(std::vector<Value>& v) : _v(v) {}
214 214
      
... ...
@@ -230,4 +230,4 @@
230 230

	
231
    typedef VectorMap<StaticDigraph::Node, LargeCost> LargeCostNodeMap;
232
    typedef VectorMap<StaticDigraph::Arc, LargeCost> LargeCostArcMap;
231
    typedef StaticVectorMap<StaticDigraph::Node, LargeCost> LargeCostNodeMap;
232
    typedef StaticVectorMap<StaticDigraph::Arc, LargeCost> LargeCostArcMap;
233 233

	
Show white space 6 line context
... ...
@@ -154,3 +154,3 @@
154 154
    template <typename KT, typename VT>
155
    class VectorMap {
155
    class StaticVectorMap {
156 156
    public:
... ...
@@ -159,3 +159,3 @@
159 159
      
160
      VectorMap(std::vector<Value>& v) : _v(v) {}
160
      StaticVectorMap(std::vector<Value>& v) : _v(v) {}
161 161
      
... ...
@@ -177,4 +177,4 @@
177 177

	
178
    typedef VectorMap<StaticDigraph::Node, Cost> CostNodeMap;
179
    typedef VectorMap<StaticDigraph::Arc, Cost> CostArcMap;
178
    typedef StaticVectorMap<StaticDigraph::Node, Cost> CostNodeMap;
179
    typedef StaticVectorMap<StaticDigraph::Arc, Cost> CostArcMap;
180 180

	
... ...
@@ -802,5 +802,5 @@
802 802
      
803
      typedef VectorMap<StaticDigraph::Arc, Value> FilterMap;
803
      typedef StaticVectorMap<StaticDigraph::Arc, Value> FilterMap;
804 804
      typedef FilterArcs<StaticDigraph, FilterMap> ResDigraph;
805
      typedef VectorMap<StaticDigraph::Node, StaticDigraph::Arc> PredMap;
805
      typedef StaticVectorMap<StaticDigraph::Node, StaticDigraph::Arc> PredMap;
806 806
      typedef typename BellmanFord<ResDigraph, CostArcMap>
0 comments (0 inline)