搜索资源列表
ulapack
- This collection of C++ templates wraps the FORTRAN or C interfaces for LAPACK so that they integrate with the Boost uBLAS library. Currently implements Cholesky decomposition, LU decomposition, inversion and determinant for general and positive-defin
51个城市的tsp程序
- 这是一个用蚁群算法来解决51个城市的tsp问题,该源码是用C++编写的,是一个非常有用的源代码 const int iAntCount=34;//ant numbers 蚂蚁数量 const int iCityCount=51;//城市数量 const int iItCount=500;//循环次数 const double Q=100;//信息素总量
tony
- 河內塔問題 #include<stdio.h> #include<stdlib.h> int fun_a(int) void fun_b(int,int,int,int) int main(void) { int n int option printf("題目二:河內塔問題\n") printf("請輸入要搬移的圓盤數目\n") scanf("%d",&n) printf("最少搬移的次數為%d
BPNN
- 用BP神经网络实现模糊控制规则为T=int[(e +ec)/2]的模糊神经网络控制器。可以改变隐层节点数和学习速率。网络训练算法是变学习速率法。-BP neural network with fuzzy control rules for the T = int [(e+ Ec)/2] of the fuzzy neural network controller. Can change the hidden layer nodes and learning rate. Network tra
Dijkstra
- 用Dijkstra法求最短路径,有向图与无向图均可-void ShortestPath_DIJ( Node a ,Status i ,Status v0 ,Status*D ,Status*pre ) { int v,w,j,l=1 Status*final Status min final=(Status*)malloc( sizeof(Status)*i ) for(v=0 v<i v++) { final[v]=FA
contacts1
- 利用线性表实现一个通讯录管理,通信录的数据格式如下: struct DataType { int ID //编号 char name[10] //姓名 char ch //性别 char phone[13] //电话 char addr[31] //地址 } 要求: ? 实现通讯录的建立、增加、删除、修改、查询等功能 ? 能够实现简单的菜单交互,即可以根据用户输入的命令,选择不同的操作。 ? 能够保
XPoints
- 三个月的运行中该智能交易增长近 35倍 仔细在货币对 EUR/USD图表中注视规律,你会发现柱的价格会产生转变: 1) rate = (High - Low) / MathAbs(Close-Open) 大于1 2) 低点 (Low)到通道的最低处 (价格可能上涨)或者高点(High)到通道的最高处(价格可能下降) 这种类型的柱被称作X-points. 指标按照参数寻找X-points, xrate (rate >= xrate) && (Hi
bashuma-
- 人工智能八数码问题实现八数码问题:在3×3的方格棋盘上,摆放着1到8这八个数码,有1个方格是 空的,其初始状态如图1所示,要求对空格执行空格左移、空格右移、空格上移 和空格下移这四个操作使得棋盘从初始状态到目标状态。 -#include <stdio.h>//定义变量 #include <stdlib.h>//定义变量 typedef struct s_node//定义创建节点 { struct s_node*father /
TSP
- tsp for (int i=0 i<M i++) S[i] = i S[M] = 0 T = 1000 //初始温度1000 Tl = 35000 //内循环次数35000 a = 0.93 //温度下降系数 k = 0 PreMin = 0 Path = GetPath(S) srand((unsigned)time( NULL )) cout<<"The initial Path Diste
lunwen
- 新一代高性能无人机飞控系统的研究与设计 张小林 赵宇博 范力思-I n o r de r t o cau se t he U A V f lig ht co nt r o l sy st e m has t he f o r mida ble da t a- ha ndling ca pa cit y , t h e lo w po we r lo ss , t he st r o ng f le x ibilit y an d a hig he r int e g r at io n
StateMachine
- 一个有限状态机的编程范例 StateMachine包 状态机管理 IStateMachine.as 状态机接口 MyEvent_Control.as 消息管理,状态管理 MyEvent_Single.as 单个事件 Total.as 实现了状态机接口(IStateMachine)的基类,将其理解为抽象类比较好 A.as 继承基类(Total)的状态机,这个才是真正可用的 B.as 同A Main.as 调用,以及启动 若要使
ANN
- 先用BP神经网络算法对国民经济生产总值做预测,然后用灰色预测模型GM(1,1)做预测,最后将两者结合建立组合预测模型。-Firstly,the BP artificial neural network algorithm to predict the GDP and then construct the GM(1,1) model,at last build out the combined model to predict the GDP int the future.
passlkst_box
- 编制具有如下原型的函数prime,用来判断整数n是否为素数:bool prime(int n) 而后编制主函数,任意输入一()
suxpgil
- LCS,即最常公共子序列的的C语言解法,prepare_for_backdate(char,char,int,int)函数()
work2.6
- 实现控制规则为T=int((e+e1)/2)的模糊神经网络控制器(A fuzzy neural network controller with T=int ((e+e1) /2) control rule is implemented.)
超级刷单王
- 超级刷单王外部参数详解: extern int Profit = 70;//目标盈利点数,注意该EA按5位数报价的 extern int gi_maxbuy = 6;//买单最大单数, 该EA理论上可以操作的上限为13,但是13单很吓人的! extern int gi_maxsell = 6;//卖单的…… extern int gi_addstep = 50;//1-6单加码间距基数; 加码间距= 基数×系数的单量次方;不过是否加仓还取决于上一根柱子的阴阳,也就是说实际的间距只要超过这个数就行