is it possible to generate FEN strings for endgames based on specific criteria: n-pieces, w/d/l, and side to move?
So say I wanted all FEN strings for King plus Rook vs King plus Pawn (KPKR) endgames, where it is white to move, and white draws with perfect play.
I know there would be an extremly large number of results, and the next step would be to then categorize those results further by other criteria, like say white king is in front of the pawn, or the black pawn has passed the 6th rank.
I assume an endgame tablebase (egtb) has this information stored in it already, but how to get this information out of them? Or is there some other way of generating this?
Thanks!!