vertexSet-class {giRaph} | R Documentation |
Class for vertex sets
Objects can be created by calls of the form new("vertexSet", ...)
which admit short-hands of the form v(...)
.
.Data
:"vector"
storing unique character identifiers that are sintactically valid names
Class "character"
, from data part.
Class "vector"
, by class "character"
.
signature(.Object = "vertexSet")
:
constructs a vertex set from a vector of unique sintactically valid namessignature(object = "vertexSet")
:
displays a vertex set as comma separated characters in graph bracketssignature(x = "vertexSet", y = "vertexSet")
:
x and y are the same vertex set if they are the same set of character identifierssignature(x = "vertexSet")
: extracts a vertex setsignature(from = "vector", to = "vertexSet")
: constructs a vertex set from vector inputsignature(x = "vertexSet")
: gets the character vertex identifierssignature(e1 = "vertexSet", e2 = "vertexSet")
: performs the union of two vertex setssignature(e1 = "vertexSet", e2 = "vertexSet")
: performs the intersection of two vertex setssignature(e1 = "vertexSet", e2 = "vertexSet")
: performs the asymmetric difference of two vertex sets
The constructor will try to handle any vector input
by silently transforming it into a vector of unique sintactically valid names
obtained via make.names
from the unique input elements.
Jens Henrik Badsberg, Claus Dethlefsen, Luca La Rocca
The short-hand v
.