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;