3 #ifndef __polycor_old_hpp
4 #define __polycor_old_hpp
12 #include <s2proc/trace.hpp>
31 typedef std::map<int, std::pair<int, float> > CCF1_ROW;
36 typedef std::map<int, CCF1_ROW> ROW_AR;
41 typedef std::map<int, ROW_AR> STRIDE_AR;
49 typedef std::map<int, Trace> ROW;
53 bool get_max_in_win(
float *samples,
int samples_count,
int max_shift, std::pair<int, float> &max_pair);
55 bool get_intersection(
const ROW &add_row,
const ROW &sum_row,
float &intersection);
57 bool stack_rows(ROW &recv_row, ROW &add_row,
float max_shift, std::map<int, int> &count_ar,
Trace &ccf2,
bool stack);