paritychecknode.h

来自「根据LDPC码中码子的构造方法中的PEG算法」· C头文件 代码 · 共 50 行

H
50
字号
/********************************************** * * Parity ckeck node used in a factor graph * *******************************************/#ifndef PARITYCHECKNODEH#define PARITYCHECKNODEH#include "FunctionNode.h"#include "LocalFunction.h"//#include "TrellisFunctionNode.h"#include "VariableNode.h"class ParityCheckNode : public FunctionNode {public:  ParityCheckNode(const char *name, int id, int numNeighbours);    // implementation of the inherited abstract method  void update(int port);  virtual void updateAll();  void reset(void);  // issues a textual description of the current configuration of this node  // (for debugging purposes)  void draw(void);  // issues a textual description of the current configuration of   //this node into a file  // (for debugging purposes)  void draw(FILE *file); private:  double LogModPlus(double, double);  double jacobiFunction(double);  double LogModMinus(double, double);  double LogModMinusQuan(double);};#endif

⌨️ 快捷键说明

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