Graph directed

Description

Example of a directed graph

Source: The Art of Prolog

Download

Program source code: graph_directed.pl

Listing

edge(a,b).
edge(a,c).
edge(b,d).
edge(c,d).
edge(d,e).
edge(f,g).
 
%	Program 2.6: A directed graph

Comments

pl/prolog/pllib/graph_directed.txt · ostatnio zmienione: 2017/07/17 08:08 (edycja zewnętrzna)
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0