|
SOLUTIONS
|
BUILT-IN MATHEMATICA SYMBOL
HITSCentrality
HITSCentrality[g]
gives a list of authority and hub centralities for the vertices in the graph g.
Details and OptionsDetails and Options
- HITSCentrality gives two lists of authority centralities
and hub centralities
for each vertex. - If the graph g has adjacency matrix
, then authority centralities are given by
, where
is the largest eigenvalue of
, and hub centralities are given by
. » - The authority and hub centralities satisfy
and
. » - The option WorkingPrecision->p can be used to control the precision used in internal computations.
ExamplesExamplesopen allclose all
Basic Examples (2)Basic Examples (2)
Compute HITS hub and authority centralities:
| In[1]:= |
| In[2]:= |
| Out[2]= | ![]() |
| In[3]:= |
| Out[3]= | ![]() |
Rate web pages using hyperlink-induced topic search:
| In[1]:= |
| In[2]:= |
| Out[2]= | ![]() |
Web pages with high hub centralities are connected to many other web pages:
| In[3]:= |
Out[3]//Short= | |
Web pages with high authority centralities are connected from many other web pages:
| In[4]:= |
Out[4]//Short= | |
New in 8
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »




