simpleGraph-class {giRaph}R Documentation

Class "simpleGraph"

Description

A class for simple-graphs

Objects from the Class

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

Slots

adjacencyMatrix:
Object of class "adjacencyMatrix"
adjacencyList:
Object of class "adjacencyList"
incidenceMatrix:
Object of class "incidenceMatrix"
incidenceList:
Object of class "incidenceList"

Extends

Class "multiGraph", directly, with explicit coerce. Class "generalGraph", directly, with explicit coerce. Class "anyGraph", directly, with explicit coerce.

Methods

coerce
signature(from = "anyGraph", to = "simpleGraph"): only ordinary directed and undirected edges, but no loops nor parallel edges, are kept in the conversion
coerce
signature(from = "generalGraph", to = "simpleGraph"): hyper-edges, loops and parallel edges are lost in the conversion
coerce
signature(from = "multiGraph", to = "simpleGraph"): loops and parallel edges are lost in the conversion
coerce
signature(from = "mathgraph", to = "simpleGraph"): ...
coerce
signature(from = "simpleGraph", to = "mathgraph"): ...
adjacencyMatrix
signature(object = "simpleGraph"): gets the adjacency matrix representation
adjacencyMatrix<-
signature(x = "simpleGraph"): sets the adjacency matrix representation
display
signature(x = "simpleGraph"): ...
dynamic.Graph
signature(object = "simpleGraph"): ...

Author(s)

Jens Henrik Badsberg, Claus Dethlefsen, Luca La Rocca

See Also

adjacencyMatrix-class and adjacencyMatrix


[Package giRaph version 0.0.0.11 Index]