Incremental movelists
Posted: Wed Apr 01, 2015 11:36 am
Hi all, I've had the idea of using an incremental update of the sides movelists rather than regenerating them from scratch after each makemove. Has this idea been explored, and if so are there references to it, or was it discarded? Either way I'd like to hear other's thoughts on the subject.
The concept is that at the beginning of the game a movelist for each side is generated and then incrementally updated from then on.
When a makemove is executed the movelists would need updating. Perhaps the updates could be delayed until 2 plies had been moved (rather than at every sing ply). The key components would be the piece that moved, the fromSq and the destSq. The piece that moved because it requires a new set of moves generating; the fromSq because of potential unblocking of friendly pieces, and moves through the now vacated square(both sides); similarly for the destSq.
Thanks for any feedback on this (as far as I'm aware) novel approach.
Graham....
The concept is that at the beginning of the game a movelist for each side is generated and then incrementally updated from then on.
When a makemove is executed the movelists would need updating. Perhaps the updates could be delayed until 2 plies had been moved (rather than at every sing ply). The key components would be the piece that moved, the fromSq and the destSq. The piece that moved because it requires a new set of moves generating; the fromSq because of potential unblocking of friendly pieces, and moves through the now vacated square(both sides); similarly for the destSq.
Thanks for any feedback on this (as far as I'm aware) novel approach.
Graham....