#include #include #include #include typedef struct Elementtype* Elementtypep; typedef struct htinfo* hashtable; int findht…
HT-IDE3000 源代码
汇集 HT-IDE3000 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
/* PROB: starry LANG: C++ */ /* 这道题应该算是比较简单,而且数据比较弱,提交后发现竟然才5组数据~ 我做时,先是h*w的枚举,然后对于每个以前没处理过的点,进行floodfill,先都填成*,记录过程中的坐标范围,然…
/* Huffman编码程序 主要是建立Huffman编码和译码 BY:wangyucao */ #include #include #include #include #include #include #include #defin…
/********************************************************************** Copyright (c) 1991 MPEG/audio software simulation group, …
// algo6-1.cpp 求赫夫曼编码。实现算法6.12的程序 #include"c1.h" #include"c6-7.h" int min(HuffmanTree t,int i) { // 函数void select()调用 …
// algo6-2.cpp 实现算法6.13的程序,前半部分与algo6-1.cpp同 #include"c1.h" #include"c6-7.h" int min(HuffmanTree t,int i) { // 函数void se…
// file Chash.h #ifndef ChainedHashTable_ #define ChainedHashTable_ #include #include #include "sochain.h" // sorted chai…
// file Chash.h #ifndef ChainedHashTable_ #define ChainedHashTable_ #include "sochain.h" // sorted chain #include templa…
// file Chash.h #ifndef ChainedHashTable_ #define ChainedHashTable_ #include #include #include "sochain.h" // sorted chai…
function y=ksw(t,mingrayvalue,maxgrayvalue,hist1,HT) %计算最佳直方图熵(KSW熵) Pt=0; for i=mingrayvalue:t …