GraphLinkEfficiency
✖
GraphLinkEfficiency
Details

- GraphLinkEfficiency is also known as global efficiency or efficiency.
- Measures how tightly connected the graph g is in relation to its number of edges.
- GraphLinkEfficiency[g] uses the underlying simple graph of g. For a simple unweighted graph, GraphLinkEfficiency[g] is given by 1-MeanGraphDistance[g]/EdgeCount[g].
Examples
open allclose allBasic Examples (2)Summary of the most common use cases
Scope (4)Survey of the scope of standard use cases
GraphLinkEfficiency works with undirected graphs:

https://wolfram.com/xid/0c0q3mbaute94-dy6dt4


https://wolfram.com/xid/0c0q3mbaute94-yo56q0

Use rules to specify the graph:

https://wolfram.com/xid/0c0q3mbaute94-bndh30

GraphLinkEfficiency works with large graphs:

https://wolfram.com/xid/0c0q3mbaute94-r64pi

https://wolfram.com/xid/0c0q3mbaute94-qbj9kq

Applications (2)Sample problems that can be solved with this function
Find how tightly connected the overground line of the London Underground is with respect to the number of lines between stations:

https://wolfram.com/xid/0c0q3mbaute94-33whzp

Analyze the distribution of link efficiency in the Watts–Strogatz graph model:

https://wolfram.com/xid/0c0q3mbaute94-xtw9fw

https://wolfram.com/xid/0c0q3mbaute94-qfnq1q

Distribution of link efficiency:

https://wolfram.com/xid/0c0q3mbaute94-3snv7e

https://wolfram.com/xid/0c0q3mbaute94-2wa8us


https://wolfram.com/xid/0c0q3mbaute94-xpq61t

Properties & Relations (5)Properties of the function, and connections to other functions
GraphLinkEfficiency is related to MeanGraphDistance:

https://wolfram.com/xid/0c0q3mbaute94-bvrefv


https://wolfram.com/xid/0c0q3mbaute94-1oehyg


https://wolfram.com/xid/0c0q3mbaute94-2kzhu3

The GraphLinkEfficiency is always less than 1:

https://wolfram.com/xid/0c0q3mbaute94-yjgmrp

The GraphLinkEfficiency of a complete graph is close to 1:

https://wolfram.com/xid/0c0q3mbaute94-y373rb


https://wolfram.com/xid/0c0q3mbaute94-drmhzc

Test if a graph is complete using CompleteGraphQ:

https://wolfram.com/xid/0c0q3mbaute94-ro8zil

The GraphLinkEfficiency of a path graph of length 1 is 0:

https://wolfram.com/xid/0c0q3mbaute94-6ueoci


https://wolfram.com/xid/0c0q3mbaute94-j32y0o

The GraphLinkEfficiency of a disconnected graph is -∞:

https://wolfram.com/xid/0c0q3mbaute94-ry6a3b


https://wolfram.com/xid/0c0q3mbaute94-shyicc

Use ConnectedGraphQ to test for connected graphs:

https://wolfram.com/xid/0c0q3mbaute94-i47s6p

Wolfram Research (2012), GraphLinkEfficiency, Wolfram Language function, https://reference.wolfram.com/language/ref/GraphLinkEfficiency.html (updated 2015).
Text
Wolfram Research (2012), GraphLinkEfficiency, Wolfram Language function, https://reference.wolfram.com/language/ref/GraphLinkEfficiency.html (updated 2015).
Wolfram Research (2012), GraphLinkEfficiency, Wolfram Language function, https://reference.wolfram.com/language/ref/GraphLinkEfficiency.html (updated 2015).
CMS
Wolfram Language. 2012. "GraphLinkEfficiency." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2015. https://reference.wolfram.com/language/ref/GraphLinkEfficiency.html.
Wolfram Language. 2012. "GraphLinkEfficiency." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2015. https://reference.wolfram.com/language/ref/GraphLinkEfficiency.html.
APA
Wolfram Language. (2012). GraphLinkEfficiency. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/GraphLinkEfficiency.html
Wolfram Language. (2012). GraphLinkEfficiency. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/GraphLinkEfficiency.html
BibTeX
@misc{reference.wolfram_2025_graphlinkefficiency, author="Wolfram Research", title="{GraphLinkEfficiency}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/GraphLinkEfficiency.html}", note=[Accessed: 22-April-2025
]}
BibLaTeX
@online{reference.wolfram_2025_graphlinkefficiency, organization={Wolfram Research}, title={GraphLinkEfficiency}, year={2015}, url={https://reference.wolfram.com/language/ref/GraphLinkEfficiency.html}, note=[Accessed: 22-April-2025
]}