<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2002/07/40e2f56597bf7b312228013855c99b31"
  from="Oleg &lt;oleg_inconnu@m...&gt;"
  author="Oleg"
  date="2002-07-25T06:26:13"
  subject="Re: [Caml-list] Rule based language [was: productivity improvement]"
  prev="2002/07/bdeb884d93792a060ffeac29121adb78"
  next="2002/07/3ed4479b8b1cc90b06bab8bccf459041"
  prev-in-thread="2002/07/161d12279d18418d447f03ad684f32f9"
  next-in-thread="2002/07/b49b46f18824827ab74cfaedb0bb2888"
  prev-thread="2002/07/d2430a228176c32b53caed6da8161d5d"
  next-thread="2002/07/c9d3f0e73f8c6335d98372a9ec715ebb"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="Re: [Caml-list] Rule based language [was: productivity improvement]">
<msg 
  url="2002/07/161d12279d18418d447f03ad684f32f9"
  from="sajuma@u..."
  author="sajuma@u..."
  date="2002-07-24T22:31:20"
  subject="Re: [Caml-list] Rule based language [was: productivity improvement]">
<msg 
  url="2002/07/40e2f56597bf7b312228013855c99b31"
  from="Oleg &lt;oleg_inconnu@m...&gt;"
  author="Oleg"
  date="2002-07-25T06:26:13"
  subject="Re: [Caml-list] Rule based language [was: productivity improvement]">
<msg 
  url="2002/07/b49b46f18824827ab74cfaedb0bb2888"
  from="sajuma@u..."
  author="sajuma@u..."
  date="2002-07-25T13:30:27"
  subject="Re: [Caml-list] Rule based language">
<msg 
  url="2002/07/dcc2af7fceff5460d2e471cd0472f44d"
  from="Oleg &lt;oleg_inconnu@m...&gt;"
  author="Oleg"
  date="2002-07-25T18:16:06"
  subject="Re: [Caml-list] Rule based language">
<msg 
  url="2002/07/3a3fcdeb0903a486a8e51b5dbe0882df"
  from="Francois Rouaix &lt;francois@r...&gt;"
  author="Francois Rouaix"
  date="2002-07-25T18:26:38"
  subject="RE: [Caml-list] Rule based language">
</msg>
</msg>
</msg>
</msg>
<msg 
  url="2002/07/d1fe025ee336028b37ed15c421ed5f1a"
  from="Oleg &lt;oleg_inconnu@m...&gt;"
  author="Oleg"
  date="2002-07-27T09:08:02"
  subject="[Caml-list] productivity improvement (was: Rule based language)">
</msg>
</msg>
</thread>

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

&gt; Here is a question: in C you can hack in all the object
&gt; oriented features, so why are you using C++? Many claim that
&gt; OOP in C is better than in C++, so what would you say to these
&gt; 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

</contents>

</message>

