资源列表
[数学计算/工程计算] GAstonefitness
说明:利用matlab中关于遗传算法的函数求解函数的最优解,这是一个段示例-Genetic algorithm using matlab function regarding the optimal solution for solving function, which is an example of a segment<LR> 在 2025-07-19 上传 | 大小:1kb | 下载:0
[数据结构常用算法] Hotname
说明:数据结构采用的是独立链法。用一个maxtimes和maxname实时跟新最大次数及对应的名字。使用了一个 hash函数: hash = hash * 131 + (int)name[j] int serial = hash 10007 (先要卷乘131,然后将得到的结果模一个和10000相近的素数,采用10007)(网络上的现成的算法)。然后生成一个链表,链表由节点组成,节点里面装入姓名和出现的次数;如果出现次数为0,则新建节点,否则在原节点操作(出现冲突时要下拉节点)。-The data st<周嘉莉> 在 2025-07-19 上传 | 大小:1kb | 下载:0
[数据结构常用算法] TSP
说明:使用邻接表记录存贮村庄两点的ID和村庄之间的权值。采用广度搜索,利用邓俊辉老师的模板BFS。先任取一点,搜索到它的距离最远的点(带权值)i,点i必然是关键路径上的一个最远点。再以该点为起始点搜索离他距离最远的点(带权值),所得到的一定是donfood即最远路径。-Using adjacency table records the ID stored villages and villages between the two weights. Using breadth search, use D<周嘉莉> 在 2025-07-19 上传 | 大小:1kb | 下载:0
[数值算法/人工智能] KnightMove
说明:对于骑士走步问题的回溯法实现,具体的问题描述可以上网查询,此处主要给出具体的实现代码,如有不便敬请谅解-For backtracking method to realize the knight move problems, specific problem descr iption can go online inquiry, the main specific implementation code, if there is any inconvenience locations<liaojie> 在 2025-07-19 上传 | 大小:1kb | 下载:0
[matlab例程] ART1
说明:this program writes for data classification using Adaptive Resonance Theory 1(ART1)Network<elnazolfati> 在 2025-07-19 上传 | 大小:1kb | 下载:0
[matlab例程] generateNetwork
说明:根据Barabasi等人提出的无标度模型复杂网络生成的preferential attachment原理,生成指定规模的无标度网络的邻接矩阵。-Based on the preferential attachment mechanism proposed by Barabasi et al, the code functions to generate the adjacency matrix for a scale-free network with given size.<Xiaoya Wei> 在 2025-07-19 上传 | 大小:1kb | 下载:0