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 the direction of computing, computing model, multiprogramming device, etc., can solve the problems of cumbersome parallel algorithm, and achieve the effect of improving running time efficiency, reducing resource waste, and improving running efficiency.

Inactive Publication Date: 2011-08-17
BEIHANG UNIV
View PDF0 Cites 0 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 using the TBB parallel computing platform.

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

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

[0042] like figure 1 As shown, applying the method of the present invention can be completed according to the following steps:

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

[0044] Step 2: Write a template class 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 processing o...

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 byadopting 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), and belongs to the field of computer simulation and algorithm optimization. Background technique [0002] Combinatorial optimization of discrete systems is a problem often encountered in actual production, such as task allocation, job scheduling, path planning, network routing, data mining, life science computing and other problems. The rapid increase of , is called the NP-complexity puzzle. [0003] Since Dorigo M proposed the ant colony algorithm, the algorithm has achieved good results in solving this type of problems, but if the scale of the problem continues to expand, the time consumed by the single CPU-based serial ant colony algorithm will increase rapidly, and often Can not 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 be of...

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 Patents(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