simpleEdge-class {graph} | R Documentation |
A simple class for representing edges in graphs.
Objects can be created by calls of the form new("simpleEdge", ...)
.
edgeType
:"character"
; the type
of the edge.weight
:"numeric"
; the edge weight.directed
:"logical"
; is the
edge directed. bNode
:"character"
; the
beginning node. eNode
:"character"
; the ending node. No methods defined with class "simpleEdge" in the signature.
All slots are length one vectors (this is not currently checked for). If the edge is not directed there is no real meaning to the concepts of beginning node or ending node and these should not be interpreted as such.
R. Gentleman
See alsogEdge-class
new("simpleEdge", bNode="A", eNode="D")