Open main menu

CDOT Wiki β

ParaCode

Revision as of 01:20, 23 February 2018 by Qchen102 (talk | contribs) (Project: LZW Compress)

Project Name Goes here

Team Members

  1. Qiliang Chen
  2. Xuan Dinh Truong

Progress

Assignment 1

Project: LZW Compress

Introduction:

LZW stand for "Lempel–Ziv–Welch". It is a universal lossless data compression algorithm which is widely use in compressing software. It is widely used in image compress and Unix file compress. Here is a project example of LZW compressing written by c++. Here's the link for more details: https://codereview.stackexchange.com/questions/86543/simple-lzw-compression-algorithm

Basic Compile Command:(Linux)

 g++ -std=c++0x lzw.c -o lzw

To Execute Projet

  • Compress file:
 ./lzw -c file.txt
  • Decopress file:
 ./lzw -d file.txt


Profile

We have compress and profile for 3 different size files. The runtime for each is shown below:  

To see runtime for each function, see below:  

Here is graphic:  

Float profile (54.3MB, change to txt and simplify):  

Assignment 2

Assignment 3