DirectedHyperedge-class {hypergraph} | R Documentation |
This class represents directed hyperedges in a
Hypergraph-class
. A directed hyperedge consists of two
disjount sets of nodes, those in the tail and those in the head of the
hyperedge. Directed hyperedges are sometimes called hyperarcs.
Objects can be created by calls of the form new("DirectedHyperedge", head, tail, label)
.
You can also use the convenience function DirectedHyperedge
.
tail
:head
:label
:
Class "Hyperedge"
, directly.
signature(.Object = "DirectedHyperedge")
: Return a
vector containing the nodes in the head of the hyperedgesignature(.Object = "DirectedHyperedge")
: Return a
vector containing the nodes in the tail of the hyperedgesignature(.Object = "DirectedHyperedge")
:
Create a new instance.signature(object = "DirectedHyperedge")
: Return
a vector containing all nodes present in the hyperedge.signature(object = "DirectedHyperedge")
: Print me signature(.Object = "DirectedHyperedge")
:
Return a Hyperedge-class
object that results from
coercing to an undirected hyperedge.Seth Falcon
DirectedHyperedge
Hyperedge
Hyperedge-class
Hypergraph-class
head <- LETTERS[1:4] tail <- LETTERS[19:21] label <- "Directed hyperedge" dhe <- new("DirectedHyperedge", head=head, tail=tail, label=label)