#include <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 () const | 
| Returns the number of block errors. | |
| double | get_corrects () const | 
| Returns the number of correct blocks. | |
| double | get_total_blocks () const | 
| Returns the total number of block processed. | |
| double | get_errorrate () const | 
| Returns the block error rate. | |
Use this class to count block errors in binary vectors.
 1.5.8
 1.5.8