This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
yap-6.3/Logtalk/examples/mi/NOTES
pmoura c2e03a81b9 Logtalk 2.24.0 files.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1282 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-04-22 23:57:45 +00:00

40 lines
1.2 KiB
Plaintext

=================================================================
Logtalk - Object oriented extension to Prolog
Release 2.24.0
Copyright (c) 1998-2005 Paulo Moura. All Rights Reserved.
=================================================================
To load this example and for sample queries, please see the SCRIPT file.
There are two examples in this folder. The first one is an adoption of a
multi-inheritance C++ example found on the D. M. Capper book "Introducing
C++ for Scientists, Engineers and Mathematicians" published by
Springer-Verlag. It uses dynamic predicates for storing state. The second
example is a variant of the first one using parametric objects.
This example defines the following objects:
space
this object space stores spatial coordinates using a dynamic
predicate
time
this object stores a time stamp using a dynamic predicate
space_time
this object inherits from both the objects space and time
space(_,_,_)
similar to object space but using parameters instead of dynamic
predicates
time(_)
similar to object space but using a parameter instead of a dynamic
predicate
space_time(_,_,_,_)
this object inherits from both the objects space(_,_,_) and time(_)