i1 : graphComplement "Dhc" o1 = DUW |
i2 : graphComplement graph {{1,2},{2,3},{3,4},{4,5},{1,5}}
o2 = Graph{0 => set {2, 3}}
1 => set {3, 4}
2 => set {0, 4}
3 => set {0, 1}
4 => set {1, 2}
o2 : Graph
|
i3 : G = generateBipartiteGraphs 7; |
i4 : time graphComplement G;
-- used 0.00131362 seconds
|
i5 : time (graphComplement \ G);
-- used 0.161513 seconds
|