Logtalk 2.17.2 files.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1076 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.17.1
|
||||
Release 2.17.2
|
||||
|
||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
@@ -1,10 +1,12 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.17.1
|
||||
Release 2.17.2
|
||||
|
||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
||||
To load all objects in this library consult the planner.loader utility
|
||||
file (note that the *.loader files are Prolog files).
|
||||
|
||||
To load all entities in this example compile and load the loader file:
|
||||
|
||||
| ?- logtalk_load(loader).
|
||||
|
||||
|
@@ -1,11 +1,17 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.17.1
|
||||
Release 2.17.2
|
||||
|
||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
||||
|
||||
% start by loading the example:
|
||||
|
||||
| ?- logtalk_load(loader).
|
||||
...
|
||||
|
||||
|
||||
% plan a trip from london to the aiai conference in edinburgh:
|
||||
|
||||
| ?- plan(london)::from(imperial, aiai, L).
|
||||
|
21
Logtalk/examples/lo/planner/loader.lgt
Normal file
21
Logtalk/examples/lo/planner/loader.lgt
Normal file
@@ -0,0 +1,21 @@
|
||||
|
||||
:- initialization(
|
||||
logtalk_load([
|
||||
plan1,
|
||||
airport,
|
||||
aberdeen_air,
|
||||
city,
|
||||
london,
|
||||
albert_hall,
|
||||
edinburgh,
|
||||
edin,
|
||||
aiai,
|
||||
castle,
|
||||
fly,
|
||||
glasgow,
|
||||
imperial,
|
||||
lhr,
|
||||
manchester,
|
||||
renfrew,
|
||||
ringway,
|
||||
victoria])).
|
@@ -1,9 +1,11 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.17.1
|
||||
Release 2.17.2
|
||||
|
||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
||||
To load all objects in this library consult the travellers.loader utility
|
||||
file (note that the *.loader files are Prolog files).
|
||||
|
||||
To load all entities in this example compile and load the loader file:
|
||||
|
||||
| ?- logtalk_load(loader).
|
||||
|
@@ -1,11 +1,17 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.17.1
|
||||
Release 2.17.2
|
||||
|
||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
||||
|
||||
% start by loading the example:
|
||||
|
||||
| ?- logtalk_load(loader).
|
||||
...
|
||||
|
||||
|
||||
% build a route by adding one town at a time:
|
||||
|
||||
| ?- incremental::route([london, brighton, portsmouth, exeter, oxford, aberystwyth], Route).
|
||||
|
47
Logtalk/examples/lo/travellers/loader.lgt
Normal file
47
Logtalk/examples/lo/travellers/loader.lgt
Normal file
@@ -0,0 +1,47 @@
|
||||
|
||||
:- op(400, yfx, ~).
|
||||
|
||||
:- initialization(
|
||||
logtalk_load([
|
||||
quick1,
|
||||
|
||||
location2,
|
||||
|
||||
aberdeen,
|
||||
aberystwyth,
|
||||
birmingham,
|
||||
brighton,
|
||||
bristol,
|
||||
cambridge,
|
||||
cardiff,
|
||||
carlisle,
|
||||
dover,
|
||||
edinburgh,
|
||||
exeter,
|
||||
glasgow,
|
||||
hull,
|
||||
leeds,
|
||||
liverpool,
|
||||
london,
|
||||
manchester,
|
||||
newcastle,
|
||||
nottingham,
|
||||
oxford,
|
||||
penzance,
|
||||
portsmouth,
|
||||
sheffield,
|
||||
swansea,
|
||||
york,
|
||||
|
||||
salesman,
|
||||
|
||||
circular,
|
||||
incremental,
|
||||
presort,
|
||||
driving,
|
||||
geographic2,
|
||||
metric1,
|
||||
permute,
|
||||
|
||||
descend,
|
||||
natural])).
|
Reference in New Issue
Block a user