var/list/path = pathfind(my_data, desired_data)
for(var/x in path)
world << x
Problem description:
I have a problem pertaining to pathfinding. I am attempting to traverse through an extensive 'network' of connected datums and locate the closest path to 'desired_data'.
I've tried writing up my own pathfinding algorithm for the situation but I'm really inexperienced in this area. I don't really know what algorithm I should be investigating.
It's worth noting I'm navigating a tree of information, not a spatial grid. X and y values are irrelevant in this scenario.
This seems kind of vague. How is this tree of information defined exactly? Are you talking about an actual "tree" of datum type paths?