adjacent node
Technical term in graph theory and computer networks for a node directly connected to another node by an edge.
In graph theory, a node directly connected to a given node is called an adjacent node.
This algorithm examines adjacent nodes one by one from the current node.