Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Problem with Object Oriented Design (programming issue)

Author: Pat King

Date: 16:20:34 09/17/03

Go up one level in this thread


On September 15, 2003 at 13:40:09, Dan Andersson wrote:

> A little sidenote. When you have an unbounded pool of resources for use. It
>pays to try different schemes for managing those resources.

As was pointed out to me elsewhere in this thread, chess is a bounded game, at
least in the number of pieces involved, and as a practical matter, in the
possible size of move lists. My choice has been to have an explicit move list
size limit that I use OO techniques to enforce (at least in debug versions).
Also, the only time I'm doing allocations/deallocations during a search is for
pawn promotions, which has proven to not unduly stress my "unbounded (guffaw)
resources".

>MvH Dan Andersson

Pat King



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.