mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 22:47:29 +08:00
31 lines
985 B
C
31 lines
985 B
C
|
/// \file
|
||
|
/// \brief \b [Internal] A single node in the Huffman Encoding Tree.
|
||
|
///
|
||
|
/// This file is part of RakNet Copyright 2003 Kevin Jenkins.
|
||
|
///
|
||
|
/// Usage of RakNet is subject to the appropriate license agreement.
|
||
|
/// Creative Commons Licensees are subject to the
|
||
|
/// license found at
|
||
|
/// http://creativecommons.org/licenses/by-nc/2.5/
|
||
|
/// Single application licensees are subject to the license found at
|
||
|
/// http://www.rakkarsoft.com/SingleApplicationLicense.html
|
||
|
/// Custom license users are subject to the terms therein.
|
||
|
/// GPL license users are subject to the GNU General Public
|
||
|
/// License as published by the Free
|
||
|
/// Software Foundation; either version 2 of the License, or (at your
|
||
|
/// option) any later version.
|
||
|
|
||
|
#ifndef __HUFFMAN_ENCODING_TREE_NODE
|
||
|
#define __HUFFMAN_ENCODING_TREE_NODE
|
||
|
|
||
|
struct HuffmanEncodingTreeNode
|
||
|
{
|
||
|
unsigned char value;
|
||
|
unsigned weight;
|
||
|
HuffmanEncodingTreeNode *left;
|
||
|
HuffmanEncodingTreeNode *right;
|
||
|
HuffmanEncodingTreeNode *parent;
|
||
|
};
|
||
|
|
||
|
#endif
|