-
Notifications
You must be signed in to change notification settings - Fork 51
Open
Description
Sorry to bother you, I think this is a code redundancy problem, the code has no practical meaning.
Analyze this code:
Line 612: solution_found = true; // Set the solution found flag
Line 613: best_node = curr; // Record the best node
Line 614: solution_found = true; // I think it is unnecessary to repeat the setting here
Line 615: solution_cost = curr->g_val; // Record the cost of the solution
solution_found = true; It is written repeatedly and has no meaning.
Metadata
Metadata
Assignees
Labels
No labels