搜索资源列表
二叉排序二叉树的建立
- 二叉排序树的建立是数据结构中许多二叉树算法实现的基础,本程序输入节点时,以-1表示输入结束-two forks of the tree data structure is the establishment of many of the binary tree algorithm based on the input node procedure, said the importation of 1 to the end
图论算法库 C++ 语言实现
- 图论算法库 C++ 语言实现 代码内容 图论算法库,包括以下算法: 单源最短路径 Dijkstra 算法 单源最短路径 Bellman-Ford 算法 最小生成树 Prim 算法 每对节点间最短路径 Flod-Warshall 算法 语言 C++ 编译平台 VisualAge C++ 4.0 作者 starfish (starfish.h@china.com) 备注 程序用C++语言编写,在VisualAge C++ 4.0下调试通过。压
pointtopointDijkstraAlgrithms
- 具有图形化界面的一个路由模拟程序。路由算法为Dijkstra算法。具有求出图中任意节点间所有最短路径以及最短路径子图的功能。这是一个点对点(S-T)Dijkstra算法的改进。用于求两点间的所有最短路径。-graphical interface with the simulation of a routing procedures. Routing algorithm Dijkstra algorithm. With map obtained arbitrary nodes all the sh
serach
- 二叉排序树的查找算法,用非递归做的,查找删除节点等操作-Binary Tree Search ranking algorithm, the use of non - recursive so that you delete nodes, etc
graphic_algorithm
- 每对节点间最短路径 Floyd-Warshall 算法 D[i,j]表示从i到j的最短距离; P[i,j]表示从i到j的最短路径上j 的父节点-between each pair of nodes Shortest Path Floyd-Warshall algorithm D [i, j] said from i to j is the shortest distance; P [i, j] said from i to j the shortest path
btrxzhc
- 二叉树的先序,中序,后序,按层遍历算法。以中序输入,用‘#’代替叶子节点的子节点输入。-binary tree first sequence, sequence after sequence, layer by traversal algorithm. The order to import, use '#' instead of the leaf nodes for input nodes.
Fast_Dijkstra
- 时间复杂度为O(ElogV)的Dijkrastra算法的实现,解决城市道路网的最短路径问题,可以计算1000×1000个节点。
test
- 求单源点最短路径算法,对一个途中各个节点和权值的设置,找出从起始点倒终结点的一条最短路径,不能够输出路径
k_way
- K路归并算法,用贪心算法构造霍夫曼树,采用加入虚节点的思想求出最优的归并模式
K_Merge
- K路归并算法 * 本程序用来实现K路归并算法 * 在Turbo C2.0编译器下编译通过 * 算法过程中 * K由用户输入 * 用户选择需要归并的数据的个数 * 由程序生成随机数据,数据结构为链表,并展示给用户 * 然后程序告诉用户需要增加的虚节点的个数 * 并把虚节点加入到链表中去,最后进行归并
Java 二叉树 算法
- 用Java编写的二叉树的数据结构,包括二叉树的每个节点的值,以及各子树的指针。 -Java prepared by the binary tree data structures, including binary tree each node values, and the subtree target.
旅行商问题的动态规划算法
- bp算法的程序实现,可以任意只指定中间结点和输入输出节点的个数-bp algorithm program can only arbitrarily designated intermediate nodes and the input and output nodes Number
luyou.rar
- 动态路由算法,采用链路状态路由算法,显示节点信息。,Dynamic routing algorithm, using link state routing algorithm, showing node information.
balance_tree
- 平衡二叉树的各种算法,如节点的删除,插入,查找等-balance tree
Dijkstra
- Dijkstra算法是典型最短路算法,用于计算一个节点到其他所有节点的最短路径。主要特点是以起始点为中心向外层层扩展,直到扩展到终点为止。Dijkstra算法能得出最短路径的最优解,但由于它遍历计算的节点很多,所以效率低-Dijkstra algorithm is a typical shortest path algorithm to calculate a node to all other nodes of the shortest path. Main features are a st
XShortest
- Dijkstra算法,A*算法和D*算法 Dijkstra算法是典型最短路算法,用于计算一个节点到其他所有节点的最短路径。主要特点是以起始点为中心向外层层扩展,直到扩展到终点为止。Dijkstra算法能得出最短路径的最优解,但由于它遍历计算的节点很多,所以效率低。 Dijkstra算法是很有代表性的最短路算法,在很多专业课程中都作为基本内容有详细的介绍,如数据结构,图论,运筹学等等。 Dijkstra一般的表述通常有两种方式,一种用永久和临时标号方式,一种是用OPE
ClassAstar
- A*搜寻算法,俗称A星算法。这是一种在图形平面上,有多个节点的路径,求出最低通过成本的算法。常用于游戏中的NPC的移动计算,或线上游戏的BOT的移动计算上。-A* search algorithm, called A Star algorithm. This is a plane in the graphics, there are multiple nodes in the path, find the lowest cost method adopted. Commonly used in
dijkatra.c
- dijstra算法 网络的节点之间的最短路径(Dijstra algorthm,computing the shortest path between network diagrams,applied to routing in computer network.)
tree
- 定义二叉树的链式存储结构,实现下列各类应用的递归算法。 (1)构建一棵二叉树,以某种形式(括号表示法、树形表示法、凹入表示法等)输出二叉树,最后释放二叉树的存储内存。 (2)分别编写程序实现:将二叉树的顺序存储结构转换成链式存储结构;将二叉树的链式存储结构转换为顺序存储结构。 (3)实现二叉树的先序、中序、后序和层次序遍历算法。输出二叉树的叶子节点。 (4)分别计算二叉树的所有节点个数,度为0、1、2的节点个数。 (5)统计二叉树中值为k的节点个数。计算二叉树中节点最小的值。 (6)计算二叉树的
GrTheory
- 多种图论算法的matlab实现 例如:% ntest=1 - grBase求有向图的基 % ntest=2 - grCoBase求有向图的逆基 % ntest=3 - grCoCycleBasis求连通图的基本割集 % ntest=4 - grColEdge图的边着色(边染色) % ntest=5 - grColVer图的点着色(节点染色)(% grBase - find all bases of digraph; % grCoBase - find all contrabases
