📄 decodehelpers.h
字号:
#ifndef DECODEHELPERS_H__#define DECODEHELPERS_H__#include <math.h>#include "graphcreate.h"/************************************* copy the received values into the ** appropriate places in the graph *************************************/void initializegraph(graphstemp *graph, double *received);/*********************************** make decisions on current graph ***********************************/void makedecisions(graphstemp *graph, int *decisions);/************************************* message map at the variable nodes ** schedule can be used if we want ** the decoder to be time variant ** currently it is not used *************************************/void variablemessagemap(graphstemp *graph);/********************************** message map at the check nodes **********************************/void checkmessagemap(graphstemp *graph);float ** lower , ** higher;short int * prod;/******************************** * get the current time * *******************************/int gettime();#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -