14 template<
typename T,
typename BadnessT>
21 bool operator()(
const T &a,
const T &b)
const
48 template<
typename T,
typename ContainerT,
typename BadnessT>
50 filter(
const ContainerT &OldSet,
double rejection )
53 ContainerT Set=OldSet;
60 std::sort(Set.begin(), Set.end(), comp);
65 double price=1.0/(double)Set.size();
66 for(
double p=1; p>=(1-rejection); p-=price){
79 if( B1() > B0() && B2() > B0() )
82 if( B1() - B0() < B2() - B0() )
Definition: corr_wave_detector.hpp:52