Code center > Suggestions

Robot repopulation in the chloroplast version

<< < (2/3) > >>

Botsareus:

--- Quote ---Personally I think changing the repop threshold is a big change and I rather have an option to select a non default repop.
--- End quote ---

Sorry that I did not make this clear right away, but I am basing my formula on the current repop.

I just want to add a cutoff at some point.

I have dropped the poll, and now proposing the least invasive strategy (see picy)

Botsareus:
So (thinking about it further) this fix has nothing to do with chloroplasts themselves. It is just another way to make robots evolve there own chloroplasts.

Botsareus:
[Bump]

Was working on it, might as well post it:


--- Code: ---Function cutoff(ByVal x As Double) 'input is total robot radi / screen area
If x <= 0.5 Then
    cutoff = 1
Else
    cutoff = 1 - ((x * 2) - 1) ^ 3
End If
End Function

--- End code ---

Peter:
Am I reading it right if it says the repop gets lower as the bots use more space in the sim?

Is there something else that has a influence on the amount of light?

Botsareus:
No, not for this equation.

(Don't be confused with Pond Mode)

edit: "Amount of light" is used loosely here, basically meaning population density. A concept that was introduced to me by Shvarz when we discussed how chloroplasts should behave.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version