资源列表
[数据结构常用算法] DIJKSTRA
说明:Suppose you want to find the shortest path between two intersections on a map, a starting point and a destination. To accomplish this, you could highlight the streets (tracing the streets with a marker) in a certain order, until you have a route high<synthia> 在 2025-09-28 上传 | 大小:1kb | 下载:0
[数据结构常用算法] KRUSKAL
说明: * create a forest F (a set of trees), where each vertex in the graph is a separate tree * create a set S containing all the edges in the graph * while S is nonempty and F is not yet spanning o remove an edge with minimum weight from S o<synthia> 在 2025-09-28 上传 | 大小:1kb | 下载:0
[数据结构常用算法] my_BFS
说明: 1. Enqueue the root node. 2. Dequeue a node and examine it. * If the element sought is found in this node, quit the search and return a result. * Otherwise enqueue any successors (the direct child nodes) that have not yet been discovered.<synthia> 在 2025-09-28 上传 | 大小:1kb | 下载:0
[数据结构常用算法] MY_DFS
说明:DFS is an uninformed search that progresses by expanding the first child node of the search tree that appears and thus going deeper and deeper until a goal node is found, or until it hits a node that has no children. Then the search backtracks, retur<synthia> 在 2025-09-28 上传 | 大小:1kb | 下载:0
[数据结构常用算法] MY_QUICK
说明: 1. Pick an element, called a pivot, from the list. 2. Reorder the list so that all elements with values less than the pivot come before the pivot, while all elements with values greater than the pivot come after it (equal values can go either way<synthia> 在 2025-09-28 上传 | 大小:1kb | 下载:0
[数值算法/人工智能] FDTD_1D_2Media
说明:This program is ploting EM Plane wave propagation and reflection from Dielectric slab-This program is ploting EM Plane wave propagation and reflection from Dielectric slab<Helen> 在 2025-09-28 上传 | 大小:1kb | 下载:0
[matlab例程] cut_sample
说明: 使用二分法对样本集进行剪辑,剪辑法的思想,就是将样本集分成训练集与考试集, 利用训练集样本对考试集的样本进行分类(使用近邻法),如果考试集中某个样本分类错误的话,将这个样本删除。在该函数中,使用最近邻法,只进行一次剪辑(遍历完考试集中的样本以后退出)。还有一种重复剪辑法(适用于样本比较多的情况),把样本随机分为多个样本集,将相邻的两个样本前一个作为考试集,后一个作为训练集,调用二分剪辑。所有的样本子集剪辑完毕以后,在递归调用,直到没有样本被剪辑掉,没得讲,重复剪辑的效果肯定好一些。 -Th<shihao> 在 2025-09-28 上传 | 大小:1kb | 下载:0