Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
leo bordy d0e89e4a86 readme 2 роки тому
Diapo readme 2 роки тому
Encoders readme 2 роки тому
SourceGenerator readme 2 роки тому
results readme 2 роки тому
sources readme 2 роки тому
README readme 2 роки тому

README

This project is divided in two parts:

First: the source generator
In order to generate the executable file just launch the MAKEFILE

In order to generate a source you have to modify the const.h file which
contain the different parameters of the source generator. BE CAREFUL the
default parameters are good to have a proper source without strange
characters. I advise to just modify the Probability distribution and
the size of the source.

Second: Encoders
In order to generate the executable file just launch the MAKEFILE

In order to use it you can use this format:
For encode with LZW:
executable_file -LZWencode PATH_TO_SOURCE_FILE PATH_TO_OUTPUT_FILE
if the output file doesn't exist it's will be created
For decode with LZW:
executable_file -LZWdecode PATH_TO_SOURCE_FILE PATH_TO_OUTPUT_FILE
if the output file doesn't exist it's will be created
For encode with Huffman:
executable_file -Huffman PATH_TO_SOURCE_FILE

In order to modify the size of the Huffman block you have to modify it
int he file ./Encoders/inc/const.h


Extra information:
Some source are already available:
source5: is a source with 1000 elements and 4 different letters
source_10_10000 is a source with 10 000 elements and 10 differents letters
source_10_1000000 is a source with 1 000 000 elements and 10 differents letters

If you want to see the result of execution of my algorithm you can consult
this following files.