Skip to main content
Log in

Path Refinement in Weighted Regions

  • Published:
Algorithmica Aims and scope Submit manuscript

Abstract

In this paper, we study the weighted region problem (WRP) which is to compute a shortest path in a weighted partitioning of a plane. Recent results show that WRP is not solvable in any algebraic computation model over the rational numbers. Therefore, it is unlikely that WRP can be solved in polynomial time. Research has thus focused on determining approximate solutions for WRP. Approximate solutions for WRP typically show qualitatively different behaviors. We first formulate two qualitative criteria for weighted shortest paths. Then, we show how to produce a path that is quantitatively close-to-optimal and qualitatively satisfactory. More precisely, we propose an algorithm to transform any given approximate linear path into a linear path with the same (or shorter) weighted length for which we can prove that it satisfies the required qualitative criteria. This algorithm has a linear time complexity in the size of the given path. At the end, we explain our experiments on some triangular irregular networks (TINs) from Earth’s terrain. The results show that using the proposed algorithm, on average, 51% in query time and 69% in memory usage could be saved, in comparison with the existing method.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13
Fig. 14
Fig. 15
Fig. 16
Fig. 17
Fig. 18

Similar content being viewed by others

Notes

  1. The ACM\(\mathbb {Q}\) can compute exactly any number that can be obtained from the rationals \(\mathbb {Q}\) by applying a finite number of operations from \(+,-,\times ,\div ,\root k \of {}\), for any integer \(k\ge 2\).

  2. The format is raw text and each line corresponds to a triangle with 3 vertices in 3D space.

