Chapter 285: Three-Dimensional Formula
285.
As a result, the old man became Cheng Li's younger brother temporarily.
With someone to help, Cheng Li's efficiency has improved a lot.
What's more, he is still a senior calculator user, although he is not very accustomed to using the keyboard newly designed by Cheng Li, but after all, he is a cultivator of the Great Perfection of the Jindan Period, and his learning ability is very fast.
Therefore, after Cheng Li carefully introduced the data entry applet he wrote, the old man quickly learned how to use the keyboard to input those tricks into the calculator.
So soon, the old man can make perfect, and once again exerted the powerful power of his Jindan period cultivation, and soon used supersonic hand speed to input a section of magic into the calculator.
The arrangement of the cultivators' formulas is very complicated.
First of all, it is a three-dimensional 3D arrangement, which is undoubtedly much more complex than the linear arrangement commonly used for programming on Earth.
Secondly, the composition of all the formulas is the distribution of yin and yang spirit seeds, and there are no other constituent elements.
In this way, it is undoubtedly much more difficult to analyze the laws between different methods.
The more complex things are, the easier it is to find patterns.
On the contrary, the composition is very simple, and it is difficult to find common ground.
It's like there are two completely different pieces of software on the planet, one written in C++ and the other written in Java, although they are written in different languages, but programmers who are proficient in these two languages can easily find the code written in these two languages in the source code of these two languages.
However, if the machine language code generated by the compilation of these two types of software is allowed to find the similarities between the coding of these two sets of machine code from two sets of machine code composed of hundreds of thousands of zeros and 1s, then there is no doubt that no matter how good a programmer is, he will not be able to do it.
However, the methods of cultivators are all composed of Yin Lingzi and Yang Lingzi, and there is no so-called high-level language.
Cultivators have acquired the essentials of compiling these spells through perception, and although they will write them by rote memorization, it is clear that no one understands the inner meaning of these spells.
For example, the machine code of a software on the earth is composed of hundreds of thousands of zeros and 1s, and if translated into a high-level language, it may look like thousands of lines of code.
If a programmer looks at the source code of a high-level language, it is easy to read the meaning of the source code.
Any programmer can read the source code to deduce in his mind what the source code can produce.
This is the basic skill of a programmer.
However, it is undoubtedly extremely difficult for a programmer to look at hundreds of thousands of zeros and 1s to understand the meaning of these 0s and 1s, as well as the functions they have.
This is the problem that Cheng Li needs to face now if he wants to analyze the principle of writing the spell.
Moreover, what is even more difficult is that the method of the cultivator is a three-dimensional writing method, which is more difficult and difficult to understand than linear writing.
Otherwise, with Cheng Li's current ability, if he is just writing completely linear, line by line, that is, writing code at a one-dimensional level, like on the earth, he can understand it to some extent.
Now, the method of cultivators is not one-dimensional, let alone two-dimensional, but a three-dimensional method, and the difficulty of analyzing it is explosive.
Therefore, for the current Cheng Li, this is also a difficult problem.
"You have to find a point of alignment, it's not too difficult. ”
Cheng Li pondered.
In this way, time passes minute by minute.
Two hours later, with the help of the old man, Cheng Li and the old man finally entered all the 1,193 spells, the yin and yang spirit sub-composition of the spell, into the calculator.
In this process, since each recipe is written in three dimensions, it is more troublesome to enter.
Cheng Li deliberately wrote a three-dimensional Cartesian coordinate system with a Cartesian coordinate system, and converted all the tricks and each yin and yang spirit into fixed (x, y, z) coordinate data.
In this way, as long as the three-dimensional coordinate data of each yin and yang spirit child corresponding to each spell is completely entered into the calculator according to the principle of one-to-one correspondence, the details of each spell can be perfectly recorded.
However, in this case, the amount of work to be entered is much larger.
But with the Jindan stage cultivator and its open-mounted supersonic hand speed input, it took Cheng Li and the old man two hours to enter all the spells into the calculator.
"Okay, Cheng Li, all the spells have been entered into the calculator. But to be clear, this calculator that stores all spell information must not be leaked. The old man said solemnly.
"Don't worry, I've already written an encryption algorithm, if you don't enter the correct encoding format, others will just see a bunch of garbled characters, and it will never be leaked. Cheng Li said with relief.
After finishing speaking, Cheng Li began to busily operate on the keyboard.
"Next, I'm going to start designing an algorithm to find some of the connections between these techniques. ”
"First of all, I want to compare the same attributes and types of formulas according to the classification of formulas.
"According to my thinking, the writing of the formula should be divided into paragraphs, and each paragraph has its own fixed meaning.
"So, if two spells are very similar, then there must be some passages of the spell that are exactly the same, or at least similar. ”
After listening to this, the old man pondered: "I understand what you mean, but the arrangement of the Yin and Yang Spirits of the Dharma is completely tight, there is no interval between the paragraphs, and you don't know the beginning and end of those paragraphs. Therefore, it is very difficult to find out which section of the Yin and Yang Lingzi in these formulas is the same. And it's easy to get ambiguous and wrong. ”
"You're right. "So I'm going to design an algorithm to avoid those mistakes and maximize the computing power of the calculator to help us find similarities and differences between similar methods." ”
"That's right, this kind of calculation undoubtedly requires a lot of computing power, and it is difficult to rely on manpower alone, but the calculator is more trustworthy. ”
It took Cheng Li an hour to design this algorithm.
This is a rather complex algorithm, and if it is a program on the earth, given a month's time, it may not be possible to design it.
But now, Cheng Li only took an hour to design it.
This is due to the fact that Cheng Li's current mathematical level has made a leap like a rebirth, and it is only after becoming a cultivator in the foundation building period that his body and brain have been greatly strengthened, it is possible to achieve such an effect.
"Okay, now that the algorithm has been designed, now, start calculating!"