public double getWinningOdds(int a, int d) {
		attackers = a;
		defenders = d;
		outcome = new double[attackers + 1][defenders + 1];
		for (int i = 0; i < attackers + 1; i++)
			for (int j = 0; j < defenders + 1; j++)
				outcome[i][j] = -1.0;
		outcome[attackers][defenders] = 1.0;
		
		double winOdds = 0.0;
		double likelyOutcome = -1.0;
		
		for (int i = attackers; i >= 2; i--)
		{
			winOdds += getOdds(i, 0);
			if (outcome[i][0] > likelyOutcome)
				likelyOutcome = outcome[i][0];
		}
		for (int i = 1; i <= defenders; i++)
		{
			if (outcome[1][i] > likelyOutcome)
				likelyOutcome = outcome[1][i];
		}
		return winOdds;
	}