Check patentability & draft patents in minutes with Patsnap Eureka AI!

Multi-nuclear parallel ant group design method based on TBB

A design method and parallel computing technology, applied in computing, computing models, multi-programming devices, etc., can solve problems such as complicated parallel algorithms, achieve the effects of improving running time efficiency, simple and flexible computing process, and reducing waste of resources

Inactive Publication Date: 2009-06-24
BEIHANG UNIV
View PDF0 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] An effective way to improve the operating efficiency of the ant colony algorithm is parallel design. Most of the existing parallel ant colony algorithms are implemented based on MPI (Message Passing Interface), but MPI design of parallel algorithms is relatively cumbersome, especially when dealing with data sharing and data During the exchange process, it is usually only suitable for parallel ant colony algorithms designed by professional programmers on computer clusters

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
  • Multi-nuclear parallel ant group design method based on TBB
  • Multi-nuclear parallel ant group design method based on TBB
  • Multi-nuclear parallel ant group design method based on TBB

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039]The invention designs a simple and applicable multi-core parallel ant colony design method by utilizing the TBB parallel computing platform.

[0040] Taking the solution of large-scale TSP problem as an example, a TBB-based multi-core parallel ant colony design method of the present invention will be further described.

[0041] The TSP problem is given n cities, the shortest closed path that traverses each city only once.

[0042] Such as figure 1 Shown, application method of the present invention can be finished according to following steps:

[0043] Step 1: Installation and environment setting of TBB parallel computing platform;

[0044] Step 2: Write template classes for parallel computing. Separate the parts with high parallelism in the ant colony algorithm, select the appropriate TBB template according to the needs, and use TBB to design it into an object-oriented template class, including rewriting the loop iteration into a class, special treatment of parameter ...

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 multinuclear parallel ant colony design method based on TBB, in particular a parallel ant colony algorithm designed by utilizing the superiority of TBB support and parallel computation of a multinuclear processor or by adopting a parallel object-oriented optimum method, through compiling relevant template classes, circulatory iteration and circulatory valuation during the most consumption in the ant colony algorithm are optimized, a solution process of each ant is distributed to different threads, and the multinuclear resource superiority of a computer is fully utilized. The design method realizes parallelization of the algorithm based on a serial ant colony algorithm which is basically unchanged, maintains an original design structure and refreshes pheromones by adopting the method combining serial computation with parallel computation. The invention has the advantages that the parallel optimum computational process is simple, flexible and easy to operate, and conforms to the tendency that the computer technology is developed toward multiple processors and multinuclear framework, and the operating time and the operating efficiency of the algorithm are improved, so as to provide the possibility of a real-time resolution of a large-scale combination and optimization project.

Description

technical field [0001] The invention relates to a multi-core parallel ant colony design method based on TBB (Thread Building Blocking), which belongs to the field of computer simulation and algorithm optimization. Background technique [0002] Combinatorial optimization problems of discrete systems are often encountered in actual production, such as task allocation, job scheduling, path planning, network routing, data mining, life science computing, etc. The rapid increase of is known as the NP complexity problem. [0003] Since Dorigo M proposed the ant colony algorithm, the algorithm has achieved relatively good results in solving this type of problem, but if the scale of the problem continues to expand, the time consumed by the serial ant colony algorithm based on a single CPU will increase rapidly, and often It cannot meet people's real-time computing needs. How to obtain a simple and applicable method to improve the running time efficiency of ant colony algorithm will...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06N3/00G06F9/46
Inventor 李妮高栋栋龚光红韩亮
Owner BEIHANG UNIV
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More