src.build_graphs.fully_connect

src.build_graphs.fully_connect(P: numpy.ndarray, thre=None) numpy.ndarray[source]

Return the adjacency matrix of a fully-connected graph.

Parameters
  • P\((n\times 2)\) point set

  • thre – edges that are longer than this threshold will be removed

Returns

adjacency matrix \(A\)