acc-methods {graph}R Documentation

Methods for Accessibility Lists

Description

This generic function takes an object that inherits from the graph class and a node in that graph and returns a vector containing information about all other nodes that are accessible from the given node.

Value

The methods should return an integer vector. The names of this vector are the nodes that are accessible from the given node. The values in the vector indicate how many edges between the given node and the node in the return vector.

Methods

object = graph
An object of class graph.
index
An index corresponding to a node in the graph.

[Package Contents]