-
迭代加深八数码
#include
#include
using namespace std;//变量声明
class EiNum;
#define MAX 20//MAX为最大的迭代深度
int depth;//当前树的最大深度
EiNum * root[MAX + 1];//重复当前的路径
//交换两个数
void Swap(int &a,int &b) {
int temp;
temp = a;
a = b;
b
- 2022-08-10 21:09:51下载
- 积分:1
-
LDL 分解源码。从文件输入数据,编译运行后结果输出在输出文件中。...
LDL 分解源码。从文件输入数据,编译运行后结果输出在输出文件中。-LDL decomposition source. Import data from the document, compiled the results after the operation output in the output document.
- 2022-07-18 02:37:59下载
- 积分:1
-
computer calendar (including discriminant whether a leap year)
计算机日历程序 (包括判别是否闰年)-computer calendar (including discriminant whether a leap year)
- 2022-02-20 07:35:21下载
- 积分:1
-
最优化课程中要用到的所有最优化算法,全都经过验证
最优化课程中要用到的所有最优化算法,全都经过验证-Optimization of the curriculum used in all optimization algorithms, all verified
- 2022-01-31 22:58:06下载
- 积分:1
-
数据挖掘中频繁项挖掘Aporial算法
该算法实现了数据挖掘中基于候选集的频繁项的挖掘,对于训练数据的处理,我们使用一个hashmap表来模拟初始阶段的数据,让后根据支持度来从候选集中找出满足支持度的频繁项,然后进行下一层的频繁项挖掘
- 2023-09-02 10:30:03下载
- 积分:1
-
约瑟夫问题
约瑟夫问题是一个经典的问题。已知n个人(不妨分别以编号1,2,3,…,n 代表)围坐在一张圆桌周围,从编号为 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2022-06-19 18:25:03下载
- 积分:1
-
基于最小堆的Huffman算法c语言实现;
基于最小堆的Huffman算法c语言实现;时间复杂度:O(n*lg(n));空间复杂度:O(n*lg(n));
- 2022-03-19 08:51:16下载
- 积分:1
-
音频信号采集
能够完成对于MP3 等文件的信息,音频信号进行采集与输出
例如:文件头的歌曲名、歌手等
由于MP3是二进制文件,因此主要根据断点来进行编码实行
- 2023-08-08 21:50:04下载
- 积分:1
-
数据结构-算法-C语言-Demo
#ifndef _BINARY_TREE_H_INCLUDED#define _BINARY_TREE_H_INCLUDED#include #include templatestruct Bintree_node {T element;Bintree_node* lchild;Bintree_node* rchild;explicit Bintree_node(const T& elem=T(), Bintree_node* lchd=0, Bintree_node* rchd=0): element(elem), lchild(lchd), rchild(rchd) {}};templateclass Binary_tree {public:typedef Bintree_node* PBtn;Binary_tree();virtual ~Binary_tree();void clear();int depth() const;int size() const;virtual PBtn find(const T& elem) const=0;virtual void insert(const T& elem)=0;virtual void erase(const T& elem)=0;virtual void print(std::ostream& output) const=0;void print_tree(std::ostream& output) const;protected:
- 2022-01-29 04:39:50下载
- 积分:1
-
实用欧拉算法实现常微分方程的离散化!是非常经典的算法
实用欧拉算法实现常微分方程的离散化!是非常经典的算法-practical Euler algorithm Ordinary Differential Equations discrete! It is very classic algorithm! !
- 2023-05-07 13:40:02下载
- 积分:1