代码搜索:haffmantree
找到约 33 项符合「haffmantree」的源代码
代码结果 33
www.eeworm.com/read/260582/11718578
java haffmantree.java
package haff;
public class HaffmanTree //构造哈杜曼树和编码的类
{
static final int maxValue=10000;
private int nodeNum;
public HaffmanTree(int n)
{
nodeNum=n;
}
public void haffman(int[] w
www.eeworm.com/read/260582/11718581
class haffmantree.class
www.eeworm.com/read/221812/14719611
h haffmantree.h
struct HaffNode
//哈夫曼树的结点结构
{
int weight; //权值
int flag; //标记
int parent; //双亲结点下标
int leftChild; //左孩子下标
int rightChild; //右孩子下标
};
struct Code
//存放哈
www.eeworm.com/read/221812/14719613
cpp haffmantree.cpp
#include
#include
const int MaxValue = 10000; //初始设定的权值最大值
const int MaxBit = 4; //初始设定的最大编码位数
const int MaxN = 10; //初始设定的最大结点个数
#include "HaffmanTree.h
www.eeworm.com/read/220892/14785281
java haffmantree.java
public class HaffmanTree{
static final int maxValue = 10000; //最大权值
private int nodeNum; //叶结点个数
public HaffmanTree(int n){
nodeNum = n;
}
public void haffman(int[] weight, HaffN
www.eeworm.com/read/415253/11078975
cpp haffmantree.cpp
#include
#include
#include
#include
#include
typedef struct{
int weight;
int lchild;
int rchild;
}HTNode;
typedef struct{
HTNode *
www.eeworm.com/read/201037/15417937
h haffmantree.h
struct HaffNode
//哈夫曼树的结点结构
{
int weight; //权值
int flag; //标记
int parent; //双亲结点下标
int leftChild; //左孩子下标
int rightChild; //右孩子下标
};
struct Code
//存放哈
www.eeworm.com/read/201037/15417938
cpp haffmantree.cpp
#include
#include
const int MaxValue = 10000; //初始设定的权值最大值
const int MaxBit = 4; //初始设定的最大编码位数
const int MaxN = 10; //初始设定的最大结点个数
#include "HaffmanTree.h
www.eeworm.com/read/111298/15514950
h haffmantree.h
struct HaffNode
//哈夫曼树的结点结构
{
int weight; //权值
int flag; //标记
int parent; //双亲结点下标
int leftChild; //左孩子下标
int rightChild; //右孩子下标
};
struct Code
//存放哈
www.eeworm.com/read/111298/15514951
cpp haffmantree.cpp
#include
#include
const int MaxValue = 10000; //初始设定的权值最大值
const int MaxBit = 4; //初始设定的最大编码位数
const int MaxN = 10; //初始设定的最大结点个数
#include "HaffmanTree.h