decodehelpers.h
来自「This a framework to test new ideas in tr」· C头文件 代码 · 共 49 行
H
49 行
#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(graphs *graph, double *received);/*********************************** make decisions on current graph ***********************************/void makedecisions(graphs *graph, int *decisions);/************************************* sum vnode to f *************************************/void sumtograph(graphs *graph);/************************************* message map at the variable nodes ** send to other graph *************************************/void graphtographmessagemap(graphs *graph, graphs *tograph, double *received, double *temp, double variance, int indic, double a1, double a2);/************************************* 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(graphs *graph);/********************************** message map at the check nodes **********************************/void checkmessagemap(graphs *graph);#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?