hatvis.metrics.s_distance#

hatvis.metrics.s_distance(H, a, b, s=1, edges=True)[source]#

Length of the shortest \(s\)-walk between two hyperedges (or vertices); inf if none.