#include <itpp/comm/error_counters.h>
Public Member Functions | |
BLERC (void) | |
Class constructor. | |
BLERC (int blocksize) | |
Specialised constructor. | |
void | set_blocksize (int inblocksize, bool clear=true) |
Set the block size. | |
void | count (const bvec &in1, const bvec &in2) |
Calculate the number of block errors between in1 and in2. | |
void | clear () |
Clear the block error counter. | |
double | get_errors () |
Returns the number of block errors. | |
double | get_corrects () |
Returns the number of correct blocks. | |
double | get_errorrate () |
Returns the block error rate. |
Use this class to count block errors in binary vectors.
Definition at line 127 of file error_counters.h.
|
Class constructor.
Definition at line 163 of file error_counters.cpp. |
|
Specialised constructor.
Definition at line 166 of file error_counters.cpp. |
|
Set the block size.
Definition at line 170 of file error_counters.cpp. |
|
Calculate the number of block errors between in1 and in2.
Definition at line 181 of file error_counters.cpp. |
|
Clear the block error counter.
Definition at line 138 of file error_counters.h. |
|
Returns the number of block errors.
Definition at line 140 of file error_counters.h. |
|
Returns the number of correct blocks.
Definition at line 142 of file error_counters.h. |
|
Returns the block error rate.
Definition at line 144 of file error_counters.h. |
Generated on Thu Apr 19 14:24:03 2007 for IT++ by Doxygen 1.4.6