# Jumps calculator: prefered security

**URL:** <https://forums.eveonline.com/t/jumps-calculator-prefered-security/270087>\
**Category:** Third Party Developers\
**Created:** [September 28, 2020, 9:40am UTC](https://forums.eveonline.com/t/jumps-calculator-prefered-security/270087 "2020-09-28T09:40:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Corra\_Raifen](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/corra_raifen/32/231547_2.png) [@Corra\_Raifen](https://forums.eveonline.com/u/Corra_Raifen)\
**Post date:** [September 28, 2020, 9:40am UTC](https://forums.eveonline.com/t/jumps-calculator-prefered-security/270087/1 "2020-09-28T09:40:45Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/eveonline/original/3X/4/1/41ec4921cbaca7a6f9ea556e7cc20018461eae5e.png) [@system](https://forums.eveonline.com/u/system)\
**Post date:** [December 27, 2020, 9:40am UTC](https://forums.eveonline.com/t/jumps-calculator-prefered-security/270087/2 "2020-12-27T09:40:57Z")

</div>

Closed on December 27, 2020, 9:40am UTC

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