Add function to build complete graph
parent
355de55fa7
commit
da1201be6c
|
|
@ -61,6 +61,9 @@ instrument g e
|
||||||
| p crossG = "amencutup"
|
| p crossG = "amencutup"
|
||||||
| otherwise = "rave" -- edge is (x,x)
|
| otherwise = "rave" -- edge is (x,x)
|
||||||
where p f = e `elem` (f g)
|
where p f = e `elem` (f g)
|
||||||
|
--
|
||||||
|
-- complete graph
|
||||||
|
k n = buildG (1,n) [(u,v)|u <- [1..n],v <- [1..n]]
|
||||||
|
|
||||||
-- TODO Tiefe
|
-- TODO Tiefe
|
||||||
-- TODO Wurzel betonen
|
-- TODO Wurzel betonen
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue