multiGraph-class {giRaph}R Documentation

Class "multiGraph"

Description

A class for multi-graphs.

Objects from the Class

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

Slots

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

Extends

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

Methods

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

Author(s)

Jens Henrik Badsberg, Claus Dethlefsen, Luca La Rocca

See Also

adjacencyList-class and adjacencyList


[Package giRaph version 0.0.0.11 Index]