NeighborhoodGraph
The induced subgraph on the vertices within distance n of v (underlying graph).
Wolfram Language
NeighborhoodGraphNeighborhoodGraph(g, v)distance (v and its immediate neighbours).NeighborhoodGraph(g, v, n)distance , by BFS on the underlying (direction-blind) graph.Typed signatures
| Type | Package | Applies |
|---|---|---|
(value, any, integer?) -> value | combinatorics | always |
Examples
About
| Examples | 2 |
|---|---|
| Crosswalk | Wolfram Language |
See also: Subgraph, GraphDistance