[ class tree: ] [ index: ] [ all elements ]

Index of all elements

[ c ] [ e ] [ g ] [ ] [ s ] [ t ]

c

compress
in file HuffmanCompress.php, method Text_HuffmanCompress::compress()
    Perform compression.
top

e

expand
in file HuffmanExpand.php, method Text_HuffmanExpand::expand()
    Perform expansion.
example_compress.php
procedural page example_compress.php
example_expand.php
procedural page example_expand.php
top

g

getCompressionRatio
in file HuffmanCompress.php, method Text_HuffmanCompress::getCompressionRatio()
    Calculate compression ration.
getSCodes
in file HuffmanCompress.php, method Text_HuffmanCompress::getSCodes()
    Show info on characters codes created from the Huffman tree.
top

h

Huffman.php
procedural page Huffman.php
HuffmanCompress.php
procedural page HuffmanCompress.php
HuffmanExpand.php
procedural page HuffmanExpand.php
top

s

setFiles
in file HuffmanCompress.php, method Text_HuffmanCompress::setFiles()
    setFiles() is called to specify the paths to the input and output files.
setFiles
in file Huffman.php, method Text_Huffman::setFiles()
    setFiles() is called to specify the paths to the input and output files.
top

t

Text_Huffman
in file Huffman.php, class Text_Huffman
    This class is intented to perform Huffman static compression on files with a PHP script.
Text_HuffmanCompress
in file HuffmanCompress.php, class Text_HuffmanCompress
    Huffman Compression Class
Text_HuffmanExpand
in file HuffmanExpand.php, class Text_HuffmanExpand
    Huffman Expansion Class
top

_

$_codelens
in file HuffmanCompress.php, variable Text_HuffmanCompress::$_codelens
    Array of character code lengths
$_codes
in file HuffmanCompress.php, variable Text_HuffmanCompress::$_codes
    Array of character codes
$_havefiles
in file Huffman.php, variable Text_Huffman::$_havefiles
    Boolean to check files have been passed
$_hroot
in file HuffmanCompress.php, variable Text_HuffmanCompress::$_hroot
    Index of the root of the Huffman tree
$_icarlen
in file Huffman.php, variable Text_Huffman::$_icarlen
    Length of the input carrier at any given time
$_icarrier
in file Huffman.php, variable Text_Huffman::$_icarrier
    Carrier window for reading from input
$_ifhand
in file Huffman.php, variable Text_Huffman::$_ifhand
    Resource handle of the input file
$_ifile
in file Huffman.php, variable Text_Huffman::$_ifile
    Path to the input file
$_ifsize
in file HuffmanCompress.php, variable Text_HuffmanCompress::$_ifsize
    Size of the input file, in bytes
$_nodeChar
in file Huffman.php, variable Text_Huffman::$_nodeChar
    Character representing a Branch Node in Tree transmission
$_nodeCharC
in file Huffman.php, variable Text_Huffman::$_nodeCharC
    The same, character version as opposed to binary string
$_nodes
in file Huffman.php, variable Text_Huffman::$_nodes
    Array of Node objects
$_ocarlen
in file Huffman.php, variable Text_Huffman::$_ocarlen
    Length of the output carrier at any given time
$_ocarrier
in file Huffman.php, variable Text_Huffman::$_ocarrier
    Carrier window for writing to output
$_occ
in file HuffmanCompress.php, variable Text_HuffmanCompress::$_occ
    Array of letter occurrences
$_odata
in file Huffman.php, variable Text_Huffman::$_odata
    Data eventually written to the output file
$_ofhand
in file Huffman.php, variable Text_Huffman::$_ofhand
    Resource handle of the output file
$_ofile
in file Huffman.php, variable Text_Huffman::$_ofile
    Path to the output file
$_ofsize
in file HuffmanExpand.php, variable Text_HuffmanExpand::$_ofsize
    Size of the output file, in bytes
$_ttlnodes
in file HuffmanExpand.php, variable Text_HuffmanExpand::$_ttlnodes
    For use in Huffman Tree reconstruction
_bitRead
in file Huffman.php, method Text_Huffman::_bitRead()
    Bit-reading with a carrier: input 8 bits at a time.
_bitRead1
in file Huffman.php, method Text_Huffman::_bitRead1()
    Read 1 bit.
_bitWrite
in file Huffman.php, method Text_Huffman::_bitWrite()
    Bit-writing with a carrier: output every 8 bits
_bitWriteEnd
in file Huffman.php, method Text_Huffman::_bitWriteEnd()
    Finalizing bit-writing, writing the data.
_decBinDig
in file Huffman.php, method Text_Huffman::_decBinDig()
    Returns the binary representation of $x as a string, over $n digits, with as many initial zeros as necessary to cover that.
__construct
in file HuffmanExpand.php, method Text_HuffmanExpand::__construct()
    Constructor
__construct
in file Huffman.php, method Text_Huffman::__construct()
    Constructor
__construct
in file HuffmanCompress.php, method Text_HuffmanCompress::__construct()
    Constructor
top

Documentation generated on Mon, 11 Mar 2019 13:54:22 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.