资源简介
SP++3.0是基于C++的常用信号处理库的集合,包括了FFT、样条算法等多种算法

代码片段和文件信息
/*****************************************************************************
* avltree_test.cpp
*
* AVL tree class testing.
*
* Zhang Ming 2009-10 Xi‘an Jiaotong University.
*****************************************************************************/
#include
#include
#include
using namespace std;
using namespace splab;
int main()
{
int x[16] = { 3 2 1 4 5 6 7 16 15 14 13 12 11 10 8 9 };
int y[16] = { 9 4 12 6 5 2 3 15 14 7 8 1 1 3 20 12 };
int z[4] = { 10 13 5 1 };
Student stu;
AVLNode *pNode;
AVLTree stuTree;
for( int i=0; i<16; ++i )
{
stu.key = x[i];
stuTree.insert( stu );
}
cout << “Preorder Travesal: “ << endl;
stuTree.print( “preorder“ );
cout << endl << endl;
for( int i=0; i<16; ++i )
{
if( stuTree.remove( y[i] stu ) )
{
cout << “The removed item is: “<< stu;
cout << “Preorder Travesal: “ << endl;
stuTree.print( “preorder“ );
}
else
{
cout << “No such item (key=“ << y[i] << “) in the tree!“;
}
cout << endl << endl;
}
cout << endl;
for( int i=0; i<4; ++i)
{
pNode = stuTree.search( z[i] );
if( pNode )
cout << “Have finding the element: “ << pNode->data;
else
cout << “No such item (key=“ << z[i] << “) in the tree!“;
cout << endl;
}
cout << endl;
stuTree.makeEmpty();
pNode = stuTree.search( 10 );
return 0;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 2429739 2011-02-12 08:40 SP++3.0\doc\SP++3.0 User Guide.pdf
..A.SH. 162 2010-12-11 13:41 SP++3.0\doc\~$++3.0 User Guide.doc
文件 4336 2010-12-10 21:08 SP++3.0\include\advmath-impl.h
文件 2139 2010-12-10 21:08 SP++3.0\include\advmath.h
文件 15734 2010-12-10 20:34 SP++3.0\include\avltree-impl.h
文件 4199 2010-12-10 20:34 SP++3.0\include\avltree.h
文件 4638 2010-12-10 20:36 SP++3.0\include\bfgs-impl.h
文件 2729 2010-12-10 20:35 SP++3.0\include\bfgs.h
文件 6085 2010-12-10 20:37 SP++3.0\include\binaryheap-impl.h
文件 2988 2010-12-10 20:37 SP++3.0\include\binaryheap.h
文件 8499 2010-12-10 20:38 SP++3.0\include\bstree-impl.h
文件 3780 2010-12-10 20:38 SP++3.0\include\bstree.h
文件 5704 2010-12-10 20:39 SP++3.0\include\bwt-impl.h
文件 2317 2010-12-11 16:48 SP++3.0\include\bwt.h
文件 4651 2010-12-07 21:39 SP++3.0\include\ccholesky-impl.h
文件 2481 2010-12-10 20:40 SP++3.0\include\ccholesky.h
文件 3844 2010-12-08 20:19 SP++3.0\include\cevd-impl.h
文件 2804 2010-12-08 20:10 SP++3.0\include\cevd.h
文件 11637 2010-12-10 20:42 SP++3.0\include\cholesky-impl.h
文件 2619 2011-01-31 11:55 SP++3.0\include\cholesky.h
文件 5227 2010-12-10 22:24 SP++3.0\include\classicalpse-impl.h
文件 3201 2010-12-10 22:24 SP++3.0\include\classicalpse.h
文件 4171 2010-12-10 20:44 SP++3.0\include\conjgrad-impl.h
文件 2743 2010-12-10 20:44 SP++3.0\include\conjgrad.h
文件 2206 2010-12-10 21:43 SP++3.0\include\constants.h
文件 3152 2010-12-10 20:45 SP++3.0\include\convolution-impl.h
文件 2444 2010-12-10 20:45 SP++3.0\include\convolution.h
文件 3550 2010-12-10 22:21 SP++3.0\include\convolution_usefftw-impl.h
文件 1962 2010-12-10 22:21 SP++3.0\include\convolution_usefftw.h
文件 3689 2010-12-10 20:46 SP++3.0\include\correlation-impl.h
............此处省略216个文件信息
相关资源
- C++中头文件与源文件的作用详解
- C++多线程网络编程Socket
- VC++ 多线程文件读写操作
- 利用C++哈希表的方法实现电话号码查
- 移木块游戏,可以自编自玩,vc6.0编写
- C++纯文字DOS超小RPG游戏
- VC++MFC小游戏实例教程(实例)+MFC类库
- 连铸温度场计算程序(C++)
- 6自由度机器人运动学正反解C++程序
- Em算法(使用C++编写)
- libstdc++-4.4.7-4.el6.i686.rpm
- VC++实现CMD命令执行与获得返回信息
- 白话C++(全)
- C++标准库第1、2
- 大数类c++大数类
- C++语言编写串口调试助手
- c++素数筛选法
- C++ mqtt 用法
- 商品库存管理系统 C++ MFC
- c++ 多功能计算器
- C++17 In Detail
- 嵌入式QtC++编程课件
- 颜色识别形状识别STM103嵌入式代码
- c++ 邮件多附件群发
- c++ 透明代理(hookproxy)
- mfc 调用redis
- FTP客户端源码(c++)
- c++ 画图(14Qt-XPS)
- c++多边形交并差运算
- VC++基于OpenGL模拟的一个3维空间模型
评论
共有 条评论