90-Percentile effective diameter
import snap
Graph = snap.GenRndGnm(snap.TNGraph, 100, 1000)
NTestNodes = 10
IsDir = False
EffDiam = Graph.GetBfsEffDiam(NTestNodes, IsDir)
print(EffDiam)
UGraph = snap.GenRndGnm(snap.TUNGraph, 100, 1000)
NTestNodes = 10
IsDir = False
EffDiam = UGraph.GetBfsEffDiam(NTestNodes, IsDir)
print(EffDiam)
Network = snap.GenRndGnm(snap.TNEANet, 100, 1000)
NTestNodes = 10
IsDir = False
EffDiam = Network.GetBfsEffDiam(NTestNodes, IsDir)
print(EffDiam)