1 parent 271b239 commit 62f3e09Copy full SHA for 62f3e09
1 file changed
hiper/metrics/swalk.py
@@ -18,8 +18,8 @@ class SwalkEfficiency:
18
The s-walk efficiency measures how efficiently nodes can reach each
19
other via s-walks, computed as the average of inverse distances.
20
21
- Formula: :math:`\mathcal{E}_s(H) = \\frac{1}{|V|(|V|-1)} \\sum \\frac{1}{d_H^s(u,v)}`
22
- for all pairs :math:`u,v \\in V` with :math:`u \\neq v`.
+ Formula: :math:`\mathcal{E}_s(H) = \frac{1}{|V|(|V|-1)} \sum \frac{1}{d_H^s(u,v)}`
+ for all pairs :math:`u,v \in V` with :math:`u \neq v`.
23
"""
24
25
def __init__(self, s: int = 1):
0 commit comments