-
Robot vacuum cleaners cover the whole source simulation algorithm, in the hope t...
吸尘机器人全覆盖算法仿真源码,希望对大家有用-Robot vacuum cleaners cover the whole source simulation algorithm, in the hope that useful to everybody
- 2022-02-02 05:11:16下载
- 积分:1
-
c/c++ 二叉树遍历先序中序 后序层次遍历算法
c/c++ 二叉树遍历先序中序 后序层次遍历算法 包括递归和对应的非递归算法,建立二叉搜索树,层次输出二叉搜索树。
- 2022-05-30 05:45:26下载
- 积分:1
-
一个简单的递归实现八皇后算法
一个简单的递归实现八皇后算法-a simple recursive algorithm to achieve eight Queen"s
- 2022-04-14 18:07:05下载
- 积分:1
-
天气决策树源代码
用Information
Gain构造决策树的方法。
计算各分支的熵
“晴”的分支含2个正例3个反例,所需期望信息量为:
M(天况为晴)=-2/5 * log2 (2/5)-3/5 * log2 (3/5)
= 0. 971 bits
“多云”的分支,含4个正例0个反例:
M(天况为多云)=0
“雨”的分支,含3个正例2个反例:
M(天况为雨)=-3/5 * log2 (3/5)-2/5 * log2 (2/5)
- 2023-03-06 04:15:04下载
- 积分:1
-
基于模板的圆检测算法,很好的程序,看了都说不错
基于模板的圆检测算法,很好的程序,看了都说不错-based on the template circle detection algorithms, good procedures, said good read
- 2022-04-02 08:04:45下载
- 积分:1
-
用C++编写的拉格朗日插值算法
用C++编写的拉格朗日插值算法-C Lagrange prepared by the interpolation algorithm
- 2023-04-12 09:55:03下载
- 积分:1
-
四轴源码以及原理图
小四轴的源码以及原理图 #include "led.h"#include "delay.h"#include "sys.h"#include "key.h"#include "usart.h"#include "exti.h"#include "wdg.h"#include "timer.h"#include "pwm.h"#include "lcd.h"#include "MPU6050.h"#include "lsm330.h"u8 SPI1_Buffer_Rx1[6]="432423";s16 SPI1_Buffer_Rx[30];u8 k = 0;void SPI_Configuration(){ SPI_InitTypeDef SPI_InitStructure; /* SPI1 Config -------------------------------------------------------------*/ SPI_InitStructure.SPI_Direction = SPI_Direction_2Lines_FullDuplex; SPI_InitStructure.SPI_Mode = SPI_Mode_Master; SPI_InitStructure.SPI_DataSize = SPI_DataSize_8b; SPI_InitStructure.SPI_CPOL = SPI_CPOL_High; SPI_
- 2023-03-12 15:55:03下载
- 积分:1
-
用C实现的AES文件
document of Implementation AES with c-document of Implementation AES with c++
- 2022-02-02 17:16:08下载
- 积分:1
-
利用变步长来计算积分,该算法中用到步长的折半方法。
利用变步长来计算积分,该算法中用到步长的折半方法。-use variable step to calculate integrals, the algorithm uses the half step method.
- 2022-06-20 02:56:02下载
- 积分:1
-
算法设计与分析 哈夫曼树及哈夫曼编码 贪心算法
一个记录字符及出现频率的文件如下所示:huffman.haf7a,45b,13c,12d,16e,89f,34g,20试编写一个读取此种格式文件类CHuffman, 内部机制采用优先队列,用于建立Huffman树及进行Huffman编码输出,其用法可以如下所示: CHuffman hm("hu
- 2022-03-10 07:52:22下载
- 积分:1