I only suggested it because it would make the syntax cleaner when you need
to pattern match against the time by not having to call a function/use
(test).

The name itself could be made funky enough to not collide with programmer
supplied slot names - e.g. (myfact (ASSERT-TIME ?time). There is already a
precedent for jess supplied slots (OBJECT ?myJavaObject) so it may not be
too objectionable.

Yet another configurable behavior perhaps?

(set-time-slot-augmentation-for-unordered-facts-behavior true)

alan

-----Original Message-----
From: Matthias Blankenhaus [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 18, 2001 12:16 PM
To: Alan Moore
Cc: [EMAIL PROTECTED]
Subject: RE: JESS: Fact getTime() made public?


Don't you think that would create too much memory overhead ?  I believe
the decision about the integration of a time slot into an unordered
fact should be left to the programmer, because it seems like it's a
problem specific attribute.

Matthias


On Wed, 18 Apr 2001, Alan Moore wrote:

> Having the time a fact was asserted automatically available as a slot
value
> would be nice too (for unordered facts, of course...)
> 
> alan
> 
> -----Original Message-----
> From: Alan Moore [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 18, 2001 11:50 AM
> To: [EMAIL PROTECTED]
> Subject: JESS: Fact getTime() made public?
> 
> 
> Could you please expose the getTime() method of the Fact object?
> 
> Are there any dangers in doing so?
> 
> alan
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
> in the BODY of a message to [EMAIL PROTECTED], NOT to the
> list (use your own address!) List problems? Notify
> [EMAIL PROTECTED]
> ---------------------------------------------------------------------
> 
> ---------------------------------------------------------------------
> To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
> in the BODY of a message to [EMAIL PROTECTED], NOT to the
> list (use your own address!) List problems? Notify
[EMAIL PROTECTED]
> ---------------------------------------------------------------------
> 


---------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the
list (use your own address!) List problems? Notify
[EMAIL PROTECTED]
---------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the
list (use your own address!) List problems? Notify [EMAIL PROTECTED]
---------------------------------------------------------------------

Reply via email to