Mussa::set_soft_threshold(int new_threshold)
{
if (new_threshold < threshold) {
- soft_thres = threshold;
+ new_threshold = threshold;
} else if (new_threshold > window) {
- soft_thres = window;
- } else {
+ new_threshold = window;
+ }
+ if (soft_thres != new_threshold) {
soft_thres = new_threshold;
+ nway();
}
}
set_dirty(true);
}
-void Mussa::load_mupa_file(std::string para_file_path) {
- load_mupa_file(boost::filesystem::path(para_file_path));
-}
-
void
Mussa::load_mupa_file(fs::path para_file_path)
{