资源列表
[数据结构常用算法] shizilianbiao
说明:稀疏矩阵计算的十字链表法,转置,加法,乘法-Cross Chain sparse matrix computation method, transpose, addition, multiplication<戈锋> 在 2025-06-21 上传 | 大小:1kb | 下载:0
[数据结构常用算法] The-application-stack
说明:栈的运用,构建空顺序栈,取栈顶元素,入栈,出栈,栈顶元素与当前运算符优先级比较,判断是否为运算符-The use of the stack, in order to build an empty stack, take the top element, stack, stack, stack element with the current operator precedence compared to determine whether the operator<> 在 2025-06-21 上传 | 大小:1kb | 下载:0
[数据结构常用算法] Expressions-Conversion
说明:表达式转换,取栈顶元素,判断为操作数或运算符,运算符优先级比较,将表达式转换为后缀表达式-Expression conversion, check the top element is determined that an operand or operator, operator precedence compared to convert an expression to postfix expression<> 在 2025-06-21 上传 | 大小:1kb | 下载:0
[matlab例程] InterPoints
说明:计算分段三次多项式插值的系数,计算三次样条插值函数的系数组M-Calculating the coefficients of piecewise cubic polynomial interpolation, cubic spline interpolation function calculating the coefficients M<lsj> 在 2025-06-21 上传 | 大小:1kb | 下载:0
[matlab例程] pressure-loss
说明:钻井过程中带有岩屑床的水平井环空压耗计算程序-pressure losses in eccentric annulus<高中伟> 在 2025-06-21 上传 | 大小:1kb | 下载:0
[数学计算/工程计算] GAstonefitness
说明:利用matlab中关于遗传算法的函数求解函数的最优解,这是一个段示例-Genetic algorithm using matlab function regarding the optimal solution for solving function, which is an example of a segment<LR> 在 2025-06-21 上传 | 大小:1kb | 下载:0
[数据结构常用算法] Hotname
说明:数据结构采用的是独立链法。用一个maxtimes和maxname实时跟新最大次数及对应的名字。使用了一个 hash函数: hash = hash * 131 + (int)name[j] int serial = hash 10007 (先要卷乘131,然后将得到的结果模一个和10000相近的素数,采用10007)(网络上的现成的算法)。然后生成一个链表,链表由节点组成,节点里面装入姓名和出现的次数;如果出现次数为0,则新建节点,否则在原节点操作(出现冲突时要下拉节点)。-The data st<周嘉莉> 在 2025-06-21 上传 | 大小: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-06-21 上传 | 大小:1kb | 下载:0