[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Request for Algorithm
Thanks Bich Hanh and Ngoc Minh for your responses to my request. Would
either one of you provide the Prolog program here?
A comment on your approach. It's Ok to enumerate the search space then
test one by one until you come up with the first answer. Doing that is
rather brute force for me. I wonder whether it's possible to prune the
search space using some heuristic such as whether some of the numbers are
divisors of/divisible by 24.
If that's the case, the program could eliminate some of the paths.
Thanks again for your responses,
Ninh