-
二叉树的最短路径
二叉树的最短路径-binary tree is the shortest path
- 2022-04-15 11:05:58下载
- 积分:1
-
选主元高斯消去法
选主元高斯消去法-Pivot Gaussian Elimination
- 2022-02-10 11:56:13下载
- 积分:1
-
时间序列工具箱 ,内含双谱,AR模型参数估计程序
时间序列工具箱 ,内含双谱,AR模型参数估计程序-time series toolbox containing Bispectrum, AR model parameter estimation procedures
- 2022-08-09 14:48:08下载
- 积分:1
-
扫描图像处理程序
基于光学三角测量系统,采用双ccd摄像机采集激光光刀在物体表面上的扫描地带,送入程序进行处理,对扫描的图像进行轮廓提取,数据抽稀,数据拼合算法
- 2022-02-21 09:58:55下载
- 积分:1
-
these are 5 C codes (BorlandC++) realizing the numerical algoriths
these are 5 C codes (BorlandC++) realizing the numerical algoriths
- 2023-02-28 22:25:03下载
- 积分:1
-
aes算法c(c++)_支持128、192和256位密钥
AES.h
#pragma once
class AES
{
public:
typedef enum ENUM_KeySize_
{
BIT128 = 0,
BIT192,
BIT256
}ENUM_KEYSIZE;
public:
AES( ENUM_KEYSIZE keysize, BYTE *key );
请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2022-08-11 07:18:24下载
- 积分:1
-
计算电磁学中FDTD方法的三维基本算例,PMC边界条件
计算电磁学中FDTD方法的三维基本算例,PMC边界条件-This ToyBoxFDTDbezhig is an extremely simple 3D FDTD code.
- 2022-02-25 16:56:17下载
- 积分:1
-
dynamic control of power system
The main topic covered is frequency control in power systems. The
needed models are derived and the primary and secondary frequency control
are studied. A detailed model of the synchronous machine, based on
Park’s transformation, is also included. The excitation and voltage control
of synchronous machines are briefly described. An overview of load models
are also given
- 2022-01-31 07:57:11下载
- 积分:1
-
爬虫.java
爬虫算法
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.URL;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
- 2022-10-25 20:50:03下载
- 积分:1
-
一、前言
24点游戏是一个常见游戏,出题者给出4个整数,要求答题者在指定时间内给出一个四则运算的表达式,恰好用上这这个整数各一次,计算结果为24,超出时间为...
一、前言
24点游戏是一个常见游戏,出题者给出4个整数,要求答题者在指定时间内给出一个四则运算的表达式,恰好用上这这个整数各一次,计算结果为24,超出时间为输。
二、分析
用计算机来算这个题,搜索速度当然有很大优势,我编程喜欢考虑通用一点,不限制输入数量和结果数,甚至不限制运算符数量。这样组合数就很大,如果输入数比较多,则搜索时间会非常长。
我用两个方法来提高搜索速度:一、是大家都能考虑到的重复搜索问题,比如1,2,3和2,3,1所有的组合情况是相同的,我只搜索使用递增序的数组,则可以降低一个组合数的数量级别;二、使用动态规划中的备忘录方法,比如你计算出2和3所有可能的计算结果,则他们与4结合的时候,要用到,与1结合的时候,也要用到,使用备忘录,可以只计算一次,大大降低运算复杂度。
三、设计
整体设计:分别设计4个类:游戏、表达式、运算、分数,各司其责,结构清晰,易于扩展。
-First, the preamble
24-point game is a common game, give the title are four integer requiring answer within a specified period of time in a four calculations give the expression, just use that the integral of the time, results for the 24, beyond the time to lose.
Second, analysis
Use computers to count the title, the search speed of course, there is a great advantage, I enjoy taking generic programming that does not restrict the importation of the volume and the number of results, and even limiting the number of operators. So on a large number of combinations, if you
- 2022-04-21 18:17:05下载
- 积分:1