-
数据结构-算法-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
-
矩阵乘法,算法源代码
矩阵相乘问题的算法源程序-matrix multiplication, the algorithm source code
- 2022-04-15 20:53:47下载
- 积分:1
-
随机数生成程序
随机数生成程序- Random number production procedure
- 2023-09-06 03:05:04下载
- 积分:1
-
自适应小波分析
作为小波变换的推广,线性调频小波变换在对信号进行时频表示时具有更多的自由度,是对非平稳信号进行时频分析的有力工具,在视频平面上,常见的小波变换是零阶逼近,而线性调频小波是一阶逼近。
- 2023-05-07 02:45:02下载
- 积分:1
-
二叉树的最短路径
二叉树的最短路径-binary tree is the shortest path
- 2022-04-15 11:05:58下载
- 积分:1
-
大名鼎鼎的海洋数值计算模型
大名鼎鼎的海洋数值计算模型-pom模型源代码及说明书和示例,推荐一下,-famous marine numerical model-pom model specification and the source code and examples, recommended that huh
- 2022-01-25 18:31:12下载
- 积分:1
-
用几种规则控制倒立摆的模糊运动的程序
用几种规则控制倒立摆的模糊运动的程序-Several rules of fuzzy control of inverted pendulum movement procedures
- 2023-07-07 14:10:03下载
- 积分:1
-
under Gcc compiler,sd card and mmc card basic functions
under Gcc compiler,sd card and mmc card basic functions-under may refer compiler, sd card and basic functions mmc card
- 2022-03-22 08:50:16下载
- 积分:1
-
data mining algorithms decision tree classification algorithm presentations and...
数据挖掘分类算法决策树学习算法介绍以及SEE5的使用说明-data mining algorithms decision tree classification algorithm presentations and the use SEE5
- 2023-04-10 22:10:04下载
- 积分:1
-
计算机图形学(二维图形的创建)
计算机图形学中二维几何的变换包括:
基本的二维几何变换、矩阵表示和齐次坐标、逆变换、二维复合变换、几何变换的光栅方法、OpenGL光栅变换、二维坐标系间的变换,其中最重要的是OpenGL二维几何变换函数。
- 2022-02-26 15:10:56下载
- 积分:1