public double winPossibility(ArrayList<Action> history, int playerHandStrength) {
		int numRaises = 0;
		for(Action a : history) {
			if(a == Action.RAISE) {
				numRaises++;
			}
		}
		
		int[] histogram = historyToHandStrength.get(numRaises);
		int aphs = adjustedHandStrength(playerHandStrength);
		
		if(histogram == null)
			return 1 - (aphs / 8);
		
		
		// win % = hands player beats / total hands
		int handsPlayerWins = 0;
		int handsOpponentWins = 0;
		int i;
		for(i = 0; i < aphs; i++) {
			handsOpponentWins += histogram[i];
		}
		for(; i < histogram.length; i++) {
			handsPlayerWins += histogram[i];
		}
		
		return (double) handsPlayerWins / (handsPlayerWins + handsOpponentWins);
	}