Accelerated execution of P systems with active membranes to solve the N-queens problem

被引:8
|
作者
Maroosi, Ali [1 ]
Muniyandi, Ravie Chandren [1 ]
机构
[1] Natl Univ Malaysia, Res Ctr Software Technol & Management, Fac Technol & Informat Sci, Bangi 43600, Selangor, Malaysia
关键词
Active membrane systems; Membrane computing; Local search; Multi-core processing; N-queens problem; 3-COL; CELL;
D O I
10.1016/j.tcs.2014.05.004
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
The N-queens problem has attracted increasing attention because of its potential applications in different areas, such as parallel memory storage approaches, image processing, and physical and chemical studies. Local search is a powerful method for solving real problems, such as the N-queens problem. Recently, models of P systems with active membranes have been used for local search to solve the N-queens problem. However, there have been insufficient studies of the parallelism of the P-system models with active membranes. In addition, the active membrane systems defined for N queens have several individual membranes that contain one object and no internal rules in each membrane, as well as several communication rules among membranes, which reduce the execution speed. In this study, a new P system model with active membranes is defined for solving the N-queens problem, and multi-core simulation of the proposed membrane system allows the execution of alternative computations in parallel, thus reducing the average time for finding a successful computation. The speed of the proposed model was compared with previous models that used P systems with active membranes for local search. The model contains two membranes, but the inclusion of several objects and rules within each membrane increases the parallelism and performance. This model reduces the number of communication rules required among membranes, and increases the execution speed. This model also increases the parallelism of previous P systems with active membranes when several rules evolve concurrently and more than one queen is exchanged during each step to reach a solution. Multi-core processing has been used to decrease the probability of restarting the P systems and to decrease processing time by distributing the processing of the active membrane on the multi-core. The speed of the proposed model when solving N = 200 queens was almost 1000 times faster than previous methods. (C) 2014 Elsevier B.V. All rights reserved.
引用
收藏
页码:39 / 54
页数:16
相关论文
共 50 条
  • [1] Solving the N-Queens problem using dP systems with active membranes
    Buno, Kelvin C.
    Cabarle, Francis George C.
    Calabia, Marj Darrel
    Adorna, Henry N.
    THEORETICAL COMPUTER SCIENCE, 2018, 736 : 1 - 14
  • [2] Accelerated Simulation of Membrane Computing to Solve the N-queens Problem on Multi-core
    Maroosi, Ali
    Muniyandi, Ravie Chandren
    SWARM, EVOLUTIONARY, AND MEMETIC COMPUTING, PT II (SEMCCO 2013), 2013, 8298 : 257 - 267
  • [3] A NEURAL NETWORK DESIGNED TO SOLVE THE N-QUEENS PROBLEM
    MANDZIUK, J
    MACUKOW, B
    BIOLOGICAL CYBERNETICS, 1992, 66 (04) : 375 - 379
  • [4] THE N-QUEENS PROBLEM
    RIVIN, I
    VARDI, I
    ZIMMERMANN, P
    AMERICAN MATHEMATICAL MONTHLY, 1994, 101 (07): : 629 - 639
  • [5] N-QUEENS PROBLEM
    BRUEN, A
    DIXON, R
    DISCRETE MATHEMATICS, 1975, 12 (04) : 393 - 395
  • [6] A High Order Neural Network to Solve N-Queens Problem
    Ding, Yuxin
    Li, Ye
    Xiao, Min
    Wang, Qing
    Dong, Li
    2010 INTERNATIONAL JOINT CONFERENCE ON NEURAL NETWORKS IJCNN 2010, 2010,
  • [7] The n-queens completion problem
    Stefan Glock
    David Munhá Correia
    Benny Sudakov
    Research in the Mathematical Sciences, 2022, 9
  • [8] An Orbit-based Search Algorithm to Solve N-Queens Problem
    Zhang, Jun
    Zhang, Zili
    MECHANICAL ENGINEERING AND INTELLIGENT SYSTEMS, PTS 1 AND 2, 2012, 195-196 : 1049 - +
  • [9] The n-queens completion problem
    Glock, Stefan
    Munha Correia, David
    Sudakov, Benny
    RESEARCH IN THE MATHEMATICAL SCIENCES, 2022, 9 (03)
  • [10] TOROIDAL N-QUEENS PROBLEM
    GOLDSTEIN, RZ
    AMERICAN MATHEMATICAL MONTHLY, 1979, 86 (04): : 309 - 310