import networkx G = {code to make graph} diameter = nx.diameter(G). 但是,需要根据每个特征计算直径。即,我要根据频率计算直径,根据行程时间计算直径。
確定! 回上一頁