Skip to content

Commit 62f3e09

Browse files
Rendering formule matematiche docstring
1 parent 271b239 commit 62f3e09

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

hiper/metrics/swalk.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ class SwalkEfficiency:
1818
The s-walk efficiency measures how efficiently nodes can reach each
1919
other via s-walks, computed as the average of inverse distances.
2020
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`.
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`.
2323
"""
2424

2525
def __init__(self, s: int = 1):

0 commit comments

Comments
 (0)