Rozdělaný
"Visual Evaluator"
Ještě jsem to nestihnul dodělat..
zena(marge). zena(lisa). zena(maggie). muz(homer). muz(bart). muz(abe). potomek(homer, abe). potomek(bart, homer). potomek(bart, marge). potomek(lisa, homer). potomek(lisa, marge). potomek(maggie, homer). potomek(magiie, marge). dcera(X,Y):-zena(X),potomek(X,Y). syn(X,Y):-muz(X),potomek(X,Y). deda(X,Y):-potomek(Y,Z),potomek(Z,X),muz(X).
?-
dcera(X, homer)
Graphviz Definition
/* Example */ digraph { /* Note: HTML labels do not work in IE, which lacks support for <foreignObject> tags. */ node [rx=5 ry=5 labelStyle="font: 300 14px 'Helvetica Neue', Helvetica"] edge [labelStyle="font: 300 14px 'Helvetica Neue', Helvetica"] A [labelType="html" label="A
Big
HTML
Source!"]; C; E [label="Bold Red Sink" style="fill: #f77; font-weight: bold"]; A -> B -> C; B -> D [label="A blue label" labelStyle="fill: #55f; font-weight: bold;"]; D -> E [label="A thick red edge" style="stroke: #f77; stroke-width: 2px;" arrowheadStyle="fill: #f77"]; C -> E; A -> D [labelType="html" label="A multi-rank
HTML
edge!"]; }
Link for this graph