Hyperedge-class {hypergraph} | R Documentation |
A Hyperedge object represents a hyperedge in a hypergraph, that is, a subset of the nodes of a hypergraph.
Objects can be created by calls of the form new("Hyperedge",
nodes, label)
.
You can also use the convenience function Hyperedge
to create
instances. This is especially useful for creating a list of
Hyperedge
instances using lapply
.
head
:"character"
containing
the node labels that are a part of the hyperedgelabel
:"character"
string
describing this hyperedge signature(.Object = "Hyperedge")
: Create an
instancesignature(object = "Hyperedge")
: Return the
value of the label
slot signature(object = "Hyperedge", value =
"character")
: Set the label slot.signature(object = "Hyperedge")
: Return a
vector containing the nodes in the hyperedge signature(object = "Hyperedge")
: Print a textual
summary of the hyperedge Seth Falcon
Hyperedge
Hypergraph-class
DirectedHyperedge-class
nodes <- LETTERS[1:4] label <- "Simple hyperedge" ## Use the convenience constructor he <- Hyperedge(nodes, label)