A Sandcastle Documented Class Library
A Sandcastle Documented Class Library
GraphLibrary
DistanceMeasures Class
DistanceMeasures Methods
Center Method
EffectiveDiameter Method
Periphery Method
Radius Method
DistanceMeasures
EffectiveDiameter Method
Returns the effective diameter of the graph G. The diameter is the maximum eccentricity.
Namespace:
GraphLibrary
Assembly:
GraphLibrary (in GraphLibrary.dll) Version: 1.0.1
Syntax
C#
Copy
public
int
EffectiveDiameter
(
BaseGraph
graph
,
double
p
= 0,9 )
Parameters
graph
Type:
GraphLibrary.Graphs
BaseGraph
p
(Optional)
Type:
System
Double
percentile
Return Value
Type:
Int32
Returns integer the diameter of the graph G.
See Also
Reference
DistanceMeasures Class
GraphLibrary Namespace