How do I encode string (artificial chromosomes)

How do I encode the string (artificial chromosomes) needs to be decoded so it corresponds to locator positions based on node number which is generated as mesh points. Since there are six locator points for 3-D components, the length of artificial chromosomes consists of six parameters. L1, L2, L3, L4, L5 and L6 indicate fixture locator number 1, 2, 3, 4, 5 and 6. The encoded string for this research uses a real number between 0-1 to represent the locators’ position in relation to the work piece frame for the initial population. for example:
Thanks in advance

2 Kommentare

Rik
Rik am 23 Okt. 2020
It is not entirely clear to me what exactly is your question. What is the exact input (data type and size) and what is the required output? Have a read here and here. It will greatly improve your chances of getting an answer.
Do the chromosome names need to be manipulated? If so do they need to be manipulated in a way that encoding the names as small integers would not work?
Or do you just need to have that vector of six values, with it being understood that the 3rd entry corresponds to L3 ?

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Nonlinear Dynamics finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 23 Okt. 2020

Kommentiert:

am 23 Okt. 2020

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by