The programme manner_data.c did not work properly with VC++ 6.0 under
Windows NT without a couple of minor mods (use the constant RAND_MAX
in a few places so that the generating random numbers between 0.0 and 1.0
are correct).

See modifed program attached.

Ernest Friedman-Hill wrote:

> Hi Osvaldo and List,
>
> I had to translate it by hand. It's not hard - I don't know OPS5
> but it was easy enough to figure out the translation.
>
> Since the files are small, I'm going to break mailing-list protocol and
> include them here as two attachments. You have to compile the C program
> and use it to generate test data for the Jess program. Then you have to
> edit manners.clp to specify the name of the data file (near the end).
>
> One more note: no currently released version of Jess will properly run
> this benchmark! (only my working version will.) The reason is that Jess
> has
> historically been lax about relative ordering of near-simultaneous rule
> activations, but this benchmark requires precision in this area. The
> next
> Jess release will include this new precision.
>
> I think Osvaldo Pinali Doederlein wrote:
> >
> > >              CLIPS      Jess
> > > ------------------------------
> > > manners/32:  5          5
> > > manners/64   68         22
> > > manners/80   235        56
> > > manners/90   456        90
> > > Note that this is fully twice as fast for manners/90 as my last
> > > reported time. Most of the gain is due to HotSpot; about 15% is due to
> > > further tuning of Jess.
> >
> > Hmmm where can I find this benchmark code?  :) I searched but only found for
> > OPS5...
> >
> > Thanks
> > Osvaldo
>
> ---------------------------------------------------------
> 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
>
>   
>----------------------------------------------------------------------------------------------------
>                     Name: manner_data.c
>    manner_data.c    Type: Programmer's File Editor (32-bit) 
>(application/x-unknown-content-type-PFE32)
>                 Encoding: base64
>
>                   Name: manners.clp
>    manners.clp    Type: wxclips.Document 
>(application/x-unknown-content-type-wxclips.Document)
>               Encoding: base64

manner_data.c

begin:vcard 
n:Orchard;Bob
tel;fax:613-952-7151
tel;home:613-521-9968
tel;work:613-993-8557
x-mozilla-html:TRUE
url:http://www.iit.nrc.ca
org:National Research Council of Canada;Institute for Information Technology
version:2.1
email;internet:[EMAIL PROTECTED]
title:Research Officer
adr;quoted-printable:;;Montreal Road=0D=0ABuilding M-50;Ottawa;Ontario;K1A 0R6;Canada
end:vcard

Reply via email to