Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
pp:l11 [2020/05/19 14:19] pdmatei |
pp:l11 [2020/05/19 14:42] (current) pdmatei |
||
---|---|---|---|
Line 48: | Line 48: | ||
14. Implement ''connected/4'', where ''connected(X,Y,P,G)'' generates all paths ''P'' between nodes ''X'' and ''Y'' in graph ''G''. | 14. Implement ''connected/4'', where ''connected(X,Y,P,G)'' generates all paths ''P'' between nodes ''X'' and ''Y'' in graph ''G''. | ||
- | 14. Implement ''ham/2'' where ''ham(P,G)'' generates all **hamiltonian paths** in G. | + | 15. Implement ''ham/2'' where ''ham(P,G)'' generates all **hamiltonian paths** in G. |