duplicatedEdges

duplicatedEdges

A multigraph is a graph where edges between nodes can be represented several times. For some algorithms this causes problems. duplicatedEdges tests an instance of the graphNEL class to see if it has duplicated edges and returns TRUE if it does and FALSE otherwise.

Keywords
manip
Usage
duplicatedEdges(graph)
Arguments
graph
An instance of the class graphNEL
Details

It would be nice to handle other types of graphs.

Value

A logical, either TRUE if the graph has duplicated edges or FALSE it not.

See Also

connComp, ugraph

Aliases
  • duplicatedEdges
Examples
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
Documentation reproduced from package graph, version 1.50.0, License: Artistic-2.0

Community examples

Looks like there are no examples yet.