@@ -1126,7 +1126,7 @@ class BetweennessCentrality(_Centrality):
11261126 = {3., 3., 6., 6., 6.}
11271127 """
11281128
1129- summary_text = "betweenness centrality"
1129+ summary_text = "get the betweenness centrality"
11301130
11311131 def eval (self , graph , expression , evaluation , options ):
11321132 "%(name)s[graph_, OptionsPattern[%(name)s]]"
@@ -1173,7 +1173,7 @@ class ClosenessCentrality(_Centrality):
11731173 = {0.4, 0.4, 0.4, 0.5, 0.666667}
11741174 """
11751175
1176- summary_text = "closeness centrality"
1176+ summary_text = "get the closeness centrality"
11771177
11781178 def eval (self , graph , expression , evaluation , options ):
11791179 "%(name)s[graph_, OptionsPattern[%(name)s]]"
@@ -1220,7 +1220,7 @@ class DegreeCentrality(_Centrality):
12201220 = ...
12211221 """
12221222
1223- summary_text = "degree centrality"
1223+ summary_text = "get the degree centrality"
12241224
12251225 def _from_dict (self , graph , centrality ):
12261226 s = len (graph .G ) - 1 # undo networkx's normalization
@@ -1664,7 +1664,7 @@ class HITSCentrality(_Centrality):
16641664
16651665 """
16661666
1667- summary_text = "HITS centrality"
1667+ summary_text = "get the HITS centrality"
16681668
16691669 def eval (self , graph , expression , evaluation , options ):
16701670 "%(name)s[graph_, OptionsPattern[%(name)s]]"
@@ -1761,7 +1761,7 @@ class KatzCentrality(_ComponentwiseCentrality):
17611761 = {1.25, 1.25, 1.25, 1.41026, 1.41026, 1.28205}
17621762 """
17631763
1764- summary_text = "Katz centrality"
1764+ summary_text = "get the Katz centrality"
17651765
17661766 rules = {
17671767 "Pymathics`KatzCentrality[Pymathics`g_, Pymathics`alpha_]" : "Pymathics`KatzCentrality[Pymathics`g, Pymathics`alpha, 1]" ,
@@ -1814,6 +1814,7 @@ class PageRankCentrality(_Centrality):
18141814 # >> g = Graph[{a -> d, b -> c, d -> c, d -> a, e -> c, d -> c}]; PageRankCentrality[g, 0.2]
18151815 = {0.184502, 0.207565, 0.170664, 0.266605, 0.170664}
18161816 """
1817+ summary_text = "get the page rank centralities"
18171818
18181819 def eval_alpha_beta (self , graph , alpha , expression , evaluation , options ):
18191820 "%(name)s[graph_, alpha_, OptionsPattern[%(name)s]]"
0 commit comments