X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=mussa.git;a=blobdiff_plain;f=alg%2Fmussa.hpp;h=1e519955f32b8a8c6da67c7fcf444cae98e92395;hp=fb05ec704af23cabf1911bf20bac84758c5f6757;hb=de84c0a72c8d284e3d124d38699ac065ffe37e3c;hpb=38969cafcdba2b1922452e3255c91dedd178c71c diff --git a/alg/mussa.hpp b/alg/mussa.hpp index fb05ec7..1e51995 100644 --- a/alg/mussa.hpp +++ b/alg/mussa.hpp @@ -59,10 +59,18 @@ public: //! save all of mussa void save(boost::filesystem::path save_path=""); + //! save all of mussa + void save(const std::string& save_path) { + save(boost::filesystem::path(save_path)); + } //! save the nway comparison void save_muway(boost::filesystem::path save_path); //! load a saved analysis directory void load(boost::filesystem::path ana_path); + //! load a saved analysis + void load(const std::string& ana_path) { + load(boost::filesystem::path(ana_path)); + } // ! return path to the where the analysis is stored boost::filesystem::path get_analysis_path() const; //! set analysis path @@ -72,7 +80,9 @@ public: void clear(); //! set parameters from a file - 'mupa' ~ mussa parameters - void load_mupa_file(std::string para_file_path); + void Mussa::load_mupa_file(const std::string& para_file_path) { + load_mupa_file(boost::filesystem::path(para_file_path)); + } void load_mupa_file(boost::filesystem::path para_file_path); //! load mussa parameters from a stream, specifing output location void load_mupa_stream( @@ -150,7 +160,7 @@ public: */ void analyze(); /*! Run the nway filtering algorithm, - * this might be used when changing the soft threshhold? + * automatically called when the soft threshhold has changed? */ void nway();