As of Version 10, all the functionality of the GraphUtilities package is built into the Wolfram System. >>
gives vertices that can be reached from vertex i within r hops.
gives vertices that can be reached from vertex i.
- NeighborhoodVertices functionality is now available in the built-in Wolfram Language function NeighborhoodGraph.
- To use NeighborhoodVertices, you first need to load the Graph Utilities Package using Needs["GraphUtilities`"].
- NeighborhoodVertices returns the vertices that can be reached from a given vertex within certain hops.
Basic Examples (2)
NeighborhoodVertices has been superseded by NeighborhoodGraph: