Jumps calculator: prefered security

Hello community!

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. 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 100 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… ^^’

Thanks
Corra

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.