Git Product home page Git Product logo

multiple-source-decoding's People

Contributors

murkaje avatar soulyyy avatar

Watchers

 avatar  avatar  avatar

multiple-source-decoding's Issues

Review existing code

The main point of this task is to go over the existing code and make sure that it is readable.

  • Make sure that the current code is tested correctly, thinking about edge cases
  • Standard code review
  • General comments on what could be improved. In example, is it wise to test object equals via toString methods

Reading input

In terms of this task, Read the input and confirm that it is in binary.

  • Check whether input exists
  • Check that the input is a binary string(a String consisting of 0 and 1)
  • On failure, throw an IllegalArgumentException

Research web frameworks

The primary focus would be on boot alternatives and how to implement the web part of the project.
An investigation task, to see what's out there and what the modern web stack should consist of. Focus should be on async as much as possible.

Viterbi Algorithm

  • Take a convoluted binary String as input along with the 5,7 Trellis
  • Implement backwards Viterbi decoder
    • TO DO
  • On failure throw IllegalStateException

Trellis Creation

  • As input, take the 5,7 matrix(hardcoded)
  • Implement a circular Trellis
    • Take the convolution calculator, compute the convolutional values for all four combinations(00, 01,10,11)
    • Create node objects for these values, containing the initial value and convoluted value
    • Create connections between nodes(the first element changes)
    • Since the number of matrices is 1, link these values back to the corresponding nodes(all nodes are
      represented, so only four nodes are needed in total)
    • Implement stream like functionality which takes in two binary characters(as strings) in at a time and
      outputs three, applying the convolution formula
    • Collect this result to a new String
  • Add encoding using the trellis
  • On failure, throw IllegalStateException

Implement multi matrix encoding and decoding

For this, we just want to pass in lists of matrices instead of one matrix.
This means that we either pass in a list of filenames to use as a circular queue of sorts or encode multiple matrices in one file.
I prefer the second solution, due to potential issues while debugging.
Then we also need to rework trellis generation and iteration.

Convolutional Encoding

  • Assume input as a binary string(i.e. "010101011000")
  • Use a 5,7 matrix as a starting point
  • Implement the convolution function (a1,a2) -> (a1 + a2, a2, a1+a2) based on a 5,7 matrix
  • On failure, throw IllegalStateException

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.