30 #ifndef ERROR_COUNTERS_H
31 #define ERROR_COUNTERS_H
34 #include <itpp/itexports.h>
80 BERC(
int indelay = 0,
int inignorefirst = 0,
int inignorelast = 0);
82 void count(
const bvec &in1,
const bvec &in2);
85 void count(
const bool x);
88 void estimate_delay(
const bvec &in1,
const bvec &in2,
int mindelay = -100,
91 void clear() { errors = 0; corrects = 0; }
114 static double count_errors(
const bvec &in1,
const bvec &in2,
115 int indelay = 0,
int inignorefirst = 0,
116 int inignorelast = 0);
137 BLERC(
int blocksize);
139 void set_blocksize(
int inblocksize,
bool clear =
true);
141 void count(
const bvec &in1,
const bvec &in2);
144 void count(
const bool x);
146 void clear() { errors = 0; corrects = 0; }
167 #endif // #ifndef ERROR_COUNTERS_H