generalGraph-class {giRaph}R Documentation

Class "generalGraph"

Description

A class for general graphs.

Objects from the Class

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

Slots

incidenceMatrix:
Object of class "incidenceMatrix"
incidenceList:
Object of class "incidenceList"

Extends

Class "anyGraph", directly, with explicit coerce.

Methods

coerce
signature(from = "anyGraph", to = "generalGraph"): all but directed and undirected edges are lost in the conversion
coerce
signature(from = "multiGraph", to = "generalGraph"): no edges are lost in the conversion as every multi-graph is a general graph
coerce
signature(from = "simpleGraph", to = "generalGraph"): no edges are lost in the conversion as every simple-graph is a general graph
incidenceMatrix
signature(object = "generalGraph"): gets the incidence matrix representation
incidenceMatrix<-
signature(x = "generalGraph"): sets the incidence matrix representation

Author(s)

Jens Henrik Badsberg, Claus Dethlefsen, Luca La Rocca

See Also

incidenceMatrix-class and incidenceMatrix


[Package giRaph version 0.0.0.11 Index]