Isn't the max wheels setting stored in the chromosome string?
samadam wrote:And if you want that new wheel to not appear, just set all the unused wheels to position -1.
Lotharsson wrote:samadam wrote:And if you want that new wheel to not appear, just set all the unused wheels to position -1.
This will work, but users should not have to do this in the designer for every car they wish to copy/paste to ensure that they work correctly after paste into a new simulation. That's really one purpose of the car's "wheel count" value in the chromosome.
samadam wrote:A solution would be to have a car evolved with x wheels have 8-x wheels set to -1 when generated by the software. This loses a bit of vestigiality in the genome, but should work fine.
Ryan wrote:Currently it uses the last input cars maximum wheel number to set the new simulation.
Users browsing this forum: No registered users and 0 guests