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
操作系统实验,进程控制实验,Process.exe为父进程执行程序ChildProcess.exe为子进程执行的程序 该程序实现了进程间的消息通信,共享储存区通信以及管道通信
标签: ChildProcess exe Process 进程
上传时间: 2015-04-24
上传用户:s363994250
有源滤波器(APF)matlab_simulink仿真图的子图之一。算法是DQ0 算法。
标签: matlab_simulink APF DQ0 算法
上传时间: 2015-04-24
上传用户:zl5712176
电力有源滤波器仿真电路图子电路图之三,算法是经典的dq0算法
上传时间: 2014-01-20
上传用户:cylnpy
电力有源滤波器的仿真电路图的子电路图之四,算法是经典的dq0算法
上传时间: 2013-12-20
上传用户:comua
优化方法中的解非线性规划问题的一种方法,乘子法
标签: 非线性
上传时间: 2014-10-31
上传用户:远远ssad
Verilog HDL 程序 双路脉冲发生器的代码 包含了键盘控制,LED显示,脉冲发生,脉冲频率测量模块 是我自己写得,希望能对你有帮助,有问题可以mail:shaojunwu1@163.com
上传时间: 2015-04-26
上传用户:wpt
在分析传统的链路——状态算法的基础上,提出了一种优化的卫星通信星际路由算法。 该算法能够找出任意两颗卫星间通信的最佳路径集合,同时能够在链路质量容许的情况下,尽量 避免通信链路切换的发生,从而较大地提高了系统性能。
上传时间: 2014-01-13
上传用户:leehom61
用VC6++对A*寻路算法的简单实现,在界面上点击鼠标就行.
上传时间: 2015-04-27
上传用户:wlcaption
常用的子串替换、去除空格、找子串等,以包含文件用,将main()注释去掉,将.h改名.c就可以进行测试。
标签:
上传时间: 2015-04-27
上传用户:hxy200501