Simple pathfinding?

Posted by pdx on Stack Overflow See other posts from Stack Overflow or by pdx
Published on 2011-01-05T20:48:35Z Indexed on 2011/01/05 20:54 UTC
Read the original article Hit count: 110

Filed under:

Does anyone know if there is a simple way to do pathfinding in PHP?

I basically have a list of numbers (kinda like {origin:11485,outboundDirections:"11486,11487,11488"} and {origin:11487,outboundDirections:"11485,11676,94185"} and getting from 11485 to 94185 would result in 11485>11487>94185 with ways to "exixt", and I'm trying to figure out how to do this (it doesn't really have to be shortest path or anything AI-like, just a way to get from A to B)

I have no idea where to start at all, unfortunately

© Stack Overflow or respective owner

Related posts about php