Hi,
I have a question about
the Java Api listDeftemplates(). This, apart from the deftemplates,also
gives out other facts which are asserted in the engine. Is there a way to go
arnd this?
thanks,
Archana
Yr sbjt ws a bt hrd 2 udrstd, bt I wl try 2 ansr ur msg newa.
listDeftemplates() lists only deftemplates, no facts (although I
suspect you're just being imprecise in your language here.) It lists
not only the ones you explicitly define using (deftemplate) but also
ones you implicitly define by
I know, I know -- rtfm.
I HAVE. I don't see it.
This problem probably doesn't need the scrutiny of Dr.
Friedman-Hill, but...
I am completely mystified by whatever I am doing
wrong.
If anyone could be so kind as to degne to share a few
pearls with me, they will undoubledly attain much good
D Typoes !!!
In your rule2_ReservationToCheckout rule you have days-requested instead
of days-required :
(defrule rule2_ReservationToCheckout
(current-name ?current-name)
(reservation (start-date ?start-date)(days-required ?days-requested)
...
Emmanuel Lecharny, IKTEK
06 08
I think Michael McConnell wrote:
Jess (batch AVIS\\avis-proto.clp)
Jess reported an error in routine ValueVector.get
while executing (batch
AVIS\avis-rules-proto-rules.clp)
while executing (batch AVIS\avis-proto.clp).
Message: Bad index -3 in call to get() on this
I think Michael McConnell wrote:
Jess (batch AVIS\\avis-proto.clp)
Jess reported an error in routine ValueVector.get
while executing (batch
AVIS\avis-rules-proto-rules.clp)
while executing (batch AVIS\avis-proto.clp).
Message: Bad index -3 in call to get() on this