Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions TUTORIAL.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ The next step is to create `CodedPacket`s that can be transmitted and combined.
```
CodedPacket[] codewords = new CodedPacket[blockNumber];

for ( int i = 0 ; i < blockNumber ; i++) {
for ( int i = 0 ; i < blockNumber ; i++) */ for loop is a repetition control structure that allows you to efficiently write a loop that needs to execute a specific number of times,here specific numbers of times is less than block number
{
codewords[i] = new CodedPacket( inputPackets[i], blockNumber, ff);
}
```
Expand Down Expand Up @@ -76,4 +77,4 @@ for ( int i = 0; i < blockNumber ; i++) {

```

Every time a packet is added the decoder tries to decode as much as it can and returns the blocks it was able to decode.
Every time a packet is added the decoder tries to decode as much as it can and returns the blocks it was able to decode.