You have chosen to sponsor your bid up to a maximum amount of .
This project is an implementation of a Modified Linear Block Code (MLBC) from the class of Partitioned Linear Codes capable of dealing with both random transmission errors as well as stuck bits with the assumption that the location and nature of the stuck bits are known to the encoder but not to the decoder.
The code should be written preferably in C or C++ but Objective C is also fine. I need the following two functions implemented:
1. Encode - takes as parameters an ASCII string (the message) and some kind of stream indicating where the stuck bits are. This method should return the encoded stream in binary.
2. Decode - takes as parameters a binary stream (with possible errors since MLBC is an error correcting algorithm). This method should return the decoded ASCII string.
The code should be efficient and well commented so that I can modify the encode or decode methods if necessary. I plan to integrate these into a larger project. I have attached two research papers which fully describe the implementation details of these block codes in depth.