All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.fathzer.games.perft.FromPositionMoveGeneratorBuilder Maven / Gradle / Ivy

The newest version!
package com.fathzer.games.perft;

import com.fathzer.games.MoveGenerator;

/** A builder of move generators that converts a textual representation of a position to a move generator.
 * @param  The type of moves
 * @param  The type of move generator
 */
@FunctionalInterface
public interface FromPositionMoveGeneratorBuilder> {
	/** Builds a move generator that is initialized to the position represented by a given string.
	 * @param position the string representing the position.
	 * @return a move generator.
	 */
	B fromPosition(String position);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy