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 个评论

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 ?

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Nonlinear Dynamics 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by