Help me program in prolog!
I am not an expert in logic programming and Prolog and I'm struggling with this project to make the university "taking pleasure in a domain, write two programs that make, one depth-first search and another in breadth" ... I have chosen as domain a journey through the various Italian cities, place the following code:
with this code I do I make a journey .. how can I make the two different research?
Can you help me in writing algorithms? thank you! :)