PairViz (version 1.3.2)

even_graph: Class of graphs where all nodes have even degree

Description

This class is an extension of graphNEL-class. For graphs of this class, euler tours may always be constructed. Objects of this class should be created by mk_even_graph

Arguments

Slots

This class has all slots from graphNEL-class plus:

dummy_node:

Object of class "character"

extra_edges:

Object of class "character"

weighted:

Object of class "logical"

% \item{\code{nodes}:}{Object of class \code{"vector"} ~~ } % \item{\code{edgeL}:}{Object of class \code{"list"} ~~ } % \item{\code{edgemode}:}{Object of class \code{"character"} ~~ } % \item{\code{edgeData}:}{Object of class \code{"attrData"} ~~ } % \item{\code{nodeData}:}{Object of class \code{"attrData"} ~~ } % \item{\code{renderInfo}:}{Object of class \code{"renderInfo"} ~~ } % \item{\code{graphData}:}{Object of class \code{"list"} ~~ }

Extends

Class graphNEL-class, directly. Class graph-class, by class "graphNEL", distance 2.

Methods

is_even_graph

signature(g = "graphNEL"): checks whether a graph has all nodes of even degree.

is_even_graph

signature(g = "even_graph"): always TRUE.

References

see overview

Examples

Run this code
# NOT RUN {
showClass("even_graph")

# }

Run the code above in your browser using DataCamp Workspace