foundTarget

fun foundTarget(): Boolean

Checks if the target node was found during the most recent search operation (BFS, Dijkstra).

Return

true if the target node was found, false otherwise.