Re: Question:TimeStamp
Thomas Russ <tar <at> ISI.EDU>
2004-11-04 02:22:13 GMT
On Nov 2, 2004, at 7:16 PM, kolli kavita wrote:
> hi,
>
> Is there a system clock in powerloom. Are there any
> commands that use time like before, after where i can
> compare two time stamps. Please let me know this.
There are the basic functions in the underlying Stella system that
would allow for this type of reasoning. In our internal research
version we also have developed PowerLoom level access for specific
timepoint reasoning that will do this as well -- but that will need to
await the next release of PowerLoom. We hope to have that out around
the end of this year, but are a bit short of time to go through the
release, documentation and testing process.
Unfortunately, the timepoint reasoning code does rely on some updates
to both PowerLoom and Stella, so it can't be easily added to the 3.0.2
version.
As a preview of what would be supported in the next version of
PowerLoom, I offer the following trace:
? (deffunction timestamp-of (?x ?y))
|f|TIMESTAMP-OF
? (assert (timestamp-of this (timepoint-kb/timepoint-of "now")))
|P|(= (TIMESTAMP-OF THIS) (/TIMEPOINT-KB/TIMEPOINT-OF now))
(Continue reading)