Re: dynamic programming

Kilián Imre <[email protected]>
Newsgroups gmane.comp.ai.prolog.swi
Organization Univ Pécs/Informatika
Message-ID <[email protected]>
> I wish you wouldn't call it "dynamic programming".  Whenever I see that
> phrase I think it has its usual reference, see
> http://en.wikipedia.org/wiki/Dynamic_programming
> 
> "Using dynamic predicates" might confuse me less.
"Dynamic programming": Thanks for the advise: though the usage of the cited expression, in my opinion is bad, in communication with you I will avoid it...


> Actually, if I copy your example and paste it into a running SWI
> Prolog I don't get that, I get
neither do I in a virgin Prolog... actually I declare ontology predicates as dynamic/multifile/discontiguous before actually asserting/consulting them. One problem could also be, that the referred predicate had been consulted before, and asserted later...


but the problem is now solved...


> Can we possibly be using different versions of SWI Prolog?
> I'm using 6.5.0.
thanx again for the explanation...

I had used 6.3.x. Now first I have installed 6.5.2, which solved the problem, but tracing crashes the system down... Then I have installed 6.4.x, as a stable release that again solves the problem, and also the tracer goes seamlessly...


(but anyhow I am still curious what could happen with my 6.3.x, why have I seen different result for predicates whose certain clauses had been partially consulted before, and for those that were merely dynamically created...)



-- 
Kilián Imre/Univ.Pécs Informatics
<[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.