search all paths and the shortest path for a graph - Prolog
- by prologian
Hi , I have a problem in my code with turbo prolog wich search all paths and the shortest path for a graph between 2 nodes
the problem that i have is to test if the node is on the list or not exactly in the clause of member
and this is my code :
/*
1 ---- b ---- 3
--- | ---
--- | …