prolog 找路例子程序: === === === === === === Part 1-Adding connections Part 2-Simple Path example | ?- path1(a,b,P,T). will produce the response: T = 15 P = [a,b] ? Part 3 - Non-repeating path As an example, the query: ?- path2(a,h,P,T). will succeed and may produce the bindings: P = [a,depot,b,d,e,f,h] T = 155 Part 4 - Generating a path below a cost threshold As an example, the query: ?- path_below_cost(a,[a,b,c,d,e,f,g,h],RS,300). returns: RS = [a,b,depot,c,d,e,g,f,h] ? RS = [a,c,depot,b,d,e,g,f,h] ? no ==================================
标签: Part connections example prolog
上传时间: 2015-04-24
上传用户:ljt101007
非均匀有理b样条曲线nurbs的C++源码库。 3.0.11版
上传时间: 2015-04-24
上传用户:Miyuki
应用LU分解法计算矩阵的程序 C++制作 未编译,已经测试
上传时间: 2013-12-23
上传用户:zhangliming420
Verilog HDL 程序 双路脉冲发生器的代码 包含了键盘控制,LED显示,脉冲发生,脉冲频率测量模块 是我自己写得,希望能对你有帮助,有问题可以mail:shaojunwu1@163.com
上传时间: 2015-04-26
上传用户:wpt
4X4键盘程序实现多个按键程序 键盘扫描
上传时间: 2015-04-26
上传用户:zmy123
书 名:Programming Windows程式开发设计指南 出版日期:2000/6/2 书 号:957-8239-73-4 I S B N:957-8239-73-4 原 作 者:Charles Petzold 译 者:余孟学
标签: 8239 Programming 957 Windows
上传时间: 2015-04-26
上传用户:xinyuzhiqiwuwu
用c开发的B+树索引结构,能实现B+树基本的查找,删除,搜索功能
上传时间: 2014-10-29
上传用户:731140412
本程序主要用于实现自底向上分析技术中的简单优先分析算法,简单文法可由键盘输入,实现功能包括:简单优先文法的判别,优先关系矩阵的输出,句子的识别等
上传时间: 2015-04-27
上传用户:qlpqlq
跟回旋矩阵类似,本程序为蛇行矩阵的输出, 通过建立四个方向标志控制矩阵的转向,矩阵为正方形的方阵
上传时间: 2015-04-28
上传用户:15071087253
用89c54单片机开发的32键扫描键盘程序。
上传时间: 2014-01-03
上传用户:trepb001