Journal of Combinatorial Optimization

, Volume 11, Issue 4, pp 435–443 | Cite as

Construction of the nearest neighbor embracing graph of a point set

  • M. Y. Chan
  • Danny Z. Chen
  • Francis Y. L. Chin
  • Cao An Wang


This paper gives optimal algorithms for the construction of the Nearest Neighbor Embracing Graph (NNE-graph) of a given point set V of size n in the k-dimensional space (k-D) for k = 2,3. The NNE-graph provides another way of connecting points in a communication network, which has lower expected degree at each point and shorter total length of connections with respect to those using Delaunay triangulation. In fact, the NNE-graph can also be used as a tool to test whether a point set is randomly generated or has some particular properties.

We show that in 2-D the NNE-graph can be constructed in optimal \(\Theta(n^2)\) time in the worst case. We also present an \(O(n \log n + nd)\) time algorithm, where d is the \(\Omega(\log n)\)-th largest degree in the utput NNE-graph. The algorithm is optimal when \(d=O(\log n)\). The algorithm is also sensitive to the structure of the NNE-graph, for instance when \(d=g \cdot(\log n)\), the number of edges in NNE-graph is bounded by \(O(gn \log n)\) for any value g with \(1 \leq g \leq \frac{n}{\log n}\). We finally propose an \(O(n \log n + nd \log d^*)\) time algorithm for the problem in 3-D, where d and \(d^*\) are the \(\Omega(\frac{\log n}{\log \log n})\)-th largest vertex degree and the largest vertex degree in the NNE-graph, respectively. The algorithm is optimal when the largest vertex degree of the NNE-graph \(d^*\) is \(O(\frac{\log n}{\log \log n})\).


Computational geometry Nearest neighbors Network connections 


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. Baddeley AJ, Silverman BW (1984) A cautionary example on the use of second-order methods for analyzing point patterns. Biometrics 40:1089–1093MathSciNetGoogle Scholar
  2. Callahan PB, Kosaraju SR (1995) A decomposition of multidimensional point sets with applications to k-nearest-neighbors and n-body potential fields. Journal of the ACM 42(1):67–90MathSciNetCrossRefGoogle Scholar
  3. Chin F, Wang CA (1998) Finding the constrained delaunay triangulation and constrained Voronoi diagram of a simple polygon in linear time. SIAM Journal of Computing 28(2):471–486MathSciNetCrossRefGoogle Scholar
  4. Chiu SN, Molchanov IS (2003) A new graph related to the directions of nearest neighbours in a point process. Advances in Applied Probability 35(1)Google Scholar
  5. Cormen TH, Leiserson CE, Rivest RL, Stein C (2001) Introduction to algorithms, 2nd edition. McGraw-Hill, New YorkGoogle Scholar
  6. Harary F (1971) Graph theory. Addison-WesleyGoogle Scholar
  7. Preparata FP, Shamos MI (1985) Computational geometry: An introduction. Springer-VerlagGoogle Scholar

Copyright information

© Springer Science + Business Media, LLC 2006

Authors and Affiliations

  • M. Y. Chan
    • 1
  • Danny Z. Chen
    • 2
  • Francis Y. L. Chin
    • 1
  • Cao An Wang
    • 3
  1. 1.Department of Computer Science and Information SystemsThe University of Hong KongHong Kong
  2. 2.Department of Computer Science and EngineeringUniversity of Notre DomeNotre DomeUSA
  3. 3.Department of Computer ScienceMemorial University of NewfoundlandSt. John’sCanada

Personalised recommendations