in reply to Re: Words that equal numbers
in thread Words that equal numbers
Suppose the program could check a combination every .001 seconds. Then for an unsolvable problem where it had to try all 9.7 billion combinations, it would take about 112 days.
If you have to use brute-force rather than an AI-style search, at least use a permutation generator like Algorithm::Permute. If you don't need all 10 digits in the problem, then Algorithm::ChooseSubsets would also help.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Words that equal numbers
by CountZero (Bishop) on Jan 18, 2003 at 23:35 UTC | |
by tall_man (Parson) on Jan 19, 2003 at 01:29 UTC | |
by CountZero (Bishop) on Jan 19, 2003 at 09:06 UTC |