Looking for some code or an algorithm for pathfinding in fl
Locked
Freelancer Discussion
-
shortest_legal_path.ini
looking for a basic way of using it for example:
system A is X number of Systems away from System B
i am working on other stuff currently and was just hoping someone might have some code laying around similar.
i can modify it for my needs dosnt matter what language its in either ( lol someone sends me asm for it i will die)
-
You want something like the Bellman-Ford algorithm.
http://en.wikipedia.org/wiki/Bellman–Ford_algorithm
and some code
-
Do you want it for FL?
See here:- http://the-starport.net/freelancer/forum/viewtopic.php?topic_id=2123&forum=7
And here:- http://the-starport.net/freelancer/forum/viewtopic.php?topic_id=494&forum=10