I’m writing a program (Perl). In order to complete an accurate output I need to calculate the routes. (ESI is to slow for this many routes.) So I wrote it myself. My Breadth first algorithm seems to work as it should, but the “All routes / ignore security status” differ up to 5 jumps from EVE. Furthermore I’m using these information for heuristic for the A* algorithm. But I’m not sure how do I say, if I prefer 0.5 to 1.0 systems or 0.0 to 0.4 systems - I do this by multiplying the not preferred by 20 for heuristic, but my results differ often more than 50 %. How do I exactly say (e.g.) “prefer high sec, but low sec is not impassible, just hard to pass”?
I’m also good with good search patterns for the forum, “jumps calculator” wasn’t very successful… ^^’