资源列表
[数据结构常用算法] backpack-ga-algorithm
说明:背包问题或0-1背包问题遗传算法程序,里面用的实数编码方式值得借鉴。-0-1 knapsack problem or knapsack problem genetic algorithm procedure, which uses real coding can be learned.<olivejy> 在 2025-06-15 上传 | 大小:2kb | 下载:0
[数据结构常用算法] maze
说明:该程序解决的是迷宫问题。给定一个n(n<20)行m(m<20)列的迷宫,迷宫每个位置用整数1和0表示,0表示墙,1表示通道,给出迷宫起点(x0,y0)和终点(x1,y1),求出起点到终点的最短路径。-The procedure to solve the maze problem. Given an n (n < 20) row m (m < 20) out of the maze, the maze of each position with the integer 1 an<风泪> 在 2025-06-15 上传 | 大小:2kb | 下载:0
[数据结构常用算法] chengxudaima1
说明:1线性表基本操作的实现,建立单向链表,遍历单向链表,单向链表中的元素逆置-Basic operation of linear table implementation, the establishment of one-way linked list, traverse the one-way linked list, singly linked list of elements in the inverse set<shixiaojin> 在 2025-06-15 上传 | 大小:2kb | 下载:0
[数据结构常用算法] LinkedList
说明:一个C++链表的很好的参考例子,可以帮助对于数据结构链表这一章不明白的新手,希望大家能从中获益。-A C++ linked list of good reference example, linked data structures can help to understand this chapter is not new to hope that we benefit from it.<陈玄风> 在 2025-06-15 上传 | 大小:2kb | 下载:0
[数据结构常用算法] 12
说明:以堆栈为例说明算法设计,队列的算法与堆栈类似。 在这里先说明一下“第一可见对象”这个词,在本报告中指的是在堆栈或队列中第一个可以输出或者弹出的的对象。在堆栈中自然是指栈顶的对象,队列中自然是指队头的对象。 (1) 堆栈中的每个对象都包含 数据元素element和指向本类型的一个指针变量link。element用来存储新压入的元素(在本实验中,为简化代码,直接将其设为int型),在每一对象中link用来指向下一个可见对象。如第一可见对象中的link指向第二可见对象,第二可见对象的link指<胡先生> 在 2025-06-15 上传 | 大小:2kb | 下载:0
[数据结构常用算法] binarytree
说明:hi this binary tree for data structure -hi this is binary tree for data structure<mehdi> 在 2025-06-15 上传 | 大小:2kb | 下载:0