-
在基础半正弦冲击作用下,软特性刚度系统的冲击响应计算程序...
在基础半正弦冲击作用下,软特性刚度系统的冲击响应计算程序-In the basic role of half-sine shock, the soft characteristics of the stiffness of the shock response system program
- 2022-01-25 16:06:38下载
- 积分:1
-
二
二维的FDTD仿真程序,仿真图像很漂亮哦,呵呵。-Two-dimensional FDTD simulation procedures, simulation images very beautiful, oh, huh, huh.
- 2023-02-22 14:10:04下载
- 积分:1
-
三种排序算法测试实验
应用背景用C++编写。
里面有详细的插入排序,快速排序,合并排序和选择排序的代码。
排序算法测试实验通过设计测试数据集,编写测试程序,用于测试三种算法的正确性,三种算法在不同复杂性上的表现(最好情况、最差情况、平均情况),三种算法每次的的比较频率和腾挪频率。
使用说明:Sort_Test.cpp可以直接运行,输出结果可在本文件夹下的Result.txt中查看关键技术
通过建立一个测试算法的数据库,即在一个相当大的正数范围内产生很大数量的随机数得到一个相对平均的数据集来测试快速排序、合并排序、插入排序三种算法的算法复杂度。
然后通过分析快速排序、合并排序、插入排序这三个算法的最好情况、最差情况和平均情况,分别产生相应的数据集来计算它们各自的时间开销。
算法在执行过程中的比较次数、挪动次数都可以通过全局变量计算出来。
还可以通过打印语句看到这三个算法每一步的执行过程。
- 2023-06-19 04:05:03下载
- 积分:1
-
GLUT鼠标交互
实现直线段和多边形的扫描转换,利用基于GLUT平台交互式程序验证算法有效性,支持用户用鼠标画直线(bresenham法实现)、多边形(扫描线转换算法)
- 2022-10-23 10:25:03下载
- 积分:1
-
C算法
C算法-C Algorithm
- 2022-02-06 03:51:11下载
- 积分:1
-
对于无约束问题,给出的共轭梯度法,内涵多个函数实例
对于无约束问题,给出的共轭梯度法,内涵多个函数实例-For the unconstrained problem, given by the conjugate gradient method, the connotation of a number of examples of function
- 2022-06-19 20:03:59下载
- 积分:1
-
poj_3134 IDA*
#include
#include
#include
#include
#include
#include
using namespace std;
int deep,n;
int v[1005]={1};
int h(int top)
{
int k=deep-top;
int x=v[top];
请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2022-09-14 00:25:02下载
- 积分:1
-
黄金分割法,二分法,Fibonacci法求多项式函数最值
黄金分割法,二分法,Fibonacci法求多项式函数最值-Golden Section, dichotomy, the Fibonacci method for the value of a polynomial function
- 2023-02-03 13:00:04下载
- 积分:1
-
对于平稳序列,运用ar模型计算其参数,并进行适应性检验。
对于平稳序列,运用ar模型计算其参数,并进行适应性检验。-for a smooth sequence, the use ar model parameters and adaptive testing.
- 2022-09-24 10:15:03下载
- 积分:1
-
a description of the problem is : No. 1, 2, ..., n n clockwise direction by indi...
约瑟夫问题的一种描述是:编号为1,2,…,n的n个人按顺时针方向围坐一圈,没人持有一个密码。一开始人选一个正整数作为报数上限值m,从第一个人开始按顺时针自1开始报数,报到m是停止报数。报m的人出列,将他的密码作为新的m值,从他在顺时针方向上的下一个人开始重新从1报数,如此下去,直至所有人全部出列为止。-a description of the problem is : No. 1, 2, ..., n n clockwise direction by individuals sitting around a circle, no one holding a password. One person started as a positive integer limits on the number of reported m, from the first individuals to embark on the clockwise from a few reportedly started, the report m is reportedly stopped a few. M reported out of the list of his password as a new value m, from a clockwise direction in the next re-started from a newspaper a few, like that, until the total of all listed so far.
- 2022-02-03 16:31:48下载
- 积分:1