JaroslawWiosna / regionalizer

How to choose the best capital of a state and regions? Divider into regions, especially for administrative purposes
Mozilla Public License 2.0
2 stars 2 forks source link

Functions to calculate the closest bigger city than the given one and up to the biggest in the country. #78

Closed kermit10000000 closed 6 years ago

kermit10000000 commented 6 years ago

The script works and you have a given example in main.cpp Maybe you have some idea of further usage of this like for each capital choosen by the best capital scritpt or something else? :)

Signed-off-by: Wojciech Mielczarek kermit10000000@gmail.com

kermit10000000 commented 6 years ago
  1. fixed
  2. performance to be checked in the future
  3. fixed
  4. empty() instead of " " fails for some unknown reason. maybe changed in the future.
kermit10000000 commented 6 years ago

I know this pull request is closed but since we discussed it here, about second point 3 options should be checked: 1. performance with no remove function, 2. performance with remove in while(!="") and 3 . only once called remove function before the while(!="")