I Ching Algorithm: Hybridization


(0 comments)

Given two chromosomes
1101111001001010101111
1001001001010110110110
The chromosomes perform conditional hybridization. The paternal and maternal chromosomes are considered as to whether their reproductive combination is good or evil. Breeding is carried out only when the offspring is good to ensure that the population evolves at the same pace as I Ching transformation following the expected natural laws without degradation or stomping in place.
Applying The hexagram space theorem, compress the 22-bit binary sequence into 3-bit binary sequence to be the size of a single hexagram
len_in = 22; len_out = 3
len_w = 8; stride = 7
The first chromosome is the paternal chromosome, corresponding to the upper hexagram
1101111001001010101111
‘11011111’0,010010’1,0101111
11011110 00100101 10101111
[6/8, 3/8, 6/8]
101
Father's hexagram number is 5, so the upper hexagram is the TỐN.
The second chromosome is the maternal chromosome, corresponding to the lower hexagram
1001001001010110110110
'1001001'0,010101'1,0110110
10010010 00101011 10110110
[3/8, 4/8, 5/8]
011
Mother's hexagram number is 3, so the lower hexagram is LY.
We have a double hexagram PHONG HỎA GIAI NHÂN

In the hexagram words, PHONG HỎA GIA NHÂN is the hexagram about family religion: fatherhood and son, the meaning of husband and wife, morality, and order in home.
LY is the fire inside, TỐN is the wind outside, the husband is above, the wife is below. The wind comes from the fire (hot air meets cold air to form wind), The wealth belongs to the husband, the merit belongs to the wife. It is a peaceful family scene. The hotter the fire inside, the stronger the wind outside. If the inside is strong, the outside will be strong, so the home religion must come from the inside out.
PHONG HỎA GIA NHÂN is the mutual hexagram. For childbirth, the jubject hexagram represents the mother, the object hexagram represents the child. Subject hexagram borns object hexagram the child was born naturally favorable.
To be specific, we continue to analyze developments.

Finding the dynamic dime and determine the transformation hexagram
We sum the parents' hexagram numbers 5 + 3 = 8.
A problem solved in a computer is a static problem. To have a dynamic dime we need to send more signals from the real world. Looking around, the algorithm name is usable. It should be repeated that the name is "intentionally but unintentionally". The name is given by the author but not decided by the author. It belongs to natural. Based on information from the article “I Ching Algorithm: Calculate the number of strokes in the name” to calculate the number of strokes
I CHING ALGORITHM
2 + 1+3+2+3+3 + 3+2+3+1+3+2+2+3+4 = 37
Plus total of 37 + 8 = 45
45 divided by 6 leaves remainder 3. So the dime 3 is the dynamic one. We have the hexagram of PHONG LÔI ÍCH

PHONG LÔI ÍCH wood with wood is equal, is a good hexagram. ÍCH means beneficial. The ÍCH hexagram is due to the two hexagrams CÀN - KHÔN turn out. CÀN above subtracts 1 yang to TỐN, and KHÔN below adds 1 yang to CHẤN. Thus, reducing the upper to compensate for the lower, called ÍCH. If the lower is full, then the upper will be quiet, which is the way of peace of mind for people and the religion of justice of society. The ÍCH hexagram represents the era of prosperous democracy.
Two parents giving birth like that is a rare good opportunity, beneficial for the population.

When we have induction of name the truth lies on the namespace direction. Different instances of the name sticking into the object give exactly the same result. Now instead of using the algorithm's name "I Ching Algorithm" with 37 strokes, we use the author's name "PHẠM THÀNH TUYÊN" to find dynamic dime. Let's start
PHẠM THÀNH TUYÊN
2+3+3+4+1 + 2+3+3+3+3+1 + 2+2+2+6+3 =
13+15+15 = 43
Plus total of 43 + 8 = 51
51 divided by 6 leaves a remainder of 3, the dynamic dime is still dime 3 and we also get the hexagram PHONG LÔI ÍCH. So finding the ÍCH hexagram is reasonable.

Hybridization
Crossbreeding is done on the paternal chromosome, finding the point of hybridization, taking the head on the paternal chromosome at the point of hybridization and then concatenating it with the tail on the maternal chromosome.
The paternal chromosome is reduced to 3 bits, so there are only two points of hybridization
1 | 0 | 1
If the original hexagram has number of yang dimes greater than or equal to number of yin dimes, the tendency to have a son, retaining more of the father's genes, so hybridize at the second hybrid point. Conversely, if the number of yang dimes less than number of yin dimes, then hybridize at the first hybrid point.
The PHONG HỎA GIA NHÂN hexagram has 4 yang dimes and 2 yin dimes, so hybridize at the second hybrid point
1 0 | 1
Decompress the bits
3-bit binary sequence corresponding to three groups of bits
11011110    00100101    10101111
These groups have a definite position on the paternal chromosome, we fill in bits with 0s in the remaining positions to form 22 bit full binary sequence like the original chromosome, call them SF1, SF2, SF3 , correspondingly. The original chromosome is SF0. We write down
SF0 = 1101111001001010101111
SF1 = 1101111000000000000000
SF2 = 0000000001001010000000
SF3 = 0000000000000010101111
We have SF0 = SF1 ∪ SF2 ∪ SF3
Similar implementation for the maternal chromosome, denote the corresponding sequences as SM0, SM1, SM2, SM3
SM0 = 1001001001010110110110
SM1 = 1001001000000000000000
SM2 = 0000000001010110000000
SM3 = 0000000000000010110110
We have SM0 = SM1 ∪ SM2 ∪ SM3
Call the child chromosome SCH. With the hybrid point determined as above, we get
SCH = SF1 ∪ SF2 ∪ SM3
SF1 = 1101111000000000000000
SF2 = 0000000001001010000000
SM3 = 0000000000000010110110
SCH = 1101111001001010110110
So two parental chromosomes
1101111001001010101111
1001001001010110110110
gave birth to a child
1101111001001010110110
The new individual is added to the population.

Currently unrated

Comments

There are currently no comments

New Comment

required

required (not published)

optional

required


What is 10 + 1?

required