pysal.explore.spaghetti.Network.node_distance_matrix

Network.node_distance_matrix(n_processes, gen_tree=False)[source]

Called from within allneighbordistances(), nearestneighbordistances(), and distancebandweights().

Parameters:
n_processes : int

cpu cores for multiprocessing.

gen_tree : bool

rebuild shortest path {True}, or skip {False}