Description Objects from the Class Slots Extends Methods Warning Author(s) See Also
Class for undirected edges
Objects can be created by calls of the form new("undirectedEdge", ...)
which admit short-hands of the form u(...)
.
.Data
:Object of class "vector"
storing strictly positive numbers that refer to a given "vertexSet"
object
Class "edge"
, directly.
Class "integer"
, from data part.
Class "vector"
, by class "integer"
.
Class "numeric"
, by class "integer"
.
signature(.Object = "undirectedEdge")
:
constructs an undirected edge from a vector of strictly positive integers
signature(object = "undirectedEdge")
:
displays an undirected edge as numbers joined by lines
signature(object = "undirectedEdge",code="vertexSet")
:
displays an undirected edge as names joined by lines
signature(x = "undirectedEdge", y = "undirectedEdge")
:
x and y are the same undirected edge if they are the same set of numbers
signature(x = "undirectedEdge")
: extracts an undirected edge
signature(from = "vector", to = "undirectedEdge")
: constructs an undirected edge from vector input
signature(from = "directedEdge", to = "undirectedEdge")
: makes a directed edge undirected
signature(x="undirectedEdge")
: gets the maximum numeric identifier of an undirected edge
signature(object = "undirectedEdge",src="vertexSet",dst="vertexSet")
:
recodes an undirected 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
,
directedEdge-class
,
edgeList-class
and
u
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.