📄 mnc6.h
字号:
/* mnc6.h Most structures used in mnc code are declared here; this could be split into several bits, to avoid having to... .*/typedef struct { int per_row ; /* how many 1s to have per row eg 6 */ int changed ; /* how many rows got changed during the matrix creation */} sparse_cmatrix_param ; typedef struct {#include "dc_var6_str.h"} data_creation_param ;typedef struct { unsigned char *xo , *t ; unsigned char *x , *y , *z ; double *bias ; /* might get set by the decoder if it's a gaussian channel */ int *ibias ; /* used by GAd */ double *n ; /* handy place to put a noise vector */ int *nsum ; /* place to sum up the error-causing noise vectors */ int *histo ; /* histogram of loops-to-convergence *//* scoring department - first, counts for this particular event */ int count ; /* count of number of differences between the state and the true answer */ int count_high ; /* number of high bits in the s vector */ int count_s ; /* number of high bits in the true s vector */ int viols ; /* number of violations by the reconstructed s vector */ /* second, for all time : see dc_var6 */ int M ; /* number of relationship bits */ int N ; /* length of the vector that is being reconstructed */ int NS ; /* how many of the N bits are `signal' bits */ int NN ; /* and noise bits */ int nsfrom , nsto ; /* which bits are the signal */ int nnfrom , nnto ; /* and noise bits */ /* see also loglike in the bndp structure */ double loglike1 ; /* added Tue 4/6/02: log likelihood of the first answer */ double loglike2 ; /* added Tue 4/6/02: log likelihood of the other answer */ } mnc_vectors ; typedef struct { data_creation_param *dc ; fe_min_param *p ; fe_min_control *c ; fe_min_control *c2 ; fe_min_control *c3 ; int controller ; mnc_vectors *vec ; alist_matrix *a ; bnd_control *bndc ; bnd_param *bndp ; GAd_control *GAdc ; /* added Fri 16/2/01 */ GAd_param *GAdp ; /* #include "./GAd.h" is needed */} mnc_all ;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -