How to list all the expected moves (PV)?
Moderator: Ras
-
mike_bike_kite
- Posts: 98
- Joined: Tue Jul 26, 2011 12:18 am
- Location: London
How to list all the expected moves (PV)?
the program has calculated what it thinks is the best move but now I'd like to show the expected line of play from the current position. It would be helpful for debugging as well as showing the user what is likely to happen. Only problem is I can't work out how to do it! I've tried a few approaches but all give nonsensical results.
-
rbarreira
- Posts: 900
- Joined: Tue Apr 27, 2010 3:48 pm
Re: How to list all the expected moves (PV)?
http://web.archive.org/web/200404270138 ... ing/pv.htm
http://chessprogramming.wikispaces.com/ ... +variation
I recommend the first approach from the first link... it's easy to implement, doesn't have a measurable impact on performance, and on modern machines the memory it consumes is hardly significant.
http://chessprogramming.wikispaces.com/ ... +variation
I recommend the first approach from the first link... it's easy to implement, doesn't have a measurable impact on performance, and on modern machines the memory it consumes is hardly significant.
-
mike_bike_kite
- Posts: 98
- Joined: Tue Jul 26, 2011 12:18 am
- Location: London
Re: How to list all the expected moves (PV)?
Thanks Ricardo - I'll try and digest that.