Skip to content

Commit

Permalink
added group_len()
Browse files Browse the repository at this point in the history
  • Loading branch information
xdsopl committed Dec 8, 2018
1 parent 0b59a4b commit b809251
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ldpc.hh
Expand Up @@ -12,6 +12,7 @@ struct LDPCInterface
virtual LDPCInterface *clone() = 0;
virtual int code_len() = 0;
virtual int data_len() = 0;
virtual int group_len() = 0;
virtual int links_total() = 0;
virtual int links_max_cn() = 0;
virtual int bit_deg() = 0;
Expand Down Expand Up @@ -64,6 +65,10 @@ public:
{
return K;
}
int group_len()
{
return M;
}
int links_total()
{
return TABLE::LINKS_TOTAL;
Expand Down

0 comments on commit b809251

Please sign in to comment.