class LgrfSuggester implements Suggester {

	@Override
	public ShortSet getMoves() {
		moves.clear();
		final short previousMove = history.get(board.getTurn() - 1);
		short reply = table.getSecondLevelReply(board.getColorToPlay(),
				history.get(board.getTurn() - 2), previousMove);
		if (reply != NO_POINT && board.getColorAt(reply) == VACANT && filter.at(reply)) {
			moves.add(reply);
		} else {
			reply = table.getFirstLevelReply(board.getColorToPlay(), previousMove);
			if (reply != NO_POINT && board.getColorAt(reply) == VACANT && filter.at(reply)) {
				moves.add(reply);
			}
		}
		return moves;
	}

	public  LgrfSuggester(Board board, HistoryObserver history, LgrfTable table, Predicate filter);
	public  LgrfSuggester(Board board, HistoryObserver history, LgrfTable table, int bias, Predicate filter);

}