Analysis of Or-parallel Models for Logic Programs
暂无分享,去创建一个
Exploiting or-parallelism is an important way of speeding up the execution of logic programs. Although several methods have been proposed to realize or-parallelism in an actual implementation, not much has been done to analyze the subject in a systematic way. We offer a framework for studying or-parallel execution models of logic programs. We propose three criteria that an ideal or-parallel execution model for logic programs should satisfy: constant-time access to variables, constant-time task creation, and constant-time task switching. We then prove that all three criteria cannot be simultaneously satisfied by any execution model for or-parallelism based on a finite number of processors but unbounded memory. Based on this result, we proceed to categorize the various or-parallel methods proposed in the literature.