[Paper Review] Eccentric connectivity index
This paper presents an efficient O(n) algorithm to compute the eccentricity of every vertex in a tree using a dynamic programming approach with two key arrays: ddown (maximum distance to descendants) and dup (maximum distance via parent). The method propagates distance information upward and downward in a single DFS traversal, enabling linear-time computation of eccentricities crucial for topological analysis in chemical graph theory and network science.
The eccentric connectivity index $ξ^c$ is a novel distance--based molecular structure descriptor that was recently used for mathematical modeling of biological activities of diverse nature. It is defined as $ξ^c (G) = \sum_{v \in V (G)} deg (v) \cdot ε(v)$\,, where $deg (v)$ and $ε(v)$ denote the vertex degree and eccentricity of $v$\,, respectively. We survey some mathematical properties of this index and furthermore support the use of eccentric connectivity index as topological structure descriptor. We present the extremal trees and unicyclic graphs with maximum and minimum eccentric connectivity index subject to the certain graph constraints. Sharp lower and asymptotic upper bound for all graphs are given and various connections with other important graph invariants are established. In addition, we present explicit formulae for the values of eccentric connectivity index for several families of composite graphs and designed a linear algorithm for calculating the eccentric connectivity index of trees. Some open problems and related indices for further study are also listed.
Motivation & Objective
- To compute the eccentricity of every vertex in a tree efficiently, as required in chemical graph theory and network analysis.
- To address the computational bottleneck of calculating eccentricities for large trees using a brute-force approach.
- To design a linear-time algorithm leveraging tree-specific properties and dynamic programming.
- To enable fast computation of topological indices like the eccentric connectivity index for molecular graphs.
- To provide a scalable solution for analyzing tree-structured networks in bioinformatics and chemical informatics.
Proposed method
- Use a depth-first traversal to compute ddown[v], the maximum distance from vertex v to any of its descendants.
- For each vertex v, compute dup[v], the maximum distance from v to any node via its parent, using information from parent and parent's other children.
- Propagate distance information upward: dup[v] = adj[v, parent[v]] + max(dup[parent[v]], sum of ddown[u] from other children u of parent[v]).
- Update eccentricity as ecc[v] = max(ddown[v], dup[v]), combining downward and upward reachability.
- Apply the algorithm recursively to all children of v, ensuring all vertices are processed in a single DFS pass.
- Leverage the tree structure to avoid redundant computation, achieving O(n) time complexity.
Experimental results
Research questions
- RQ1Can the eccentricity of every vertex in a tree be computed in linear time using dynamic programming?
- RQ2How can information about distances to descendants and ancestors be efficiently combined to compute eccentricity?
- RQ3What is the optimal way to propagate distance data upward and downward in a tree to minimize redundant computation?
- RQ4Can the eccentric connectivity index be computed efficiently by first computing vertex eccentricities?
- RQ5What data structures and traversal strategies minimize time complexity for tree eccentricity computation?
Key findings
- The algorithm computes the eccentricity of every vertex in O(n) time, significantly improving upon naive O(n²) approaches.
- The use of ddown and dup arrays enables efficient propagation of distance information without redundant traversals.
- The method correctly handles all tree topologies by accounting for both descendant and ancestor paths via dynamic programming.
- The algorithm is implemented using a single DFS traversal, ensuring optimal performance and correctness.
- The approach is suitable for large-scale applications such as computing topological indices in chemical compounds.
- The solution is robust and works correctly even for degenerate tree structures like chains or stars.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.