|
|
Distance (graph theory)In the mathematics subfield of graph theory we can define a notion of distance between two vertex_(graph theory) in a graph. ==Definition== Given a graph ''G'':=(''V'',''E'') with ''V'' the set of vertex_(graph theory) and ''E'' the set of edge_(graph theory) then the distance between two vertices is the number of edges in a shortest path connecting the two vertices. We denote the distance of two vertices and by : The vertex set ''V'' of a connected graph ''G'' thus becomes a metric space. For given ordering of vertices it is common to store distances in a distance matrix ''D''(''G'')of a graph. ===Eccentricity=== The eccentricity of a vertex ''v'' is : ===Diameter=== The diameter of the graph is defined as : ===Peripheral vertex=== A peripheral vertex for ''G'' is a vertex ''v'' with : ===Pseudo-peripheral vertex=== A vertex ''v'' is called pseudo-peripheral vertex if for any vertex ''u'' with : then : ==Algorithm for finding pseudo-peripheral vertices== Often peripheral sparse matrix algorithms need a starting vertex with a high eccentricity. A peripheral vertex would be perfect, but is often hard to calculate. In most circumstances a pseudo-peripheral vertex can be used. By constructing level structures for the graph we can easily find such a pseudo-peripheral vertex. #choose a vertex ''v'' in ''V'' #create a level structure with root ''v'' #choose a vertex ''u'' in with minimal degree #if then set ''v''=''u'' and repeat with step 2 else ''u'' is a pseudo-peripheral vertex ==See also== * Betweenness * Centrality * Closeness (graph theory) Graph theory See other meanings of words starting from letter: DDA | DB | DC | DE | DF | DG | DH | DI | DJ | DK | DL | DM | DN | DO | DP | DR | DS | DT | DU | DW | DX | DY | DZ |Words begining with Distance_(graph_theory): Distance_(graph_theory)
Sponsored links: praca, nurkowanie.
|
These materials are based on Wikipedia and licensed under the GNU FDL
YouTube.com videos better site than Turbo Tax 2007 |
|
|