- backtracking-search cspprocedure
Find a solution to the CSP or return failure.
- csp
- The CSP to solve
(define (backtracking-search csp) (let ((enumeration (backtracking-enumeration 1 csp))) (if (null? enumeration) failure (car enumeration))))
Find a solution to the CSP or return failure.
(define (backtracking-search csp) (let ((enumeration (backtracking-enumeration 1 csp))) (if (null? enumeration) failure (car enumeration))))