-
素数环: 把从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
-
matlab仿真硬件时用的定点化仿真
应用背景matlab仿真硬件时用的定点化仿真,一般用matlab 直接生成的滤波器响应仿真,因为结果是浮点的,所以和真实硬件计算出的结果差别很大。所以应当进行定点化处理,再检查响应曲线,在硬件设计(FPGA)就应该提前清楚到底要多和位的精度。关键技术输入参数是归一化的浮点数以及位宽,bit_floor.m用来仿真低位直接截断后的效果。bit_round.m是硬件按真正的四舍五入截断处理后的效果。bit_round_hw.m是仿真硬件处理里简化版四舍五入。
- 2022-12-06 11:40:03下载
- 积分:1
-
经典关联分析算法apriori java版
经典关联分析算法apriori java版。可解决关联分析问题,比如分析超市购物关联关系,产品交叉销售可能性,客户价值提升等
- 2022-01-24 15:00:25下载
- 积分:1
-
矩阵处理的C语言源程序,包含一些矩阵处理的程序.
矩阵处理的C语言源程序,包含一些矩阵处理的程序. -Matrix treatment of the C language source code, the matrix contains a number of treatment procedures.
- 2022-03-01 00:14:54下载
- 积分:1
-
2009 ACM世界总决赛的问题集
2009 ACM World Final Problem Set
- 2022-04-25 03:01:42下载
- 积分:1
-
弗洛依德warshal算法
资源描述这个应用解决了弗洛依德warshal算法。
- 2022-01-24 18:51:51下载
- 积分:1
-
这是我用VC写 的一个小程序希望对大家有用
这是我用VC写 的一个小程序希望对大家有用-This is my VC write a small program you want to useful
- 2022-12-26 08:50:04下载
- 积分:1
-
求逆矩阵
求逆矩阵--solution for inverse matrix
- 2022-06-15 22:40:50下载
- 积分:1
-
贝叶思网络分类规则例程
贝叶思网络分类规则例程-Bayesian Network Classification Rule tutorial
- 2022-04-10 19:55:02下载
- 积分:1
-
本文通过给定的训练模式为例来推导bp网络学习的算法,并用(语言编程实现,运行程序给出学习误差曲线,最后指出实际应用中BP网络学习存
在的缺点并提出几点改进方...
本文通过给定的训练模式为例来推导bp网络学习的算法,并用(语言编程实现,运行程序给出学习误差曲线,最后指出实际应用中BP网络学习存
在的缺点并提出几点改进方案。
-In this paper, given as an example to the training model is derived bp network learning algorithm, and use (programming language, run the program gives error learning curve, and finally pointed out that the practical application of BP network learning shortcomings and to make a few points to improve the program.
- 2022-05-24 18:37:02下载
- 积分:1