ArticleslgStudy

computer science

Wiener connector

Wiener connector is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Wiener connector rather than just read about it. In short: In network theory, the Wiener connector is a means of maximizing efficiency in connecting specified "query vertices" in a network. Given a connected, undirected graph and a set of query vertices in a graph, the minimum Wiener connector is an induced subgraph that connects the query vertices and minimizes the sum of shortest path distances among all pairs of vertices in the subgraph.

Wiener connector — main illustration
Wiener connector — illustration

Key takeaways

  • Wiener connector belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Wiener connector to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Wiener connector from memory before moving on to harder problems.

Reference excerpt

In network theory, the Wiener connector is a means of maximizing efficiency in connecting specified "query vertices" in a network. Given a connected, undirected graph and a set of query vertices in a graph, the minimum Wiener connector is an induced subgraph that connects the query vertices and minimizes the sum of shortest path distances among all pairs of vertices in the subgraph. In combinatorial optimization, the minimum Wiener connector problem is the problem of finding the minimum Wiener connector. It can be thought of as a version of the classic Steiner tree problem (one of Karp's 21 NP-complete problems), where instead of minimizing the size of the tree, the objective is to minimize the distances in the subgraph. The minimum Wiener connector was first presented by Ruchansky et al. in 2015. The minimum Wiener connector has applications in many domains where there is a graph structure and an interest in learning about connections between sets of individuals. For example, given a set of patients infected with a viral disease, which other patients should be checked to find the culprit? Or given a set of proteins of interest, which other proteins participate in pathways with them? The Wiener connector was named in honor of chemist Harry Wiener who first introduced the Wiener Index.

Problem definition The Wiener index is the sum of shortest path distances in a (sub)graph. Using d(u,v) to denote the shortest path between u and v, the Wiener index of a (sub)graph S, denoted W(S), is defined as

W(S)=∑(u,v)∈Sd(u,v). The minimum Wiener connector problem is defined as follows. Given an undirected and unweighted graph with vertex set V and edge set E and a set of query vertices Q⊆V, find a connector H⊆V of minimum Wiener index. More formally, the problem is to compute

∗⁡argminHW(H∪Q), that is, find a connector H that minimizes the sum of shortest paths in H.

Relationship to Steiner tree

The minimum Wiener connector problem is related to the Steiner tree problem. In the former, the objective function in the minimization is the Wiener index of the connector, whereas in the latter, the objective function is the sum of the weights of the edges in the connector. The optimum solutions to these problems may differ, given the same graph and set of query vertices. In fact, a solution for the Steiner tree problem may be arbitrarily bad for the minimum Wiener connector problem; the graph on the right provides an example.

Computational complexity

Hardness The problem is NP-hard, and does not admit a polynomial-time approximation scheme unless P = NP. This can be proven using the inapproximability of vertex cover in bounded degree graphs. Although there is no polynomial-time approximation scheme, there is a polynomial-time constant-factor approximation—an algorithm that finds a connector whose Wiener index is within a constant multiplicative factor of the Wiener index of the optimum connector. In terms of complexity classes, the minimum Wiener connector problem is in APX but is not in PTAS unless P = NP.

Exact algorithms An exhaustive search over all possible subsets of vertices to find the one that induces the connector of minimum Wiener index yields an algorithm that finds the optimum solution in 2O(n) time (that is, exponential time) on graphs with n vertices. In the special case that there are exactly two query vertices, the optimum solution is the shortest path joining the two vertices, so the problem can be solved in polynomial time by computing the shortest path. In fact, for any fixed constant number of query vertices, an optimum solution can be found in polynomial time.

Approximation algorithms There is a constant-factor approximation algorithm for the minimum Wiener connector problem that runs in time O(q(mlog⁡n+nlog2n)) on a graph with n vertices, m edges, and q query vertices, roughly the same time it takes to compute shortest-path distances from the query vertices to every other vertex in the graph. The central approach of this algorithm is to reduce the problem to the vertex-weighted Steiner tree problem, which admits a constant-factor approximation in particular instances related to the minimum Wiener connector problem.

Behavior The minimum Wiener connector behaves like betweenness centrality. When the query vertices belong to the same community, the non-query vertices that form the minimum Wiener connector tend to belong to the same community and have high centrality within the community. Such vertices are likely to be influential vertices playing leadership roles in the community. In a social network, these influential vertices might be good users for spreading information or to target in a viral marketing campaign. When the query vertices belong to different communities, the non-query vertices that form the minimum Wiener connector contain vertices adjacent to edges that bridge the different communities. These vertices span a structural hole in the graph and are important.

Applications The minimum Wiener connector is useful in applications in which one wishes to learn about the relationship between a set of vertices in a graph. For example,

in biology, it provides insight into how a set of proteins in a protein–protein interaction network are related, in social networks (like Twitter), it demonstrates the communities to which a set of users belong and how these communities are related, in computer networks, it may be useful in identifying an efficient way to route a multicast message to a set of destinations.

References

Worked examples

Example 1 — a first encounter with Wiener connector

Start with the simplest possible case. Write down what Wiener connector claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Wiener connector before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Wiener connector ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Wiener connector

In research
Wiener connector appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Wiener connector in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Wiener connector is common in secondary-school and first-year university syllabi. It links to neighbouring topics Computational biology, Computational problems in graph theory, Data mining, so understanding it makes those chapters shorter.
In everyday life
Look for Wiener connector outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Wiener connector” →

How to study Wiener connector in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Wiener connector means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Wiener connector out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Wiener connector in simple terms?

In network theory, the Wiener connector is a means of maximizing efficiency in connecting specified "query vertices" in a network. Given a connected, undirected graph and a set of query vertices in a graph, the minimum Wiener connector is an induced subgraph that connects the query vertices and min…

Why does Wiener connector matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Wiener connector?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Wiener connector.

Tags

  • Computational biology
  • Computational problems in graph theory
  • Data mining
  • Geometric algorithms
  • Geometric graphs
  • Graph algorithms
  • Information retrieval
  • NP-complete problems
  • Social networks
  • Trees (graph theory)

Keep exploring