Chapter 623: Surfing Algorithm

readx;

The students of Mizuki University cheered, and in the midst of the cheers, the three people from the Polytechnic University left. Pen | fun | pavilion www. biquge。 info

When Liang Jingming left, he came to Lin Hong and said, "You are very strong, but I will definitely defeat you!" ”

An Zhe came to Wu Dong's side, asked him about Lin Hong's situation, and said that he wanted to treat them to dinner and make amends to them.

Wu Dong shook his head and said, "Forget it, next time." ”

"Okay, call me when it's convenient."

After they left, the people present gathered around Lin Hong and asked him about the details just now, why was their tank able to turn defeat into victory later?

Lin Hong didn't keep this a secret, and in the face of their questions, he explained them in detail.

First of all, he briefly explained the other party's algorithm, focusing on their statistical algorithms.

In fact, pattern matching algorithms already have the prototype of statistical algorithms, which also need to collect data in advance, and then analyze and count these data, and finally get strategies from the data.

Polytechnic University will further study this algorithm, divide random movement into regions, and then count the probability of the opponent's tank appearing in these areas, shoot according to the probability, and adjust these probabilities at any time to approach the accurate target step by step.

The idea of statistics is very important in artificial intelligence, and if further research, there are more complex theories, such as fuzzy algorithms, which are to count and analyze a large amount of data, and finally get a high probability of results.

Everyone present has a certain foundation. In addition, this time is not the right time and the right place to explain in detail, Lin Hong said it simply, the reason why he analyzed the other party's algorithm is to let everyone get a kind of inspiration through this algorithm, so that their thinking should not be too limited...... So far, it has become a platform, and the role it can play is huge. The potential is far from being realized.

At least Lin Hong thinks it's very good to use it for artificial intelligence learning.

Of course...... It has only been born for a short time. It's not easy to get to this point, and it takes time to develop.

However, Lin Hong decided to help push it again, so that everyone's overall level could be improved quickly. In order to avoid a simple pattern matching algorithm can stump everyone, a slightly more complex statistical algorithm is even more clueless.

"Whether it is the previous pattern matching algorithm or the statistical algorithm used by the Polytechnic University, the algorithm is focused on the aiming algorithm, thinking about how to accurately attack the opponent, and the algorithm after I improved it focused on improving the movement algorithm and how to make the tank effectively avoid shells."

Hearing Lin Hong begin to introduce his algorithm, everyone immediately cheered up and listened carefully.

Lin Hong continued: "Actually. The algorithm I use can be called the anti-statistics algorithm, which is specifically for the opponent's attacks, that is, to count my own bullet information. In this way, it is possible to form waves of areas with different probabilities of being hit, and after the number of hits reaches a certain condition, the tank can effectively move accordingly against the probability of being hit......"

While Lin Hong was explaining, he began to operate on the computer, and he was rewriting some code. Include some ancillary stuff to make it easier for people to understand.

After hearing his words, everyone understood why at the beginning, your tank continued to be hit and consumed nearly half of its HP. It turns out that this is needed by the algorithm, and the middle bullet is being used to obtain the parameters of the opponent's shell.

In this case, it is like a competition between two people, one of them is constantly beaten in order to be familiar with each other's routines, and after getting familiar with the routines, they can effectively dodge these routines in the second half, so that the Jedi counterattack is realized.

The truth is actually very simple and very simple, and everyone seems to be able to think of it if you think about it carefully, after all, there are too many examples of this kind, but if you really want to use it flexibly, it is not so simple, otherwise no one has ever thought about this problem for so long.

Wu Dong and Tang Huaxin both nodded thoughtfully, they found that many laws in life, with a little flexibility, can actually be applied to RO

otank, so as to achieve unexpected results.

The regularity has a great effect, and this joy of being inspired by life is so wonderful.

This thing is very enlightening to everyone, they find that it seems that a new door has opened like them, the algorithm does not seem to be a profound thing, the truth is actually known to everyone, the key is how to use it flexibly.

Lin Hong said as he improved the code and added some visual effects.

"Look at ......," he said.

Then two instances were re-run, and two tanks, one red and one blue, appeared in the arena, and the red tank kept wandering randomly, like a blue tank emitting a cannonball, and around the shell field, a blue translucent layer was constantly emitted, like a wave, spreading around the red tank as the center.

"When the enemy fires a shell, it can be assumed that the opponent sends out a shock wave, and the greater the probability of hitting him, the darker the color of the shock wave, and vice versa. And what we have to do is to surf on the shock waves with different color depths, and the direction is naturally to move towards the light color area. ”

At this point, Lin Hong paused so that the other party could easily understand his words.

"We kept moving towards the lighter color so that the probability of being hit was minimal, and it was clear that this strategy was very effective, and the final performance was as you can see......" Lin Hong pointed to the blue tank in the monitor.

In the monitor, the blue tank is moving back and forth in a circular motion around the red tank, and the red tank is getting harder and harder to hit the opponent after hitting the blue tank a few times.

Through Lin Hong's explanation, everyone finally understood why the blue tank was able to win the game, and only started to counterattack after he lost half of his HP.

I don't know who took the lead, everyone applauded on the spot, for Lin Hong's wonderful explanation, for Lin Hong to achieve such an excellent algorithm in such a short period of time, and to save his face for Mizuki University.

Under Wu Dong's introduction, everyone knew that the original ...... 's birth has a very close relationship with the classmate in front of him, so to speak, he is the ro

Father of Otank.

Thinking about it this way, everyone thinks it makes sense again. It's just that some people are very confused in their hearts, since he is ro

Father of Otank, why haven't you seen him before? Of course, it was just a thought, and no one asked on the spot.

This algorithm was finally named "surfing algorithm" by Lin Hong, because the movement of the tank is to constantly surf the hit wave to avoid being hit by shells.

Lin Hong and Wu Dong left RO

OTANK Association.

On the way, Wu Dong said with some excitement that with this algorithm, Mizuki University will be in the upcoming national RO in the future

You can definitely get an excellent ranking in the Otank Athletic Tournament.

Lin Hong shook his head and said, "I plan to make this algorithm public." ”

Wu Dong couldn't help but be stunned when he heard this. ^-^^-^