搜索资源列表
C源代码实例
- 包含220个C语言的各种源程序:001 第一个C程序 002 运行多个源文件 003 求整数之积 004 比较实数大小 005 字符的输出 006 显示变量所占字节数 007 自增/自减运算 008 数列求和 009 乘法口诀表 010 猜数字游戏 011 模拟ATM(自动柜员机)界面 012 用一维数组统计学生成绩 013 用二维数组实现矩阵转置 014 求解二维数组的最大/最小元素 015 利用数组求前n个
C语言实战105例
- C语言实战105例 第1部分 基础篇 实例1 一个价值“三天”的BUG 2 实例2 灵活使用递增(递减)操作符 5 实例3 算术运算符计算器 7 实例4 逻辑运算符计算器 9 实例5 IP地址解析 11 实例6 用if…else语句解决奖金发放问题 13 实例7 用for循环模拟自由落体 16 实例8 用while语句求n! 19 实例9 模拟银行常用打印程序 22 实例10 使用一维数组统计选票 26 实例11 使用二维数组统计学生成绩 29 实例12 简单的计算器
AVL树实现
- 纯C实现的AVL树,Demo是MFC的。非递归的遍历,完全支持添加、删除和搜索节点。设计灵活,容易扩展。以下是API struct tagAvlTree; typedef struct tagAvlTree AvlTree; struct tagAvlNode; typedef struct tagAvlNode AvlNode; struct tagAvlNode { AvlNode *left; AvlNode *right; int32_t height;
WL40987330 C语言算法集
- 目录 第一部分 基础篇 001 第一个C程序 002 运行多个源文件 003 求整数之积 004 比较实数大小 005 字符的输出 006 显示变量所占字节数 007 自增/自减运算 008 数列求和 009 乘法口诀表 010&
传教士野人渡河c源码
- 传教士野人渡河c源码 广度优先搜索
八数码vc++
- 用了三种算法,广度优先,深度优先,还有A*算法,界面也很智能
图形操作
- 采用邻接矩阵或是十字链表实现图的深度优先遍历或广度优先遍历。
分支定界求解TSP问题
- 分支限界法求解TSP问题[15] 分支限界法类又称为剪枝限界法或分支定界法,它类似于回溯法,也是一种在问题的解空间树T上搜索问题解的算法。它与回溯法有两点不同:①回溯法只通过约束条件剪去非可行解,而分支限界法不仅通过约束条件,而且通过目标函数的限界来减少无效搜索,也就是剪掉了某些不包含最优解的可行解。②在解空间树上的搜索方式也不相同。回溯法以深度优先的方式搜索解空间树,而分支限界法则以广度优先或以最小耗费优先的方式搜索解空间树。分支限界法的搜索策略是:在扩展结点处,先生成其所有的儿子结点(分支
人工智能经典问题八数码三种算法
- 人工智能经典问题八数码三种算法(广度优先搜索,深度优先搜索,启发式搜索)带有图形界面的解决方案。-Classic problem in Artificial Intelligence eight digital three algorithms (breadth-first search, depth-first search, heuristic search) with a graphical interface solutions.
GraphTrace.rar
- 用标准C++完成对图的深/广度优先搜索,使用邻接多重表的存储结构,Using standard C++ Completion of the map deep/breadth-first search, the use of the adjacent multi-table storage structure
migong.rar
- 关于数据结构的课程设计:迷宫问题,提供了广度优先和深度优先两种算法。,On the data structure of curriculum design: the maze problem, provides a breadth-first and depth-first two algorithms.
c.zip
- 以邻接多重表为存储结构,实现连通无向图的深度优先和广度优先遍历。以用户指定的结点为起点,分别输出各种遍历下的结点访问序列和相应生成树的边集,To the adjacent multi-table for the storage structure, to achieve connectivity of undirected graph depth-first and breadth-first traversal. To user-specified node as a starting poi
PBFSandDFS
- 对与数据结构中有向图采用邻接矩阵为存储结构实现有向图建立、深度优先遍历和广度优先遍历、并带有图片测试数据 可运行-And the data structure of a directed graph with adjacency matrix storage structure established to achieve a directed graph, depth-first traversal and breadth-first traversal, and test data can
tubianli
- 以邻接多重表为存储结构,实现连通无向图的深度优先和广度优先遍历。以用户指定的结点为起点,分别输出每种遍历下的结点访问序列和相应生成树的边集。-To adjacent multi-table storage structure for connectivity undirected graph depth-first and breadth-first traversal. User-specified node as a starting point, respectively, under t
TU.rar
- 邻结表存储的无向图的建立及遍历输出(包括深度优先与广度优先搜索), The neighbour ties the table to save non- (first first searches to the chart establishment and the calendar output including depth with breadth)
BFS.rar
- c语言广度优先搜索算法的实现,输入几个节点,生成树,然后经广度优先搜索算法输出,c language breadth-first search algorithm, enter the number of nodes, spanning tree, and then by the breadth-first search algorithm output
Chess(8puzzle)
- 这个程序是从广度优先搜索,深度优先搜索,A算法以及A算法等多方面算法来解决八数码问题.zip-8-puzzle A* BFS DFS MFC
UnDirectGraph
- 本程序实现了《数据结构》课本中无向图的基本算法,包括图的构造、图的深度、广度优先遍历算法、用Prim、Kruskal算法构造最小生成树以及分别用Dijkstra、Floyd算法求源点到所有顶点、图中任意两点间的最短路径,并给出具体的路径 -This procedure achieved a " data structure" textbooks undirected graph the basic algorithm, including graphs, graph depth
bashuma
- 分别用深度优先和广度优先来算八数码问题,c++源码-Were depth-first and breadth of the priority issues to count eight digital, c++ source code
AIbashuma
- 人工智能大作业,八数码,使用MFC完成,具有图形化界面,使用广度优先搜索-Artificial Intelligence large operations, eight digital, use MFC complete with a graphical interface, use the breadth-first search