Author Login Editor-in-Chief Peer Review Editor Work Office Work

Computer Engineering ›› 2012, Vol. 38 ›› Issue (21): 185-188. doi: 10.3969/j.issn.1000-3428.2012.21.050

• Networks and Communications • Previous Articles     Next Articles

A Dynamic Backtracking Algorithm Based on Graph Partitioning

WANG Meng   

  1. (College of Software, Jilin University, Changchun 130012, China)
  • Received:2011-12-27 Online:2012-11-05 Published:2012-11-02

一种基于图分割的动态回溯算法

王 萌   

  1. (吉林大学软件学院,长春 130012)
  • 作者简介:王 萌(1989-),男,本科生,主研方向:人工智能,约束网络

Abstract: The dynamic backtracking algorithm keeps its assigned value for each variable when it backtracks. However, it becomes inefficient when it comes to the constraint satisfaction problems that do not consist of sub problems. To solve the problem, this paper applies graph partitioning to dynamic backtracking. The main idea is to divide all the variables into several sets using graph partitioning. When it back tracks, it gives up the values of the variables that are in the same set with the culprit variable, instead of keeping all the values. Experimental results show that the new method has higher efficiency on the random satisfaction problems.

Key words: artificial intelligence, Constraint Satisfaction Problem(CSP), dynamic backtracking, graph partitioning, constraint network

摘要: 动态回溯算法在进行回溯时保留所有已赋值变量的值,从而可能与后面赋值的变量产生冲突,其在解决不具有明显子问题结构的约束满足问题时效率较低。为此,将图分割技术应用于动态回溯,通过图分割将变量分为若干集合,当发生回溯时,不保留全部变量的值,舍弃那些与引起冲突的变量在同一集合变量中的值。实验结果表明,该算法在求解没有明显子问题结构的约束满足问题时具有较高的效率。

关键词: 人工智能, 约束满足问题, 动态回溯, 图分割, 约束网络

CLC Number: