continue;
}
//cerr << "Looking at street: " << street->first << endl;
- double goodness = 0;
Intersection& conInter = _intersections[street->first];
+ double goodness = conInter.connections.size()*5;
list<string> closestFootCop = shortestPath(street->first, cop_foot, FindPlayer(_players, cop_foot, 6), true);
unsigned int closestCop = closestFootCop.size();
continue;
//list<string>::iterator i = l.begin();
//++i;
- banks.push(bank->second/(pow(l.size(),2.0)));
+ banks.push(bank->second/(pow(l.size(),4.0)));
}
}
//sort(banks.begin(),banks.end(),greater<double>());