Difference between revisions of "ParaCode"
(→Project: LZW Compress) |
(→Project: LZW Compress) |
||
Line 31: | Line 31: | ||
''' Profile ''' | ''' Profile ''' | ||
− | We have compress and profile for 3 different size files. The runtime for each is shown below: | + | We have compress and profile for 3 different size files. The runtime for each is shown below:<br> |
[[File:Screen Shot 2018-02-23 at 12.55.32 AM.png|400px]] | [[File:Screen Shot 2018-02-23 at 12.55.32 AM.png|400px]] | ||
− | To see runtime for each function, see below: | + | To see runtime for each function, see below:<br> |
[[File:Screen Shot 2018-02-23 at 1.02.40 AM.png|650px]] | [[File:Screen Shot 2018-02-23 at 1.02.40 AM.png|650px]] | ||
− | Here is graphic: | + | Here is graphic:<br> |
[[File:Screen Shot 2018-02-23 at 12.42.51 AM.png|600px]] | [[File:Screen Shot 2018-02-23 at 12.42.51 AM.png|600px]] | ||
− | Float profile: | + | Float profile:<br> |
− | Here is the float profile sample for compressing file which has size 54.3MB, float profile is changed to .txt and is simplified) | + | |
+ | Here is the float profile sample for compressing file which has size 54.3MB, float profile is changed to .txt and is simplified)<br> | ||
[[File:Screen Shot 2018-02-23 at 1.20.32 AM.png|600px]] | [[File:Screen Shot 2018-02-23 at 1.20.32 AM.png|600px]] | ||
=== Assignment 2 === | === Assignment 2 === | ||
=== Assignment 3 === | === Assignment 3 === |
Revision as of 10:26, 6 March 2018
GPU610/DPS915 | Student List | Group and Project Index | Student Resources | Glossary
Contents
Team Members
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:
Float profile:
Here is the float profile sample for compressing file which has size 54.3MB, float profile is changed to .txt and is simplified)