#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.
itpp::BLERC::BLERC | ( | void | ) |
itpp::BLERC::BLERC | ( | int | blocksize | ) |
void itpp::BLERC::set_blocksize | ( | int | inblocksize, | |
bool | clear = true | |||
) |
void itpp::BLERC::count | ( | const bvec & | in1, | |
const bvec & | in2 | |||
) |
Calculate the number of block errors between in1 and in2.
Definition at line 181 of file error_counters.cpp.
void itpp::BLERC::clear | ( | ) | [inline] |
double itpp::BLERC::get_errors | ( | ) | [inline] |
double itpp::BLERC::get_corrects | ( | ) | [inline] |
double itpp::BLERC::get_errorrate | ( | ) | [inline] |
Generated on Wed Apr 18 11:23:41 2007 for IT++ by Doxygen 1.5.2