Python networkx DFS or BFS missing?

Posted by sadawd on Stack Overflow See other posts from Stack Overflow or by sadawd
Published on 2010-03-15T18:09:48Z Indexed on 2010/03/15 18:59 UTC
Read the original article Hit count: 405

Filed under:

Dear Everyone I am interested in finding a path (not necessarily shortest) in a short amount of time. Dijsktra and AStar in networkx is taking too long.

Why is there no DFS or BFS in networkx?

I plan to write my own DFS and BFS search (I am leaning more towards BFS because my graph is pretty deep). Is there anything that I can use in networkx's lib to speed me up?

Thx

© Stack Overflow or respective owner

Related posts about networkx