Click here to Skip to main content
15,885,278 members
Articles / Programming Languages / C++

Patricia and Huffman, Sitting in a Trie

Rate me:
Please Sign up or sign in to vote.
4.54/5 (24 votes)
27 Dec 200410 min read 137.2K   2.2K   39  
Article demonstrates a text-based Patricia trie and adds new text-compression features.
<style>
<!--
body
{
font-family: Verdana;
font-size: 10px;
}
	
h2
{
font-family: Verdana;
font-size: x-large;
text-decoration:underline;
}

table
{
border: 1px black double;
}

th
{
background-color: Orange;
padding: 3px;
}

td
{
	background-color: #FFD700;
	padding: 3px;
}
	
.box
{
border: 1pt dotted black;
padding: 10px;
width: 680px;
margin: 10px;
}

.information
{
	background-color: #99CCFF;
	color: #000000;
}

.function
{
border: 0px;
border-left: 4px;
border-left-color: #99CCFF;
border-left-style: solid;
border-left-width: 4px;
font-size: 11px;
background: #F5F5F5;
}

.title
{
	background-color: #FFA500;
	color: #000000;
}

.right
{
float: right;
margin: 4px;
}

.left
{
float: left;
margin: 4px;
}
	
a
{
text-decoration: underline;
color: Gray;
}

a:hover, a:active
{
text-decoration: none;
color: #000000;
}

.return
{
color: Orange;
}

ol, ul
{
margin-top: 5px;
}

li
{
margin-bottom: 5px;
}
  
//-->
</style>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Software Developer
United Kingdom United Kingdom
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions