marpis
2010-07-01 11:23:13
I need an algorithm for Simba that finds a path from A to B with given facts
- all A's neighbors (C, D)
– all A's neighbors' neighbors
–> C's neighbors (A, D, F)
- all B's neighbors (F)
– all B's neighbors' neighbors
–>F's neighbors (B, D, C)
So in this case the path from A to B would be
1) A -> C -> F -> B
2) A -> D -> F -> B
It'd be cool to find all the possibilities.
And yes, I'm working on a webwalker as well, but with a very different approach to RM :rolleyes:
- all A's neighbors (C, D)
– all A's neighbors' neighbors
–> C's neighbors (A, D, F)
- all B's neighbors (F)
– all B's neighbors' neighbors
–>F's neighbors (B, D, C)
So in this case the path from A to B would be
1) A -> C -> F -> B
2) A -> D -> F -> B
It'd be cool to find all the possibilities.
And yes, I'm working on a webwalker as well, but with a very different approach to RM :rolleyes: