Prolog maze solving algorithm
问题 I want to implement a maze solving algorithm in Prolog. Therefore i searched for some maze solving algorithms and found the following: http://www.cs.bu.edu/teaching/alg/maze/ FIND-PATH(x, y): if (x,y outside maze) return false if (x,y is goal) return true if (x,y not open) return false mark x,y as part of solution path if (FIND-PATH(North of x,y) == true) return true if (FIND-PATH(East of x,y) == true) return true if (FIND-PATH(South of x,y) == true) return true if (FIND-PATH(West of x,y) ==