References

  1. Aleksandrov, L., Maheshwari, A., Sack, J.-R.: Approximation algorithms for geometric shortest path problems. In: Proceeding of the Thirty-Second Annual ACM Symposium on Theory of Computing (STOC ’00), pp. 286–295 (2000)

  2. Aleksandrov, L., Maheshwari, A., Sack, J.-R.: Determining approximate shortest paths on weighted polyhedral surfaces. J. ACM 52(1), 25–53 (2005)

    Article  MathSciNet  Google Scholar 

  3. Chee, W., Tomizuka, M.: Lane change maneuver of automobiles for the intelligent vehicle and highway system (IVHS). In: Proceeding of American Control Conference, pp. 3586–3587 (1994)

  4. Cressie, N.A.C.: Statistics for Spatial Data, revised edn. Wiley, New York (1993)

    MATH  Google Scholar 

  5. Daescu, O., Mitchell, J.S.B., Ntafos, S., Palmer, J.D., Yap, C.K.: An experimental study of weighted k-link shortest path algorithms, Algorithmic Foundation of Robotics VII, Springer Tracts. Adv. Robot. 47, 187–202 (2008)

    MATH  Google Scholar 

  6. Daescu, O., Palmer, J.D.: Finding optimal weighted bridges with applications. In: Proceedings of the 44th Annual Southeast Regional Conference, pp. 12–17 (2006)

  7. Gauthier, T.D.: Detecting trends using Spearman’s Rank correlation coefficient. Environ. Forensics 2(4), 359–362 (2001)

    Article  Google Scholar 

  8. De Carufel, J.-L., Grimm, C., Maheshwari, A., Owen, M., Smid, M.: A note on the unsolvability of the weighted region shortest path problem. Comput. Geom. Theory Appl. 47(7), 724–727 (2014)

    Article  MathSciNet  Google Scholar 

  9. Gervais, E., Liu, H., Nussbaum, D., Roh, Y.-S., Sack, J.-R., Yi, J.: Intelligent map agents—an ubiquitous personalized GIS. J. Photogramm. Remote Sens. 62(5), 347–365 (2007)

    Article  Google Scholar 

  10. Gheibi, A., Maheshwari, A., Sack, J.-R.: Weighted region problem in arrangement of lines. In: Proceeding of 25th CCCG (2013)

  11. Gulunay, N.: Localization of diffracted seismic noise source using an array of seismic sensors. In: 5th IEEE SAM, vol. 198, no. 202, pp. 21–23, July (2008)

  12. Im, K., Jo, H.J., Mangin, J.-F., Evans, A.C., Kim, S.I., Lee, J.-M.: Spatial distribution of deep sulcal landmarks and hemispherical asymmetry on the cortical surface. Cereb. Cortex 20(3), 602–611 (2010)

    Article  Google Scholar 

  13. Lanthier, M., Maheshwari, A., Sack, J.-R.: Approximating shortest paths on weighted polyhedral surfaces. Algorithmica 30(4), 527–562 (2001)

    Article  MathSciNet  Google Scholar 

  14. Liu, E.: Seismic diffraction. In: Gupta, H., Konle, S. (eds.) Encyclopedia of Solid Earth Geophysics. SpringerReference (www.springerreference.com). Springer, Berlin (2011). https://doi.org/10.1007/SpringerReference_341322

  15. Mitchell, J.S.B., Papadimitriou, C.H.: The weighted region problem: finding shortest paths through a weighted planar subdivision. J. ACM 38(1), 18–73 (1991)

    Article  MathSciNet  Google Scholar 

  16. Nelson, W.: Continuous-curvature paths for autonomous vehicles. In: Proceeding of IEEE International Conference on Robotics and Automation, pp. 1260–1264 (1989)

  17. Nieuwenhuisen, D., Kamphuis, A., Mooijekind, M., Overmars, M.H.: Automatic construction of roadmaps for path planning in games. In: Proceeding of International Conference on Computer Games: Artificial Intelligence, Design and Education, pp. 285–292 (2004)

  18. Personal communication with Dr: André Pugin, Natural Resources of Canada, and Dr. Carleton University, Department of Earth Sciences, Dariush Motazedian (2012)

  19. Prakasa Rao, B.L.S.: Nonparametric Functional Estimation. Academic Press, Cambridge (1983)

    MATH  Google Scholar 

  20. Reynolds, J.M.: An Introduction to Applied and Environmental Geophysics, 2nd edn. Wiley, New York (2011) ISBN: 0471485365

  21. Sheriff, R.E., Geldart, L.P.: Exploration Seismology, 2nd edn. Cambridge University Press, Cambridge (1995) ISBN: 0521462827

  22. Sun, Z., Reif, J.H.: On finding approximate optimal paths in weighted regions. J. Algorithms 58, 1–32 (2006)

    Article  MathSciNet  Google Scholar 

  23. www.lands-design.com. Accessed 14 Feb 2018

  24. http://people.scs.carleton.ca/~agheibi/tins/tins.html. Accessed 14 Feb 2018

  25. NIST/SEMATECH e-Handbook of Statistical Methods. http://www.itl.nist.gov/div898/handbook/ (2012). Accessed 14 Feb 2018

Download references

Acknowledgements

We would like to thank Dr. Patrick Boily at School of Mathematics and Statistics, Carleton University, to discuss the statistical analysis. Also, we thank Dr. André Pugin, Natural Resources of Canada, and Dr. Dariush Motazedian, Department of Earth Sciences, Carleton University, for the discussions that lead to the new qualitative measures.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Amin Gheibi.

Additional information

Research supported by Natural Sciences and Engineering Research Council of Canada.

Appendices

Appendices

1.1 An Example that Causes Quadratic Running Time for the Naïve Backtracking Approach

Fig. 19
figure 19

The directed red polygonal chain shows the sub-path from \(x_{i+1}\) to \(x_{k_3}\) in the original input path. The corner \(x_{k_1}\) is the first corner in this sub-path that is disobeying the CNR. The naïve approach replaces the sub-path from \(x_{i+1}\) to \(x_{k_1}\) by the orange polygonal chain whose first segment is the only segment from the forward chain. After that replacement, the naïve algorithm continues and finds the corner \(x_{k_2}\) that disobeys CNR. The algorithm replaces the sub-path from \(x_{i+2}\) to \(x_{k_2}\) by the blue polygonal chain. If the replacement happens n/2 times and the number of corners between \(x_{i+1}\) and \(x_{k_1}\) is n/2, then the total time complexity is quadratic in the size of the input path. In this example, the corner \(x_{k_3}\) also disobeys CNR after replacing the sub-path from \(x_{i+2}\) to \(x_{k_2}\) by the blue polygonal chain. The green polygonal curve shows the final replacement of the sub-path from \(x_{i+1}\) to \(x_{k_3}\) (Color figure online)

