登录
首页 » Visual C++ » LW-LZ78

LW-LZ78

于 2014-04-27 发布 文件大小:1KB
0 249
下载积分: 1 下载次数: 9

代码说明:

     实现以下的无损数据压缩方法    LZ78和LZW算法; 给定若干个输入的字符串流,应用所编写的算法实现压缩,计算压缩比,然后再将压缩的码流进行解码,同输入的字符串流进行比较,判断输入输出码流是否一致。(Achieve the following lossless LZ78 and LZW data compression algorithm certain algorithms to a given input string stream to achieve compression applications written to calculate the compression ratio, and then decoding the compressed code stream, with the stream input string , and determines the input and output streams are the same.)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • client-server
    多协议文件传输c/s网络应用设计与实现,程序用 TCP/UDP 两个协议模拟多协议服务器。首先服务器端要将两种协议的套接字创建好,并且监听 TCP 端口的连接。必要时使用select函数来进行多连接处理和非阻塞处理。而客户端直接可以按照发送的地址和端口号来进行通讯。 首先要运行服务器端,服务器会监听 TCP 端口。然后运行客户端,根据事先设定好的 IP和端口,就可以进行连接传输数据了。 程序实现的关键步骤: 以TCP协议为例 服务器端: 1.创建套接字;2.绑定端口;3.进入无穷的循环;4.接收请求;5.处理请求;6.应答。 客户端: 1.找到服务器的IP地址和协议的端口号;2.创建套接字;3.确定连接需要任意的,没有使用的端口号允许TCP去选择一个;4.将套接字和服务器连接;5.使用应用层协议和服务器交互;6.关闭连接。 (Multi-protocol file transfer c/s network application design and implementation of programs simulate multi-protocol server with TCP/UDP both protocols. First socket server to create a good two protocols, TCP port and listens for connections. If necessary, use the function to handle multiple connections and non-blocking treatment. And the client can follow directly address and port number to communicate. First run on the server side, the server listens on TCP port. Then run the client, according to pre-configured IP and port, you can connect the data transmission. The key step program implementation: In TCP protocol as an example Service-Terminal: 1. Create a socket 2 bound port 3 enter an infinite loop 4. receiving a request 5. processing requests 6 response. Clients: 1. Locate the server s IP address and protocol port number 2 creates a socket 3 connections need to determine arbitrary, unused port allows TCP to choose a 4 and the socket server connections 5 using appli)
    2016-07-11 10:19:07下载
    积分:1
  • 200682821544341218
    易语言超简单水浒Q传自动打怪 易语言超简单水浒Q传自动打怪 易语言超简单水浒Q传自动打怪 (easy-language simple Shuihu Q-automatic Daguai eas y-language simple Shuihu Q-automatic Daguai eas y-language simple Shuihu Q-automatic Daguai easy-simple language Water Margin Q-automatic Daguai)
    2021-01-28 01:28:40下载
    积分:1
  • sdram
    嵌入式Linux应用开发完全手册一书中关于sdram的测试程序(Embedded Linux Application Development Guide, a book about sdram full test procedures)
    2016-02-09 00:05:21下载
    积分:1
  • Control
    VC编写Excel表格,增加,修改,删除,同时进行数据库的操作(visual c++ read writeexcel sheet,add ,delete,update excel field,and insert data base)
    2016-10-19 14:25:06下载
    积分:1
  • game
    说明:  实现游戏程序的源代码,运行很好,功能都已实现了。(Procedures to achieve the game)
    2008-11-26 23:17:16下载
    积分:1
  • cricket.cpp
    this code makes us to play cricket
    2016-03-31 18:49:55下载
    积分:1
  • xuliehua
    vc基本序列化的程序源码,希望对大家有所帮助(vc basic sequence of the program source code, we want to help)
    2011-06-05 22:20:23下载
    积分:1
  • poj3941
    poj 3941 Hideyuki is allowed by his father Ujisato some 1000 yen bills every month for his pocket money. In the first day of every month, the number of bills is decided as follows. Ujisato prepares n pieces of m-sided dice and declares the cutback k. Hideyuki rolls these dice. The number of bills given is the sum of the spots of the rolled dice decreased by the cutback. Fortunately to Hideyuki, Ujisato promises him to give at least one bill, even if the sum of the spots does not exceed the cutback. Each of the dice has spots of 1 through m inclusive on each side, and the probability of each side is the same. In this problem, you are asked to write a program that finds the expected value of the number of given bills. (poj 3941 Hideyuki is allowed by his father Ujisato some 1000 yen bills every month for his pocket money. In the first day of every month, the number of bills is decided as follows. Ujisato prepares n pieces of m-sided dice and declares the cutback k. Hideyuki rolls these dice. The number of bills given is the sum of the spots of the rolled dice decreased by the cutback. Fortunately to Hideyuki, Ujisato promises him to give at least one bill, even if the sum of the spots does not exceed the cutback. Each of the dice has spots of 1 through m inclusive on each side, and the probability of each side is the same. In this problem, you are asked to write a program that finds the expected value of the number of given bills.)
    2013-07-16 20:45:28下载
    积分:1
  • builtin
    qt内建对话框,对qt中提供的对话框进行了系统归纳和总结,并在逐个演示。(qt built-in dialog box, on the qt dialog boxes provided in the system and summarized, and in one by one presentation.)
    2011-08-16 09:00:45下载
    积分:1
  • CPAnalyze
    这是一个采集数据的客户端,调用了模拟鼠标和键盘WINDOW api(This is a collection of client data, called simulated mouse and keyboard WINDOW api)
    2017-01-16 15:04:08下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载