SCOUG-Programming Mailing List Archives
Return to [ 31 |
March |
2003 ]
<< Previous Message <<
Content Type: text/plain
Greg,
I haven't been to a meeting since last summer (I'm in San Diego most of
the time).
Can you give me the context of your response? Is the "peg solitaire
program" a project from one of the meetings? Are the cute little star
cluster images the step-by-step iterations from that program?
- Peter
Gregory W. Smith wrote:
>
> Well, at least we have moved the analogy to something somewhat
> more accurate. I have a good collection of Victronix, ToolLogic,
> Leatherman, etc.... Nothing like having a bottle opener, can
> opener, corkscrew, AND a knife all in one package. A Swiss Army
> Knife is great for a picnic, but a REAL fillet knife is much
> better for cleaning fish.
>
> As for the "one tool" analogy, I have my doubts. What I have
> seen in the computer world of this philosophy is a monstrosity
> that I avoid at all costs: Perl.
>
> For comparison, I did the depth-first peg solitaire program in
> Python. I set an erarlier version of the program to work a few
> weeks ago; I am still waiting for the first solution. My recent
> revisons added a few extra initial configurations. The cross
> layout took 0.2 seconds to solve on my 1.3 GHz Celeron. The
> plus layout took 0.6 seconds and the fireplace layout took 12.5
> seconds to run. I let the pyramid, arrow, and double arrow
> layouts run for about three hours each. The solution files for
> these runs ran to several megabytes each before I killed them.
>
> I let the diamond layout run for twelve hours without getting
> any solution. Anyone with a faster machine can have a shot at
> the diamond and the solitaire layouts. The program and the first
> three solutions are attached.
>
> -- Greg Smith
=====================================================
To unsubscribe from this list, send an email message
to "steward@scoug.com". In the body of the message,
put the command "unsubscribe scoug-programming".
For problems, contact the list owner at
"rollin@scoug.com".
=====================================================
<< Previous Message <<
Return to [ 31 |
March |
2003 ]
The Southern California OS/2 User Group
P.O. Box 26904
Santa Ana, CA 92799-6904, USA
Copyright 2001 the Southern California OS/2 User Group. ALL RIGHTS
RESERVED.
SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group.
OS/2, Workplace Shell, and IBM are registered trademarks of International
Business Machines Corporation.
All other trademarks remain the property of their respective owners.
|