GithubHelp home page GithubHelp logo

spm-huffman-coding-compression's Introduction

Compiling and Running Code

  • All the source files, .sh files and the directories (inputs, outputs, fastflow) need to be present in the same root folder.
  • Fastflow library needs to be downloaded in fastflow directory (git cloning would actually make the fastflow directory itself so no need to create it by your ownself).
  • sequential.cpp, parallel.cpp and fastflow-parallel.cpp are the sourcefiles for the sequential, cpp native threads and fastflow implementation respectively.
  • compile.sh can be used to compile the source code for sequential.cpp and parallel.cpp by ./compile.sh <source-file.cpp>. It will make the executable file that could be then run. For the sequential code, the method is to run by ./sequential <input-file-path> <output-file-path> and for parallel (native threads implementation), the method is to run by ./parallel <input-file-path> <output-file-path> <num-threads>. Paths are assumed to be relative to the source files. -compile-fastflow.sh is used to compile the fastflow-parallel.cpp file by ./compile-fastflow.sh fastflow-parallel.cpp. The executable file be generated and can be executed by running the command ./fastflow-parallel <input-file-path> <output-file-path> <num-threads>.

spm-huffman-coding-compression's People

Contributors

anasshamoon12002 avatar

Watchers

 avatar

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.