Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for quickly searching multiple shortest paths

A shortest path and path technology, applied in the field of computer networks, can solve the problems of complex calculation, inability to effectively avoid loops, and low actual use value, and achieve the effect of low time complexity and interference avoidance.

Inactive Publication Date: 2018-03-30
刘靖宇
View PDF3 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The purpose of the present invention is to: when adopting classic methods such as Dijkstra, A* algorithm in the prior art to carry out many (assumed to be K) shortest path computations of source node to every other node, owing to need multiple iterations, cause The calculation is complicated; at the same time, the calculated path cannot effectively avoid loops, resulting in the problem of low actual use value

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for quickly searching multiple shortest paths
  • Method for quickly searching multiple shortest paths
  • Method for quickly searching multiple shortest paths

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0059] refer to figure 2 , is an application example of the present invention, which is applied to a single-source and multiple-destination logistics scheduling system.

[0060] Import the map to determine the current location of the user; input each delivery place and the value of K; use the water flow algorithm proposed by the present invention to find out the K shortest paths from the starting point to each delivery point; assign each delivery member according to the obtained path, and start Express delivery.

[0061] Specific examples are as follows:

[0062] Import the map, the user determines that the source node is A and each destination node is B, C, D, assuming that the number K of the shortest path to be found is 2, an abstract directed graph is obtained, and the directed graph is saved by an adjacency matrix. The details are shown in the storage structure of the network graph in Table 2:

[0063]

A

B

C

D

A

0

1

3

0

B ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method for quickly searching for multiple shortest paths, which belongs to the field of computer networks and solves the problem of calculating multiple (assumed to be K) shortest paths from a source node to each other node. In the prior art, classic methods such as Dijkstra and A* algorithms are used, which require multiple iterations and complicated calculations; at the same time, the calculated paths cannot effectively avoid loops, and the actual use value is low. The method proposed by the invention can obtain the K shortest paths from the source node to all other nodes at one time, and there is no loop. It is assumed that the water flow starts from the source node and flows at a constant speed, and starts to diverge after reaching a confluence point. Record the diversion information at the confluence point to obtain a shortest path from the source node to the confluence point. The confluence point records K pieces of diversion information and then stops the diversion; proceed in this way, when all confluence points record K pieces of diversion information, you can get The shortest K paths from the source node to all the sink points. The present invention can be used in logistics scheduling, GPS navigation and other practical applications.

Description

technical field [0001] The invention discloses a method for quickly finding multiple shortest paths, which can be used in logistics dispatching, GPS navigation, etc., and belongs to the field of computer networks. Background technique [0002] With the rapid development of e-commerce and the rapid expansion of logistics network, how to quickly deliver goods purchased by users and improve user experience has become the key to the further development of the logistics industry; among them, the path planning problem in express delivery is the core of increasing delivery speed and improving user experience question. The actual express delivery is often from one logistics collection center to multiple delivery points, and the shortest path to each delivery point needs to be calculated separately. At the same time, multiple shortest paths are also needed for selection in reality, thus resulting in single-source and multiple-destination K Shortest path problem. Of course, the sing...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G01C21/34
CPCG01C21/3446
Inventor 刘靖宇
Owner 刘靖宇
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products