Description Objects from the Class Slots Extends Methods Warning Author(s) See Also
Class for directed edges
Objects can be created by calls of the form new("directedEdge", ...)
which admit short-hands of the form d(...)
and r(...)
.
.Data
:Object of class "list"
storing strictly positive numbers that refer to a given "vertexSet"
object
Class "edge"
, directly.
Class "list"
, from data part.
Class "vector"
, by class "list"
.
signature(.Object = "directedEdge")
:
constructs a directed edge from a list of strictly positive integers
signature(object = "directedEdge")
:
displays a directed edge as an ordered sequence of undirected edges joined by arrows (using numeric codes)
signature(object = "directedEdge",code="vertexSet")
:
displays a directed edge as an ordered sequence of undirected edges joined by arrows (using character names
signature(x = "directedEdge", y = "directedEdge")
:
x and y are the same directed edge if they are the same ordered sequence of undirected edges
signature(x = "directedEdge")
: extracts a directed edge
signature(x = "directedEdge")
: extracts an undirected edge
signature(object= "directedEdge")
: counts all vertices in a directed edge
signature(from = "vector", to = "directedEdge")
: constructs a directed edge from vector input
signature(from = "undirectedEdge", to = "directedEdge")
: directs an undirected edge
signature(x="directedEdge")
: gets the maximum numeric identifier of a directed edge
signature(object="directedEdge",src = "vertexSet", dst = "vertexSet")
:
recodes a directed edge by making its numbers refer to another "vertexSet"
object
The constructor will try to handle any vector input by silently transforming it into a list of strictly positive integers.
Jens Henrik Badsberg, Claus Dethlefsen, Luca La Rocca
edge-class
,
undirectedEdge-class
,
edgeList-class
,
d
and r
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.