登录
首页 » c++ » 快速行进算法

快速行进算法

于 2022-08-26 发布 文件大小:847.40 kB
0 18
下载积分: 2 下载次数: 1

代码说明:

快速行进算法,运用c++语言,对构建voronoi图有很好的效果。其原理是以每个点为种子点,然后以相同或不同的速度以圆形往外扩散,直到两圆相交,即得到voronoi图的边界

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

发表评论

0 个回复

  • 哈夫曼编码
    (1)、I:初始化(Initialization)。从终端读入字符集大小n,以及n个字符和n个权值,建立哈夫曼树,并将它存于文件hfmTree中。 (2)、E:编码(Encoding)。利用以建好的哈夫曼树(如不在内存,则从文件hfmTree中读入),对文件ToBeTran中的正文进行编码,然后将结果存入文件CodeFile中。 (3)、D:译码(Decoding)。利用已建好的哈夫曼树将文件CodeFile中的代码进行译码,结果存入文件TextFile中。 (4)、P:印代码文件(Print)。将文件CodeFile以紧凑格式显示在终端上,每行50个代码。同时将此字符形式的编码文件写入文件CodePrin中。 (5)、T:印哈夫曼树(Tree printing)。将已在内存中的哈夫曼树以直观的方式(树或凹入表形式)显示在终端上,同时将此字符形式的哈夫曼树写入文件TreePrint中((1), I: initialization (Initialization). From the terminal to read the character set size n, as well as n characters and N weights, build Huffman tree and save it in file hfmTree. (2), E: Code (Encoding). Using the built Huffman tree (if not in memory, read from the file hfmTree), the text in the file ToBeTran is encoded, and the result is stored in the file CodeFile. (3), D: decoding (Decoding). Using the built Huffman tree to decode the code in file CodeFile, the result is stored in file TextFile. (4), P: printed code file (Print). The file CodeFile is displayed in a compact format on the terminal, with 50 codes per line. At the same time, the encoding file of this character form is written to file CodePrin. (5), T: Tree printing. The Hoffman tree, already in memory, is displayed on the terminal in an intuitive way (tree or concave form), and the Hoffman tree of this character is written into the file TreePrint.)
    2018-06-05 09:11:16下载
    积分:1
  • LED
    这个程序是设计了一个LED圣诞树的作品。炫彩美观。(This program is designed to work with a LED Christmas tree. Bright and beautiful.)
    2014-03-16 16:27:14下载
    积分:1
  • Freertos log日志
    2022-08-15 05:52:25下载
    积分:1
  • MatrixManip
    this code is a matrix with 4 operation
    2011-06-23 17:56:38下载
    积分:1
  • trees
    基于mfc下的利用opengl绘制的一个,鼠标左键点击之后树叶开始像在风中一样摇曳(Based on the use of opengl MFC drawings of a, mouse the left key click leaves begin to like in the wind after as flare )
    2020-12-21 21:39:08下载
    积分:1
  • USB读卡器实验
    stm32f4USB声卡设置,运行与测试等,开发平台KEIL,希望对大家有帮助(Stm32f4 handwriting settings, running and testing, development platform KEIL, we want to help)
    2017-08-15 11:30:30下载
    积分:1
  • Four-CPU-scheduling-algorithm
    用c++实现的CPU四种调度算法,简单易懂(With c++ implementation of the four types of CPU scheduling algorithm, simple to understand)
    2015-01-08 17:22:21下载
    积分:1
  • PT100_STC1256xxAD
    STC1256xxAD系列MCU实现8路PT100温度巡回检查程序,温度过高或过低报警。(STC1256xxAD Series MCU achieve 8 PT100 temperature roving inspection procedures, high or low temperature alarm.)
    2014-02-22 15:46:37下载
    积分:1
  • c#计时器
    c#计时器给体验店用的,具有正计时倒计时功能,语音提示开始结束。具有日志
    2023-03-12 08:50:03下载
    积分:1
  • MPU6050六轴传感器实验
    说明:  基于stm32F103的MPU6050数据读取(MPU6050 data reading based on stm32F103)
    2020-06-21 15:00:02下载
    积分:1
  • 696518资源总数
  • 104224会员总数
  • 54今日下载