搜索资源列表
传教士与野人问题
- 传教士和野人问题是人工智能中的经典问题。本程序采用递归算法求解。定义一个函数,该函数返回一个解路径,路径可以用规则序列表示,也可以用状态序列表示。比如,用规则序列表示,可以表示为:(1 1)(1 0)。。。 表示:过去1个传教士,一个野人,回来一个传教士,。。。如果用状态序列表示,可以表示为:(3 3 1)(2 2 0)(3 2 )。。。 路径用一个链表表示,该函数返回该链表。在main中调用该函数,并打印输出该路径。-missionaries and Savage is a classic A
AI
- 八数码求解问题,八数码问题是人工智能经典难题之一。 主要运用A*算法求解,代码完整,清晰-eight puzzle
eight-puzzle
- 人工智能八数码的A*算法实现。 编译运行说明: 1.若编译成功却不能运行,请修改工程的设置 (Project\Setttings\Debug子项) 2.改变程序中MaxItem的值(本程序中MaxItem等于3) 和相关的输入用对话框,则可以计算MaxItem*MaxItem-1 数码问题-AI A* Eight digital algorithm. Compile and run: 1. If the compiler can not run successfully,
6277509aluo1
- 某旅馆有n个等级的房间,第i等级有ai个房间,每个等级有bi床位(1≤i≤n)。试模拟旅馆管理系统中床位分配和回收的功能,设计能为单个旅客分配床位,在其离店便回收床位(供下次分配)的算法。-failed to translate
FindpathSourceCode
- 学习数据结构和算法的练习,使用栈结构对最终通路进行保存,"[Game AI]-[基础寻路走迷宫]-[数据结构栈Stack应用]" -Learning exercises data structures and algorithms, using the stack structure of the ultimate access to save, " [Game AI]- [based pathfinding Maze]- [Stack data structure stack a
代码脚本
- 代码脚本:集合算法、爬虫、人工智能小项目、数据结构算法、等等(Code scr ipts: set algorithms, crawlers, AI small projects, data structure algorithms, and so on)
