PLEASE stop sending this message over and over again to the list!
I think Debabrata Biswas wrote:
>
> Hi all,
>
> 1) I am using .clp file as an input to jess applet. Since the program is
> very large, it's taking lot of time to load. Could anyone please tell me
> how to reduce the loading time for large program (compressing, etc) for
> windows 95/NT.
Jess is not very well suited for internet applet use; it's just too
big. On an intranet where LAN speeds are high enough, it can be used
as an applet if the client machines can handle it: 386 PCs just can't
run Java.
If you need to reduce the download time of Jess itself, about all you
can do is leave out optional functions. The very newest Netscape browsers can
handle compressed JAR files, so you might try that if possible.
If you've actually got a rulebase so large that downloading it is the
limiting factor, then I'm very impressed. But it's more likely that
downloading the Jess code, or perhaps Jess itself compiling the
rules, is the rate-limiting step. As I said yesterday, Jess 5.0 should
compile rules in about half the time, so you can look forward to that.
>
> 2) Is there any way to put the set of rules in a loop in jess which will
> execute repeatedly for the different values of loop counter?
>
Sure, just put (run) in a loop; for example
(defrule foo (foo ?X) => (printout t ?x crlf))
(foreach i (create$ A B C D E F G)
(assert (foo ?i))
(run))
> I will appreciate for the reply.
>
> Thnaks
>
> Biswas
---------------------------------------------------------
Ernest Friedman-Hill
Distributed Systems Research Phone: (925) 294-2154
Sandia National Labs FAX: (925) 294-2234
Org. 8920, MS 9214 [EMAIL PROTECTED]
PO Box 969 http://herzberg.ca.sandia.gov
Livermore, CA 94550
---------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the
list. List problems? Notify [EMAIL PROTECTED]
---------------------------------------------------------------------