-
数据结构-算法-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
-
HDU1010迷宫问题
POJ1010迷宫问题的的源码,采用了搜索+剪枝
思想:由于本题中规定只有在固定时刻到达目的点才能逃脱,
不能提早,更不能延迟,故不能用bfs。可以用dfs找出所有情况,
若有可行解,直接返回即可。本题比较郁闷的是,在tzc上将方向
数组int dir[4][2]稍微变动两下,就会超时。
- 2023-05-07 02:15:03下载
- 积分:1
-
时差,时差
资源描述对于无需绝对坐标确定的应用程序进行评估,一个更简单的解决方案的实施是有利的。相比多为 概念;清晰的定位,另一个选择是 ;模糊定位,这里只是一个距离提供检测和检测对象之间的关系。这个最简单的方法是unilateration。然而,这种方法不unilateration提供参考探测器的角位置。许多解决方案都在今天。一些供应商提供了一个位置估计的基础上,结合几个laterations。这种方法往往是不稳定的,当无线环境受金属或水的群众。其他的厂商提供的房间与房间的歧视明智的激励,一个供应商提供了一个接触激发位置判别。
- 2023-05-10 22:15:03下载
- 积分:1
-
利用该程序,可以作为相应程序的一个函数功能
利用该程序,可以作为相应程序的一个函数功能-Use of the procedure, the procedure can be used as a function of the corresponding function
- 2022-03-04 17:22:06下载
- 积分:1
-
使用离散小波变换的图像压缩
图像压缩是非常有用的交际目的。在这里我使用离散小波变换的任何图像压缩。
- 2022-03-18 21:30:36下载
- 积分:1
-
roseTTA the pdf tutorials, Oh, that you are stuck atop a line than rosetta tutor...
roseTTA的pdf教程,呵呵,这个你是网上下不来的,比rosetta自带的教程内容多一些,很详细-roseTTA the pdf tutorials, Oh, that you are stuck atop a line than rosetta tutorial that comes with the contents of a little more detail
- 2022-03-19 20:53:05下载
- 积分:1
-
解大规模线性方程组的预条件Gmres方法.系数矩阵可以非对称正定....
解大规模线性方程组的预条件Gmres方法.系数矩阵可以非对称正定.-Solution of large-scale linear equations of the preconditioned GMRES method. Coefficient matrix can be non-symmetric positive definite.
- 2022-05-15 20:02:59下载
- 积分:1
-
xercesc中文解析和UTF-8中文转换
xercesc中文解析,对包结构中的中文部分进行解析; UTF-8中文转换 分析下代码,希望能够给大伙给以帮助
- 2022-12-08 09:05:03下载
- 积分:1
-
在有限元分析中计算结构整体刚度矩阵、单元刚度矩阵、单元结点位移、应力应变等...
在有限元分析中计算结构整体刚度矩阵、单元刚度矩阵、单元结点位移、应力应变等-In finite element analysis to calculate the structure of the overall stiffness matrix, element stiffness matrix, element node displacement, stress and strain, etc.
- 2022-03-14 12:45:45下载
- 积分:1
-
MATLAB程序
matlab的可执行程序-Matlab executable
- 2022-07-11 15:44:55下载
- 积分:1