Boost Graph library-based K shortest path searching method and system
A shortest path and search method technology, applied in the field of computer networks, can solve problems such as gaps, differences, and direct application of immature and efficient computer methods, and achieve the effect of reducing workload, reducing time complexity and space complexity
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0049] In order to make the purpose, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and examples.
[0050] Assume that the K shortest path problem is to calculate the top K shortest paths sorted from small to large by the number of path hops from point s to point t, and it is required that the shortest path is not limited by separation.
[0051] refer to figure 1 , for the K then shortest route computer algorithm process described in the present invention, in conjunction with above concrete problem analysis, obtain the concrete steps as follows:
[0052] Step 1: Define the set of top K short paths to be Kpaths.
[0053] Step 2: Call the BFS function of the Boost Graph library to calculate the shortest path from s→t;
[0054] Step 3: Since the shortest path is not limited by separation, go directly to step 4:
[0055] Step 4: Define the d-fork he...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com