count of paths from A[a,b] to A[c,d] without duplicating?
- by Sorush Rabiee
I write a sokoban solver for fun and practice, it uses a simple algorithm (something like BFS).
now i want to estimate its running time ( O and omega). but i need to know how to calculate count of paths from a vertex to another in a network. each path from a to b is a sequence of edges with no circuit.
for example this is a correct path:
http://www.imgplace.com/viewimg143/4789/501k.png
but this is not:
http://www.imgplace.com/viewimg143/6140/202.png