}
return rating;
}
private double futureConnectionRateCrossing(Game game, Location toEmpty, Location toFeature, double chance, Feature f1, Feature f2) {
ScoreContext f1Ctx = futureConnectionCreateScoreContext(game, f1);
ScoreContext f2Ctx = futureConnectionCreateScoreContext(game, f2);
Map<Player, Integer> f1Powers = f1Ctx.getPowers();
Map<Player, Integer> f2Powers = f2Ctx.getPowers();
int[] powers = funtureConnectionSumPower(f2Powers, null);
int myPower = powers[0];
int bestEnemy = powers[1];