⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 reedsolomonblock.h

📁 心电图小波零树压缩演算法的研究
💻 H
字号:
/*  *********************************************************************  *                                                                   *  *        Galois Field Arithmetic Library (version 0.0.1)            *  *                                                                   *  * Class: Reed-Solomon Block                                         *  * Version: 0.0.1                                                    *  * Author: Arash Partow - 2000                                       *  * URL: http://www.partow.net/projects/galois/index.html             *  *                                                                   *  * Copyright Notice:                                                 *  * Free use of this library is permitted under the guidelines and    *  * in accordance with the most current version of the Common Public  *  * License.                                                          *  * http://www.opensource.org/licenses/cpl.php                        *  *                                                                   *  **********************************************************************/#ifndef INCLUDE_REEDSOLOMONBLOCK_H#define INCLUDE_REEDSOLOMONBLOCK_H#include <iostream>#include <vector>namespace reedsolomon{   class ReedSolomonBlock   {      public:       ReedSolomonBlock()       {          data             = "";          fec              = "";          bitsize          = 0;          errors_detected  = 0;          errors_corrected = 0;          unrecoverable    = false;          single_seq       = false;       }       ReedSolomonBlock(std::string _data, std::string _fec, unsigned int _bitsize, bool _single_seq = false) : data            (_data),                                                                                                                fec             (_fec),                                                                                                                bitsize         (_bitsize),                                                                                                                errors_detected (0),                                                                                                                errors_corrected(0),                                                                                                                unrecoverable   (false),                                                                                                                single_seq      (_single_seq){}      ~ReedSolomonBlock(){}       std::string  data;       std::string  fec;       unsigned int bitsize;       unsigned int errors_detected;       unsigned int errors_corrected;       bool         unrecoverable;       bool         single_seq; // if true both message data and FEC symbols are in the data string   };}#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -