decodehelpers.h

来自「This a framework to test new ideas in tr」· C头文件 代码 · 共 42 行

H
42
字号
#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 + =
减小字号Ctrl + -
显示快捷键?