Re: problem:4x4magicSquare in prolog



lee.jinsong802@xxxxxxxxxxxxxx wrote:
:-dynamic zerlegung/5.
[...]
what`s the problem with it?it `s running so slowly?


Most probably the fact that you use assert/retract. But to be sure ...

Could you repost your program without comments, properly indented and with the query you
find too slow ? Also: what problem are you trying to solve ?

Cheers

Bart Demoen
.