代码搜索:HuffmanTree
找到约 903 项符合「HuffmanTree」的源代码
代码结果 903
www.eeworm.com/read/439952/7696812
opt huffmantree.opt
www.eeworm.com/read/439952/7696816
dsw huffmantree.dsw
Microsoft Developer Studio Workspace File, Format Version 6.00
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
###############################################################################
www.eeworm.com/read/439952/7696819
plg huffmantree.plg
Build Log
--------------------Configuration: huffmantree - Win32 Debug--------------------
Command Lines
Creating temporary file "C:\DOCUME~1\A
www.eeworm.com/read/397832/8019829
c huffmantree.c
#include
#include
#include
#include
#define true 1
#define false 0
typedef struct{
int weight,parent,lc,rc;
}HNode,*HTree;
typedef char **HCode;
void
www.eeworm.com/read/196250/8109480
h huffmantree.h
#include
#include
#include
using namespace std;
struct HuffmanNode //定义哈夫曼树各结点
{
int weight; //存放结点的权值,假设只考虑处理权值为整数的情况
int parent; //记录结点父亲位置,-
www.eeworm.com/read/196250/8109492
cpp huffmantree.cpp
#include"HuffmanTree.h"
#include
using namespace std;
//////////////////////////////////////////////////////////////////////////////
// 构造函数
// 函数功能:将结点指针初始化为NULL
// 函数参数:无
// 参数返
www.eeworm.com/read/196018/8118332
m huffmantree.m
%%%%%%%%%%%%%%%%%%%%%%%%% HuffmanTree %%%%%%%%%%%%%%%%%%%%%%%%
function htree = HuffmanTree(pro)
%
%
n=size(pro,2);
tree=ones(6,2*n-1);
tree(1,:)=1:(2*n-1);
tree(5,n+1:end
www.eeworm.com/read/146126/12668492
cpp huffmantree.cpp
// Huffman tree
#include
#include "minHeap.h"
#include "linkedBinaryTree.h"
#include "huffmanNode.h"
using namespace std;
template
linkedBinaryTree* huffmanTree(
www.eeworm.com/read/245227/12809487