File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,9 +21,9 @@ class AverageHyperedgeCardinality:
2121 The Average Hyperedge Cardinality measures the mean size of hyperedges
2222 in the hypergraph after perturbation:
2323
24- AHC = (1/|E'|) * Σ|e| for e ∈ E'
24+ `` AHC = (1/|E'|) * Σ|e|`` for `` e ∈ E'``
2525
26- where E' is the set of hyperedges after perturbation and |e| is the
26+ where E' is the set of hyperedges after perturbation and `` |e|`` is the
2727 cardinality (size) of hyperedge e.
2828
2929 This metric provides insight into how perturbations affect the
Original file line number Diff line number Diff line change @@ -21,13 +21,13 @@ class HyperedgeFragmentationIndex:
2121 The Hyperedge Fragmentation Index measures how much the original hyperedges
2222 have been fragmented by a perturbation:
2323
24- HFI = 1 - (1/|E|) * Σ(|e ∩ V'|/|e|) for e ∈ E
24+ `` HFI = 1 - (1/|E|) * Σ(|e ∩ V'|/|e|)`` for `` e ∈ E``
2525
2626 where:
2727 - E is the original set of hyperedges
2828 - V' is the set of nodes after perturbation
29- - e ∩ V' is the intersection of original hyperedge e with remaining nodes
30- - |e| is the original size of hyperedge e
29+ - `` e ∩ V'`` is the intersection of original hyperedge e with remaining nodes
30+ - `` |e|`` is the original size of hyperedge e
3131
3232 A value of 0.0 indicates no fragmentation (all hyperedges intact),
3333 while 1.0 indicates complete fragmentation (all hyperedges destroyed).
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ class HyperedgeIntegrity:
2020 The Hyperedge Integrity measures the fraction of hyperedges that remain
2121 in the hypergraph after a perturbation:
2222
23- HI = |E'| / |E|
23+ `` HI = |E'| / |E|``
2424
2525 where E is the original set of hyperedges and E' is the set of hyperedges
2626 after perturbation.
Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ class RedundancyCoefficient:
1818 The redundancy coefficient measures the average degree of normalized
1919 overlap between pairs of hyperedges in the hypergraph.
2020
21- Formula: ρ(H) = (1/|E|²) * Σ(|e1 ∩ e2| / √(|e1| * |e2|))
22- for all pairs e1, e2 ∈ E with e1 ≠ e2.
21+ Formula: `` ρ(H) = (1/|E|²) * Σ(|e1 ∩ e2| / √(|e1| * |e2|))``
22+ for all pairs `` e1, e2 ∈ E`` with `` e1 ≠ e2`` .
2323 """
2424
2525 @staticmethod
Original file line number Diff line number Diff 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: ℰs(H) = (1/(|V|(|V|-1))) * Σ(1/d_H^s(u,v))
22- for all pairs u,v ∈ V with u ≠ v.
21+ Formula: `` ℰs(H) = (1/(|V|(|V|-1))) * Σ(1/d_H^s(u,v))``
22+ for all pairs `` u,v ∈ V`` with `` u ≠ v`` .
2323 """
2424
2525 def __init__ (self , s : int = 1 ):
You can’t perform that action at this time.
0 commit comments