Bots and Simulations > DNA - General
and/or
PurpleYouko:
So it works the same way as regular stack entries followed by an operator.
The previous two conditions are "ored" and all others are anded.
Thanks for clearing that up Num. I wasn't sure if you had extended the reverse Polish notation to the condition stack in that way.
Botsareus:
I Should make it possible for robots to evolve logic stuff , since now that I know how it works.
PurpleYouko:
--- Quote ---I Should make it possible for robots to evolve logic stuff , since now that I know how it works.
--- End quote ---
Now there is something that is completely missing from the code.
Right now there is no way for any robot to evolve an "and", "or" or any other logic.
They can be lost (I think) but never added. Delete random value should be able to remove them but even then I am not quite sure since the logical operators use a different "DNA(n).tipo" code than any other kind of value does. It is possible that even this function will utterly ignore them.
Navigation
[0] Message Index
[*] Previous page
Go to full version