Abstract

The average time required for simple search rearrangement backtracking is compared with that for ordinary backtracking when each algorithm is used to find all solutions for random conjunctive normal form predicates. The sets of random predicates are characterized by v: the number of variables, t(v): the number of clauses, and p(v): the probability that a literal appears in clause. For large v if vp(v)<- 1n2 both backtracking methods require exponential time if and only if the average number of solutions per problem is exponential. Any backtracking method which finds all solutions to problems has this limitation. For vp(v)> 1n 2, there is a difficult region where the average number of solutions per problem is exponentially small, but backtracking requires an exponentially large time. The difficult region for search rearrangement backtracking is only slightly smaller than the difficult region for ordinary backtracking. It is conjectured that search rearrangement backtracking is exponentially faster than ordinary backtracking for nearly all of the difficult region. It is proved that there is no major advantage in using search rearrangement backtracking outside of the difficult region.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.