build the python interface
[mussa.git] / alg / nway_paths.hpp
index 01c4be0f09a57ce3bd2d28a2bfb7facd71ba8c0d..acbef47475a70a62b36e3879946b3bf284fef690 100644 (file)
@@ -70,16 +70,15 @@ class NwayPaths
     void save_old(boost::filesystem::path save_file_path);
     void print(std::list<std::vector<int> >&);
 
+    // The following iterator functions are mostly for the python interface
+    // they'll have problems when being called from within a const object
     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() ; }
     size_t path_size() const { return refined_pathz.size(); }
     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() ; }
     size_t refined_path_size() const { return refined_pathz.size(); }
+
     // these probably shouldn't be public, but lets start 
     // simple
     std::list<ConservedPath> pathz;