Class for multi-sets of edges

Objects can be created by calls of the form `new("edgeList", ...)`

.

`.Data`

:Object of class

`"list"`

whose elements are of class`"edge"`

Class `"list"`

, from data part.
Class `"vector"`

, by class `"list"`

.

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

: constructs a multi-set of edges from a list of edges- show
`signature(object = "edgeList")`

: dispalys a multi-set of edges in graph brackets (numeric codes)- showRel
`signature(object = "edgeList",code="vertexSet")`

: dispalys a multi-set of edges in graph brackets (character names- areTheSame
`signature(x = "edgeList", y = "edgeList")`

: x and y are the same multi-set of edges if they contain the same edges with the same multiplicity- isPresent
`signature(el = "edge", ou = "edgeList")`

: tells whether an edge belongs to a multi-set of edges- [
`signature(x = "edgeList")`

: extracts a multi-set of edges- +
`signature(e1 = "edgeList", e2 = "edge")`

: adds an (occurrence of an) edge to a multi-set of edges- +
`signature(e1 = "edge", e2 = "edgeList")`

: adds an (occurrence of an) edge to a multi-set of edges- -
`signature(e1 = "edgeList", e2 = "edge")`

: drops (the first occurrence of) an edge from a multi-set of edges- maxId
`signature(x="edgeList")`

: gets the maximum numeric identifier of a multi-set of edges- recode
`signature(object = "edgeList",src="vertexSet",dst="vertexSet")`

: recodes a multi-sets of edges by making the numbers of its edges refer to another`"vertexSet"`

object- coerce
`signature(from = "list", to = "edgeList")`

: constructs a multi-set of edges from list input

All non-edge elements of the input list are silently discarded by the constructor.

Jens Henrik Badsberg, Claus Dethlefsen, Luca La Rocca

`edge-class`

,
`undirectedEdge-class`

and
`directedEdge-class`

.

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.