[turns] rename less functor from less_seg_dist_other_op to less_seg_fraction_other_op (to indicate that the fraction comparison is now used)

This commit is contained in:
Menelaos Karavelas
2014-04-28 10:29:45 +03:00
parent 65c57c4bfb
commit 333cfdccfb
3 changed files with 7 additions and 7 deletions

View File

@@ -122,16 +122,16 @@ public:
filter_continue_turns::apply(rturns_wo_cont);
std::sort(boost::begin(turns_all), boost::end(turns_all),
bg_turns::less_seg_dist_other_op<>());
bg_turns::less_seg_fraction_other_op<>());
std::sort(boost::begin(turns_wo_cont), boost::end(turns_wo_cont),
bg_turns::less_seg_dist_other_op<>());
bg_turns::less_seg_fraction_other_op<>());
std::sort(boost::begin(rturns_all), boost::end(rturns_all),
bg_turns::less_seg_dist_other_op<std::greater<int> >());
bg_turns::less_seg_fraction_other_op<std::greater<int> >());
std::sort(boost::begin(rturns_wo_cont), boost::end(rturns_wo_cont),
bg_turns::less_seg_dist_other_op<std::greater<int> >());
bg_turns::less_seg_fraction_other_op<std::greater<int> >());
remove_duplicate_turns::apply(turns_all);
remove_duplicate_turns::apply(turns_wo_cont);