Home | Trees | Indices | Help |
---|
|
Author: Aric Hagberg (hagberg@lanl.gov) Dan Schult(dschult@colgate.edu)
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
Return the eccentricity of node v in G (or all nodes if v is None). The eccentricity is the maximum of shortest paths to all other nodes. The optional keyword sp must be a dict of dicts of shortest_path_length keyed by source and target. That is, sp[v][t] is the length from v to t. If with_labels=True return dict of eccentricities keyed by vertex. |
Return the diameter of the graph G. The diameter is the maximum of all pairs shortest path. |
Return the periphery of the graph G. The periphery is the set of nodes with eccentricity equal to the diameter. |
Return the radius of the graph G. The radius is the minimum of all pairs shortest path. |
Return the center of graph G. The center is the set of nodes with eccentricity equal to radius. |
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0beta1 on Sun Aug 17 12:04:43 2008 | http://epydoc.sourceforge.net |