1.2 Local Refinement is Unbounded

It is possible to apply the refinement algorithm on the path alternatively from s to t and from t to s. Every time, the length of the path may decrease. Here, we construct an example showing that any local refinement of corners of the path could be repeated many times (unbounded in terms of input size) and every time the length of the path decreases. In Fig. 20, three triangles are drawn, \(\Delta _1\), \(\Delta _2\) and \(\Delta _3\). The input path to the refinement algorithm starts at \(x_i\) and ends at \(x_{i+3}\), \(\Pi =[s=x_i,x_{i+1},x_{i+2},x_{i+3}=t]\) (the red solid polygonal chain in Fig. 20). The sub-path \([x_{i+1},x_{i+2},x_{i+3}]\) disobeys CNR. Therefore, \(x_{i+2}\) will be translated to the intersection point of \(N({x_{i+1}},{e_{i+2}})\) (the dashed line in Fig. 20) and \(e_{i+2}\). Then, the first run of the refinement algorithm is over. Now, the second run traverses \(\Pi \) in a reverse order from \(x_{i+3}\) to \(x_{i}\). In the second run, the sub-path \([x_{i+2},x_{i+1},x_{i}]\) disobeys CNR. Therefore, \(x_{i+1}\) will be translated to the intersection point of \(N({x_{i+2}},{e_{i+1}})\) (the dotted line in Fig. 20) and \(e_{i+1}\). Then, in the next run from \(x_{i}\) to \(x_{i+3}\), again the sub-path \([x_{i+1},x_{i+2},x_{i+3}]\) disobeys CNR. This pattern could be repeated as it is a function of the geometric properties of the triangles.

This example could be generalized for any local refinement rules that guarantee reduction in the length of the path. We define a local rule to be a rule that takes \(k<L\) corners of the input path into account, where L is the size of the path. We discuss when \(k=3\). In order to generalize it for a larger k, it is enough to divide \(\Delta _2\) in Fig. 20 into k smaller triangles, by k edges through the corner of the triangulation v and assign the weight \(\infty \) to all the new triangles.

Fig. 20
figure 20

The constructed example for showing that the local refinement may take arbitrary number of steps to converge

Suppose \(\mathcal {L}\) is a set of local rules that takes 3 corners, \([x_{i},x_{i+1},x_{i+2}]\), of the input path into account. \(\mathcal {L}\) refines the sup-path \([x_{i},x_{i+1},x_{i+2}]\) and makes it closer to the local optimum path from \(x_{i}\) to \(x_{i+2}\) (to make it shorter). Since \(w_2\) is an arbitrary large number, \(\mathcal {L}\) translates \(x_{i+1}\) to be closer to the intersection point of \(N({x_{i+2}},{e_{i+1}})\) and \(e_{i+1}\) (because \(w_2\) is very expensive). Then, in the next step, \(\mathcal {L}\) refines the sup-path \([x_{i+1},x_{i+2},x_{i+3}]\) and makes it closer to the local optimum path from \(x_{i+1}\) to \(x_{i+3}\). Since \(w_2\) is \(\infty \), \(\mathcal {L}\) translates \(x_{i+2}\) to be closer to the intersection point of \(N({x_{i+1}},{e_{i+2}})\) and \(e_{i+2}\). These two translations could be arbitrary small. They depend on the geometric properties (i.e., the angles and length of edges) of the triangles. Therefore, the number of times that the refinement by \(\mathcal {L}\) could improve the path length is unbounded.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Gheibi, A., Maheshwari, A., Sack, JR. et al. Path Refinement in Weighted Regions. Algorithmica 80, 3766–3802 (2018). https://doi.org/10.1007/s00453-018-0414-9

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00453-018-0414-9

Keywords

Navigation