How to change vertices of a graph to that are indexed from 0?
In Mathematica: ChangeVertices.
We can change it to the adjacency matrix A and from A to the graph. A faster solution?
Ho to get a permutation of vertices?
| 1 | initial version |
How to change vertices of a graph to that are indexed from 0?
In Mathematica: ChangeVertices.
We can change it to the adjacency matrix A and from A to the graph. A faster solution?
Ho to get a permutation of vertices?
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.