class SimpleSearchNode implements SearchNode {

	@Override
	public float overallWinRate(CoordinateSystem coords) {
		int r = 0; // Runs
		int w = 0; // Wins
		for (final short p : coords.getAllPointsOnBoard()) {
			if (getWins(p) > 0) {
				w += getWins(p);
				r += getRuns(p);
			}
		}
		w += getWins(PASS);
		r += getRuns(PASS);
		return 1.0f * w / r;
	}

	public  SimpleSearchNode(CoordinateSystem coords);

}