Welcome![Sign In][Sign Up]
Location:
Search - prolog p

Search list

[Otherpathfinding

Description: 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 ================================== -prolog to find a way examples : ==================================== 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 =====================
Platform: | Size: 1845 | Author: Fa | Hits:

[Otherpathfinding

Description: 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 ================================== -prolog to find a way examples : ==================================== 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 =====================
Platform: | Size: 2048 | Author: Fa | Hits:

[AI-NN-PRkejian

Description: 人工智能开发工具Visual Prolog 课件-Artificial intelligence development tools, Visual Prolog Courseware
Platform: | Size: 1870848 | Author: 高村 | Hits:

[Othermanual

Description: manual for new P# tools, convert prolog to c# code
Platform: | Size: 89088 | Author: jolia sot | Hits:

[AI-NN-PRpie

Description: prolog 智能推理机的实现代码,可编辑运行,欢迎大家交流与学习-This example demonstrates Prolog Inference Engine is a small Prolog Interpreter. It uses the standard Prolog syntax (K&M) and releases the most popular set of predicates.
Platform: | Size: 126976 | Author: 安准 | Hits:

[Other GamesP

Description: Prolog program for tower of hanoi problem
Platform: | Size: 1345536 | Author: speeed | Hits:

CodeBus www.codebus.net