28 unsigned int counter = seed.first.size() + seed.second.size();
29 for ( std::vector<const Ring*>::const_iterator
ring = seed.first.begin(),
30 ringEnd = seed.first.end();
33 result += (*ring)->getindex() * (
unsigned int)
std::pow((
double)1000,(double)--counter);
35 for ( std::vector<const Ring*>::const_iterator
ring = seed.second.begin(),
36 ringEnd = seed.second.end();
39 result += (*ring)->getindex() * (
unsigned int)
std::pow((
double)1000,(double)--counter);
unsigned int calculateRoadSeedIndex(const std::pair< std::vector< const Ring * >, std::vector< const Ring * > > &seed) const
Power< A, B >::type pow(const A &a, const B &b)