I would like to know if there is an algorithm for finding the shortest sequence of nodes, although the graph from its head is node to tail is node. The graph branches from the head of the node and is arbitrarily complex and converges at the tail of the node. All connections between nodes are weightless.
I consider the solution to this problem using the search steps from the head and tail nodes and until the nodes at either end of the graph touch, etc., but I would like to know if there is a โbetter wheelโ before) come up .
source share