caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Oleg <oleg_inconnu@myrealbox.com>
To: sajuma@utu.fi
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Rule based language [was: productivity improvement]
Date: Thu, 25 Jul 2002 02:26:23 -0400	[thread overview]
Message-ID: <200207250626.CAA03249@dewberry.cc.columbia.edu> (raw)
In-Reply-To: <1027549877.3d3f2ab5bff5c@webmail.utu.fi>

On Wednesday 24 July 2002 06:31 pm, sajuma@utu.fi wrote:
> I think you misunderstood the specification of the language.
> (It was not very clear). The meaning of "a and b" should not
> be "a is reachable and b is reachable" (additive and), but
> "a and b are true at the same time" (multiplicative and).
> Of course I could be mistaken too, but the multiplicative case
> is more interesting.

I did not misunderstand. I use multiplicative AND. All three programs give 
equivalent output when they all finish for all cases I looked at. 

However, your and Alex's programs, for examle, fail to finish processing this 
file containing 9000 rules with preconditions of lengths 1 to 10, 10 goals 
and 10 dataset points. (My patience ran out after 72 and 45 minutes of 
waiting for your and Alex's programs, respectively):

http://www.columbia.edu/~ot14/rules_test_long.input.gz (152 kB), 

while mine takes only 4 seconds. Something to think about [1]

> Here is a question: in C you can hack in all the object
> oriented features, so why are you using C++? Many claim that
> OOP in C is better than in C++, so what would you say to these
> people?

I'd ask them if they were on any special medication.

Cheers,
Oleg

[1] As I said, I certainly do not blame O'Caml for this. Just poor choice of 
algorithm.
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


  reply	other threads:[~2002-07-25  6:26 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-24 22:31 sajuma
2002-07-25  6:26 ` Oleg [this message]
2002-07-25 13:30   ` [Caml-list] Rule based language sajuma
2002-07-25 18:16     ` Oleg
2002-07-25 18:29       ` Francois Rouaix
2002-07-27  9:08 ` [Caml-list] productivity improvement (was: Rule based language) Oleg
  -- strict thread matches above, loose matches on Subject: below --
2002-07-24 13:39 [Caml-list] Rule based language [was: productivity improvement] Arturo Borquez
2002-07-24 20:03 ` Oleg
     [not found] <20020716172916.4903.qmail@web10702.mail.yahoo.com>
2002-07-18 23:14 ` [Caml-list] productivity improvement Oleg
2002-07-19  1:25   ` Alessandro Baretta
2002-07-19  4:04     ` Oleg
2002-07-19 15:46       ` [Caml-list] Rule based language [was: productivity improvement] Alessandro Baretta
     [not found] ` <200207200640.CAA11477@dewberry.cc.columbia.edu>
     [not found]   ` <3D391B41.50900@baretta.com>
     [not found]     ` <200207210059.UAA17003@dewberry.cc.columbia.edu>
2002-07-21 13:00       ` Alessandro Baretta
2002-07-23  9:53         ` Oleg
2002-07-24  8:07           ` Alessandro Baretta

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200207250626.CAA03249@dewberry.cc.columbia.edu \
    --to=oleg_inconnu@myrealbox.com \
    --cc=caml-list@inria.fr \
    --cc=sajuma@utu.fi \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).