edgeList: edgeList class

Description Usage Arguments Details Methods

Description

Convenience wrapper class for a (column-major) edge list. Each component of the list corresponds to a node, and each component is an integer vector whose components are the parents of this node in the graph.

Usage

1
2
3
4
5
6
7
8
9
is.edgeList(x)

## S3 method for class 'edgeList'
print(x, maxsize = 20, ...)

## S3 method for class 'edgeList'
summary(object, ...)

edgeList(x)

Arguments

x

A list containing parents for each node in a graph. The length of this list should be the same as the number of nodes in the graph.

maxsize

Maximum number of nodes to print out. If num.nodes(x) > maxsize, then a simple summary will be printed instead.

...

(optional) additional arguments.

object

an object of type edgeList

Details

Also inherits from list.

Methods

get.adjacency.matrix, num.nodes, num.edges


itsrainingdata/sparsebnUtils documentation built on June 5, 2019, 5:43 p.m.