As of Version 10, most of the functionality of the Combinatorica package is built into the Wolfram System. >>

returns the subset of vertices in g that are at a distance of k or less from vertex v.

behaves identically, except that it takes as input an adjacency list al.


Translate this page: