I implemented the A* algorithm (actually a modification thereof...) to calculate wiring on a circuit board. While it is fairly fast in finding a path, it takes painfully long (>100ms) to find no path.
From the outlines of the algorithm I have come across it is clear that it will terminate only when the queue of unvisited nodes is empty.
Are there any heuristics to terminate the search for a path early -- possibly when adding additional assumptions?