diff options
| author | Christoph Berg <myon@debian.org> | 2018-12-19 22:58:32 +0100 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2018-12-19 22:58:32 +0100 |
| commit | e0737c56c1e384e05064a0c6e1ac46979371041b (patch) | |
| tree | a0123d694a2d36c43dabdf0a3907392fce11d457 /lib/ldpc/peg/BigGirth.h | |
| parent | b4aebf2d137b892f53503b13785ecae900062ff7 (diff) | |
New upstream version 2.0.0+repackupstream/2.0.0+repack
Diffstat (limited to 'lib/ldpc/peg/BigGirth.h')
| -rw-r--r-- | lib/ldpc/peg/BigGirth.h | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/lib/ldpc/peg/BigGirth.h b/lib/ldpc/peg/BigGirth.h deleted file mode 100644 index d30a05a1..00000000 --- a/lib/ldpc/peg/BigGirth.h +++ /dev/null @@ -1,54 +0,0 @@ -#ifndef BIGGIRTH -#define BIGGIRTH 1 - -#include <cstdlib> -#include <iostream> // C++ I/O library header -#include "Random.h" - -class NodesInGraph{ - public: - int numOfConnectionParityBit; - int *connectionParityBit; - int numOfConnectionSymbolBit; - int *connectionSymbolBit; - int maxDegParity; - - NodesInGraph(void); - ~NodesInGraph(void); - void setNumOfConnectionSymbolBit(int deg); - void initConnectionParityBit(void); - void initConnectionParityBit(int deg); -}; - -class BigGirth { - public: - int M, N; - int K; - int EXPAND_DEPTH; - const char *filename; - int *(*H); - - int *localGirth; - - NodesInGraph *nodesInGraph; - Random *myrandom; - - BigGirth(int m, int n, int *symbolDegSequence, const char *filename, int sglConcent, int tgtGirth, bool verbose_ = true); - BigGirth(void); - - void writeToFile_Hcompressed(void); - void writeToFile_Hmatrix(void); - void writeToFile(void); - - void loadH(void); - - ~BigGirth(void); - - private: - int selectParityConnect(int kthSymbol, int mthConnection, int & cycle); - void updateConnection(int kthSymbol); - bool verbose; - -}; - -#endif |
