Description Usage Arguments Details Value Author(s) Examples
Finds the set of vertices with up to a given distance from a given vertex.
1 | neighbourhood(model=NULL,edges=NULL,orig=NULL,rad=1)
|
model |
|
edges |
matrix with 2 columns, each row representing one edge, and each column one of the vertices in the edge. Column 1 contains the vertex with lower index. |
orig |
central vertex. |
rad |
distance. |
Finds the set of vertices with up to a given distance from a given vertex.
Returns a list with:
subEdges |
matrix with 2 columns, each row representing one edge, and each column one of the vertices in the edge. Column 1 contains the vertex with lower index. |
v |
matrix with 2 columns, the first indicating the vertex index, and
the second the distance to the |
Gabriel Coelho Goncalves de Abreu (abreu_ga@yahoo.com.br)
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.