center on path
[mussa.git] / alg / nway_paths.hpp
index 23f769837476ed449038fd410744b51460c50c33..3e23f15c5bcd438e1c85aaca341ed42aaa4fdb54 100644 (file)
@@ -67,7 +67,11 @@ class NwayPaths
 
     std::list<ConservedPath>::iterator pbegin() { return pathz.begin() ; }
     std::list<ConservedPath>::iterator pend() { return pathz.end() ; }
+    std::list<ConservedPath>::const_iterator pbegin() const { return pathz.begin() ; }
+    std::list<ConservedPath>::const_iterator pend() const { return pathz.end() ; }
     std::list<ExtendedConservedPath>::iterator rpbegin() { return refined_pathz.begin() ; }
+    std::list<ExtendedConservedPath>::const_iterator rpend() const { return refined_pathz.end() ; }
+    std::list<ExtendedConservedPath>::const_iterator rpbegin() const { return refined_pathz.begin() ; }
     std::list<ExtendedConservedPath>::iterator rpend() { return refined_pathz.end() ; }
     // these probably shouldn't be public, but lets start 
     // simple