代码搜索:BinaryTree
找到约 1,360 项符合「BinaryTree」的源代码
代码结果 1,360
www.eeworm.com/read/358191/10194497
cpp huffman.cpp
// Huffman tree
#include
#include "minheap.h"
#include "binary.h"
#include "huffman.h"
template
BinaryTree HuffmanTree(T a[], int n)
{// Generate Huffman tree wi
www.eeworm.com/read/358191/10194507
h dbinary.h
// LevelOrder and the private recursive PreOrder,
// InOrder, and PostOrder methods have been changed
// from template functions to BinNode functions because
// Visual C++ is unable to reslove
www.eeworm.com/read/358191/10194521
h abinary.h
// LevelOrder and the private recursive PreOrder,
// InOrder, and PostOrder methods have been changed
// from template functions to Booster functions because
// Visual C++ is unable to reslove ov
www.eeworm.com/read/358191/10194547
h cbinary.h
// LevelOrder and the private recursive PreOrder,
// InOrder, and PostOrder methods have been changed
// from template functions to eType functions because
// Visual C++ is unable to reslove over
www.eeworm.com/read/358191/10194562
h binary.h
// file binary.h
// LevelOrder and the private recursive PreOrder,
// InOrder, and PostOrder mthods have been changed
// from template functions to integer functions because
// Visual C++ is u
www.eeworm.com/read/358191/10194607
h bbinary.h
// LevelOrder and the private recursive PreOrder,
// InOrder, and PostOrder methods have been changed
// from template functions to DataType functions because
// Visual C++ is unable to reslove o
www.eeworm.com/read/358191/10194695
h huffman.h
#ifndef Huffman_
#define Huffman_
template
class Huffman {
friend BinaryTree HuffmanTree(T [], int);
public:
operator T () const {return weight;}
private:
www.eeworm.com/read/280401/10332409
cpp btree.cpp
/**************************************************
* Essential C++ -- Stanley Lippman
* Addison-Wesley
* ISBN 0-201-48518-4
* homepage: www.objectwrite.com
* email: slippman@objectwrite.co
www.eeworm.com/read/425689/10336953
cpp huffman.cpp
//
// 霍夫曼(huffman)编码/解码实现
//
#include
#include "binarytree.h"
#include "minheap.h"
#define MAX 100
// 定义输入的符号信息
class Symbol {
friend class Huffman;
private:
char data;
www.eeworm.com/read/161587/10394654
h btnode2.h
#ifndef BinaryTreeNode_
#define BinaryTreeNode_
template class BinaryTree;
template class BSTree;
template class DBSTree;
template
c