Unlock instant, AI-driven research and patent intelligence for your innovation.

Acyclic shortest path searching method based on Dijkstra algorithm and Max-Min ant colony

A technology of the largest and smallest ant colonies and the shortest path, which is applied in the field of communication, can solve the problems of large path weight, high time complexity, and slow solution speed, and achieve the effect of reducing the scale and overcoming the high time complexity

Inactive Publication Date: 2017-03-15
XIDIAN NINGBO INFORMATION TECH INST
View PDF2 Cites 37 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The shortcomings of this method are: firstly, the full permutation and combination is very time-consuming, resulting in slow solution speed, and secondly, when using n! combinations to get n! When there are two paths, a loop may occur
The disadvantage of this method is that only a necessary node sequence is given, the possibility of finding a solution is small and the weight of the found solution is usually large
[0007] Xu Qingzheng and Ke Xizheng proposed a genetic method to generate the acyclic shortest path in their paper "Research on the Problem Model of Necessary Point Shortest Path and the Corresponding Genetic Method" ("System Engineering and Electronic Technology" 2009), by constructing a unique fitness function , so that the chromosomes containing more necessary points can be preferentially selected into the next generation, but it is difficult to solve the network graph with a large number of nodes
[0008] In summary, the existing methods have high time complexity for solving large complex graphs with a large number of nodes, and the path weights obtained within the effective time are large, which is not suitable for real situations

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
  • Acyclic shortest path searching method based on Dijkstra algorithm and Max-Min ant colony
  • Acyclic shortest path searching method based on Dijkstra algorithm and Max-Min ant colony
  • Acyclic shortest path searching method based on Dijkstra algorithm and Max-Min ant colony

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] The present invention will be described in further detail below in conjunction with the accompanying drawings.

[0048] Refer to attached figure 1 , to further describe in detail the implementation steps of the present invention.

[0049] Step 1. Construct a weighted directed graph:

[0050] Taking G(V,E) as the original graph, construct a weighted directed graph G that satisfies the relationship between the source node s, the destination node t, the necessary node set V' and the auxiliary node set X, where V is the node set, and E is Set of entitled edges.

[0051] Step 2, initialization:

[0052] Establish a seemingly optimal path set W, and initialize it to be empty, and establish the out-degree set O of p nodes according to the structure of the authorized directed graph G p and in-degree set I p , where p∈V.

[0053] Step 3: Prune the weighted directed graph G to obtain the weighted directed graph G1 after pruning.

[0054] (3.1) Search the authorized directe...

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 an acyclic shortest path searching method based on a Dijkstra algorithm and a Max-Min ant colony and mainly solves problems of high time complexity and non-optimal path weight existing in the prior art. The method comprises steps that 1), a weighted and directed graph G satisfying a path relationship is constructed, unnecessary nodes and directed edges are eliminated through pruning to acquire a weighted and directed graph G1 after pruning; 2), the weighted and directed graph G1 after pruning is simplified to acquire a simple graph G2 only containing source nodes, a must-pass node set and purpose nodes; and 3), the Dijkstra algorithm and the Max-Min ant colony method are both employed in the simple graph G2 to search an optimal path which is further outputted. Compared with the prior art, the method is advantaged in that a solution speed is fast, a shortest optimal path is acquired, and the method is applicable to path selection in a network routing system and line planning scenes for traffic transmission.

Description

technical field [0001] The invention belongs to the technical field of communication, and further relates to an acyclic shortest path search method, which can be used in path selection in a network routing system and route planning in transportation. Background technique [0002] The shortest path problem is to find the path with the minimum sum of path weights between the source node and the destination node in a given network graph. The classic shortest path methods include Dijkstra's method and Freud's method, but the original proposals of these two methods cannot be applied to the designated necessary nodes. At present, the methods for solving the shortest path through the designated necessary nodes mainly include depth-first traversal method, Dijkstra method, genetic method, and traditional ant colony method. Depth-first traversal is to find all the paths that meet the conditions, and compare the shortest path. Although the shortest path obtained is the optimal result,...

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): G06N3/00G01C21/20G05B13/04
CPCG06N3/006G01C21/20G05B13/041
Inventor 裴婉婉吴炜
Owner XIDIAN NINGBO INFORMATION TECH INST