Path optimization method and path optimization system based on Dijkstra

A path optimization and path technology, applied in the direction of instruments, data processing applications, prediction, etc., can solve problems such as restricting calculation speed

A path optimization and path technology, applied in the direction of instruments, data processing applications, prediction, etc., can solve problems such as restricting calculation speed

CN106096783AInactive Publication Date: 2016-11-09深圳市TCL高新技术开发有限公司

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Path optimization method and path optimization system based on Dijkstra
  • Path optimization method and path optimization system based on Dijkstra
  • Path optimization method and path optimization system based on Dijkstra

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] The present invention provides a Dijkstra-based path optimization method and its system. In order to make the purpose, technical solution and effect of the present invention clearer and clearer, the present invention will be further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0045] Please refer to figure 1 , which is a flowchart of a preferred embodiment of the Dijkstra-based route optimization method of the present invention. Such as figure 1 As shown, the Dijkstra-based path optimization method includes the following steps:

[0046] Step S100, obtaining a directed graph of the shortest path according to multiple nodes and path weights between nodes;

[0047] Step S200, initializing the adjacent point set, the marked vertex set for which the shortest path has been obtained,...

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 provides a path optimization method and a path optimization system based on Dijkstra. The method comprises the following steps: getting a shortest path directed graph according to multiple nodes and the path weights between the nodes; initializing an adjacency point set, a marked vertex set of acquired shortest paths, and sorting nodes to be stored; getting a min heap through heap sorting, taking the heap top node of the min heap as an intermediate node, correcting the length of the shortest path from the start node to each node in the complementary set of the marked vertex set via the intermediate node through the intermediate node, performing repeated iteration until all the nodes in the adjacency point set are added to the marked vertex set, and getting the length of the shortest path from the start node to any other node in the nodes. Storage space is saved through data storage in an adjacency table, the running performance of the algorithm is improved through heap sorting, and the processing efficiency is improved.

Description

technical field [0001] The invention relates to the technical field of path planning, in particular to a Dijkstra-based path optimization method and system thereof. Background technique [0002] With the development of e-commerce, online shopping has become the mainstream of shopping in today's society. Therefore, the demand and efficiency requirements for the logistics distribution of enterprises that provide online shopping methods are also getting higher and higher. The vehicle routing problem is the most critical problem in the logistics distribution system. The vehicle routing problem is a classic combination optimization scheduling problem. It mainly studies the vehicle scheduling scheme satisfying the constraints and the optimal vehicle routing scheme. The logistics distribution path optimization problem can be described as: Starting from the logistics center, there are a series of delivery points and / or receiving points. It is required to form an appropriate driving...

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
09 Nov 2016
Publication
CN106096783A
IPC
G06Q10/04; G06Q10/08; G06Q50/28
CPC
G06Q10/047; G06Q10/083; G06Q10/08
Inventors
马庆龙