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"`

.

- initialize
`signature(.Object = "directedEdge")`

: constructs a directed edge from a list of strictly positive integers- show
`signature(object = "directedEdge")`

: displays a directed edge as an ordered sequence of undirected edges joined by arrows (using numeric codes)- showRel
`signature(object = "directedEdge",code="vertexSet")`

: displays a directed edge as an ordered sequence of undirected edges joined by arrows (using character names- areTheSame
`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- card
`signature(object= "directedEdge")`

: counts all vertices in a directed edge- coerce
`signature(from = "vector", to = "directedEdge")`

: constructs a directed edge from vector input- coerce
`signature(from = "undirectedEdge", to = "directedEdge")`

: directs an undirected edge- maxId
`signature(x="directedEdge")`

: gets the maximum numeric identifier of a directed edge- recode
`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`

.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.