class ShapeRater implements Rater {

	@Override
	public void updateNode(SearchNode node) {
		for (short p : coords.getAllPointsOnBoard()) {
			if (board.getColorAt(p) == VACANT) {
				long hash = PatternFinder.getHash(board, p, minStones,
						history.get(board.getTurn() - 1));
				node.update(p, bias, (int) (bias * shapeTable.getWinRate(hash)));
			}
		}
	}

	public  ShapeRater(Board board, HistoryObserver history,
			ShapeTable shapeTable, int bias, int minStones);

}