The second time i propose you use just one bit per node to mark them as already processed. Then you don't need such a loop, just a single test. (std::vector<bool> stores elements in packed bits.)
But make sure you do this before you finally refactor this bullshit. Because if you refactor first, you would need to make the change only one times. That's no fun and nobody would complain.
So make sure you continue to improve your algorithm for weeks each time 8 times, otherwise you would learn path finding probably in a single day like all those other folks - which would be boring.
The second time i propose you use just one bit per node to mark them as already processed. Then you don't need such a loop, just a single test. (std::vector<bool> stores elements in packed bits.)
But make sure you do this before you finally refactor this bullshit. Because if you refactor first, you would need to make the change only one times. That's no fun and nobody would complain.
So make sure you continue to improve your algorithm for weeks each time 8 times, otherwise you would learn path finding probably in a single day like all those other folks - which would be boring.
The second time i propose you use just one bit per node to mark them as already processed. Then you don't need such a loop, just a single test. (std::vector<bool> stores elements in packed bits.)
But make sure you do this before you finally refactor this bullshit. Because if you refactor first, you would need to make the change only one times. That's no fun and nobody would complain.
So make sure you continue to improve your algorithm for weeks each time 8 times, otherwise you would learn path finding probably in a single day like all those other folks - which would be boring.
The second time i propose you use just one bit per node to mark them as already processed. Then you don't need such a loop, just a single test. (std::vector<bool> stores elements in packed bits.)
But make sure you do this before you finally refactor this bullshit. Because if you refactor first, you would need to make the change only one times. That's no fun and nobody would complain.
So make sure you continue to improve your algorithm for weeks each time 8 times, otherwise you would learn path finding probably in a single day like all those other folks - which would be boring.
The second time i propose you use just one bit per node to mark them as already processed. Then you don't need such a loop, just a single test. (std::vector<bool> stores elements in packed bits.)
But make sure you do this before you finally refactor this bullshit. Because if you refactor first, you would need to make the change only one times. That's no fun and nobody would complain.
So make sure you continue to improve your algorithm for weeks each time 8 times, otherwise you would learn path finding probably in a single day like all those other folks - which would be boring.
The second time i propose you use just one bit per node to mark them as already processed. Then you don't need such a loop, just a single test. (std::vector<bool> stores elements in packed bits.)
But make sure you do this before you finally refactor this bullshit. Because if you refactor first, you would need to make the change only one times. That's no fun and nobody would complain.
So make sure you continue to improve your algorithm for weeks each time 8 times, otherwise you would learn path finding probably in a single day like all those other folks - which would be boring.
The second time i propose you use just one bit per node to mark them as already processed. Then you don't need such a loop, just a single test. (std::vector<bool> stores elements in packed bits.)
But make sure you do this before you finally refactor this bullshit. Because if you refactor first, you would need to make the change only one times. That's no fun and nobody would complain.
So make sure you continue to improve your algorithm for weeks each time 8 times, otherwise you would learn path finding probably in a single day like all those other folks - which would be boring.
The second time i propose you use just one bit per node to mark them as already processed. Then you don't need such a loop, just a single test. (std::vector<bool> stores elements in packed bits.)
But make sure you do this before you finally refactor this bullshit. Because if you refactor first, you would need to make the change only one times. That's no fun and nobody would complain.
So make sure you continue to improve your algorithm for weeks each time 8 times, otherwise you would learn path finding probably in a single day like all those other folks - which would be boring.
(I hope there aro no typos again in my post, but hey… fixing them just 8 times - it just works.)