int minCost = Integer.MAX_VALUE; for (Rule r : procRules.keySet()) { int cost = r.cost(ndStack); if ((cost >= 0) && (cost <= minCost)) { minCost = cost;
int minCost = Integer.MAX_VALUE; for (Rule r : procRules.keySet()) { int cost = r.cost(ndStack); if ((cost >= 0) && (cost <= minCost)) { minCost = cost;
int minCost = Integer.MAX_VALUE; for (Rule r : procRules.keySet()) { int cost = r.cost(ndStack); if ((cost >= 0) && (cost <= minCost)) { minCost = cost;
int minCost = Integer.MAX_VALUE; for (Rule r : procRules.keySet()) { int cost = r.cost(ndStack); if ((cost >= 0) && (cost <= minCost)) { minCost = cost;