-
KMP算法——字符串匹配
资源描述KMP算法,用于搜索匹配的字符串。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。
- 2022-01-27 21:14:39下载
- 积分:1
-
素数环: 把从1到10这10个数摆成一个环,要求相邻的两个数的和是一个素数。 〖问题分析〗 这是一道回溯的题目。从1开始,每个空位有9种可能,每种可能加入约束...
素数环: 把从1到10这10个数摆成一个环,要求相邻的两个数的和是一个素数。 〖问题分析〗 这是一道回溯的题目。从1开始,每个空位有9种可能,每种可能加入约束条件即可
1.与前面所有的数不重复
2.与前一个数和为素数(最后一个和第一个也要满足)。 〖算法流程〗 1、数据初始化; 2、递归填数: 判断第J种可能是否合法; A、如果合法:填数;判断是否到达目标(10个已填完): 是,打印结果;不是,递归填下一个; B、如果不合法:选择下一种可能;-Prime Central: 1-10 from 10 the number of put this into a ring, asked the two adjacent numbers and is a prime number. 〗 〖Analysis is a retrospective this topic. From 1 year, 9 out of every space possible, each may be bound by the conditions of accession to 1. And in front of all the number of non-repetition, 2. With a few and for a prime number (the last and the first to meet). 1〗 〖algorithm processes the data to initialize 2, fill in the number of recursion: first to determine the legality of J possible A, if the legitimate: the number of Reclamation to determine whether the target (10 have been completed): Yes, print the results of not, fill in the next recursive B, if not legitimate: a possible alternative
- 2022-03-13 12:39:07下载
- 积分:1
-
基于神经网络的数字识别方法
资源描述根据Hopfield神经网络相关知识,设计了一种具有联想记忆功能的离散型Hopfield神经网络。要求该网络可以正确地识别0~9这10个数字,当数字被一定的噪声干扰后,仍具有较好的识别效果,仿真测试结果表明该设计可行有效。
- 2022-04-16 13:31:56下载
- 积分:1
-
猜数字游戏c版 汉诺塔游戏递归解法c版
猜数字游戏c版 汉诺塔游戏递归解法c版-viewing game version of the game HANOR recursive solution c version
- 2022-07-01 08:33:58下载
- 积分:1
-
有限元计算程序,供软件工程,力学专业的老师和学生参考
有限元计算程序,供软件工程,力学专业的老师和学生参考-Finite element program for software engineering, mechanical professional teachers and students for reference
- 2023-06-02 02:20:03下载
- 积分:1
-
常用数值算法大全,包扩各种算法,大家共享
常用数值算法大全,包扩各种算法,大家共享-Numerical algorithm used Daquan, including widening of various algorithms, everyone shared
- 2022-03-01 10:12:26下载
- 积分:1
-
纯软件的光线追踪算法 可以满足你的要求
纯软件的光线追踪算法 可以满足你的要求-pure software ray tracing algorithm can satisfy your request
- 2023-05-21 11:20:04下载
- 积分:1
-
I have written, SAT question of the Johnson algorithm source code, please advice
自己编写的,SAT问题的Johnson算法源代码,请多多指教-I have written, SAT question of the Johnson algorithm source code, please advice
- 2022-05-26 00:52:16下载
- 积分:1
-
聚类分析的for程序集
聚类分析的for程序集-cluster analysis procedures for the collection
- 2022-06-20 22:32:51下载
- 积分:1
-
MCF52259的GPIO口使用——LED点亮
这个是用来GPIO口的使用,可以提供更多初学者初次使用,了解IO口配置,简单入门
- 2022-01-26 05:58:57下载
- 积分:1