Macaulay2 » Documentation
Packages » EdgeIdeals :: isGraph
next | previous | forward | backward | up | index | toc

isGraph -- determines if a hypergraph is a graph

Description

i1 : QQ[a,b,c,d];
i2 : isGraph(hyperGraph {a*b,b*c,c*d})

o2 = true
i3 : isGraph(hyperGraph {a*b,b*c*d})

o3 = false
i4 : isGraph(hyperGraph {a*b,b*c,d})

o4 = false

Ways to use isGraph:

  • isGraph(HyperGraph)

For the programmer

The object isGraph is a method function.


The source of this document is in EdgeIdeals.m2:3416:0.