Multithreaded AI will die cycle

Multithreaded AI will die cycle, I saw a man in front, I turn left,
she saw in front of me, she turn right. Just collided. . We intend to change that direction. . He found still collided. .
Results We constantly change the direction of this change can not be an infinite loop.
 Until one day I thought. The other party may also turn my steering in the opposite direction.
But just that day, she also happens to understand this truth. . That was an endless loop.
Finally, we learned to communicate with each other.
Hello, I will wait turn right, go on your right as you turn it. .
Finally able to break the cycle of death.

Published 53 original articles · won praise 12 · views 10000 +

Guess you like

Origin blog.csdn.net/q158805972/article/details/95753114