Nov 10, 2014, 10:34:00 PM11/10/14

to swi-p...@googlegroups.com

I am doing this problem but I am completely new to PROLOG and I have no idea how to do it. Nine parts of an electronic board have square shape, the same size and each edge of every part is marked with a letter and a plus or minus sign. The parts are to be assembled into a complete board as shown in the figure below such that the common edges have the same letter and opposite signs. Write a planner in Prolog such that the program takes 'assemble' as the query and outputs how to assemble the parts, i.e. determine the locations and positions of the parts w.r.t. the current positions so that they fit together to make the complete board. I have tried solving it and I have written the following clauses:
I don't know even if they are correct and I am not sure how to proceed further to solve this problem. |

Reply all

Reply to author

Forward

0 new messages

Search

Clear search

Close search

Google apps

Main menu