Пример
| ?- depth_first([['Arad']],'Craiova',Path).
Path = ['Arad','Zerind','Oradea','Sibiu', 'Fagaras','Bucharest','Pitesti', 'Rimnicu','Craiova']?;
Path= ['Arad','Zerind','Oradea','Sibiu', 'Fagaras','Bucharest', 'Pitesti','Craiova']
Previous slide
Next slide
Back to first slide
View graphic version