Author Topic: More than single cycle genes  (Read 4895 times)

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
More than single cycle genes
« on: March 12, 2005, 04:22:09 AM »
Trying to make MB's you realize how hard it is to coordinate actions that take more than one cycle to finish.

So a waitcycle command would be cool to have.  Then we could have something like:

cond
*.robage 0 =
start
628 .aimdx store
1 waitcycle
.tie inc
1 waitcycle
.deltie inc
stop

In addition, we'd need a *.active sysvar that works similar to *.thisgene in that it changes after every gene.  *.active would store 1 if the gene is active, 0 otherwise, so you could do something like:

cond
*.active 1 !=
*.nrg 20000 >
start
20 .repro store
50 waitcycle
stop

to limit your bot from reproducing more than once every 50 cycles.

This works much smoother with the simultaneous DNA execution I was talking about in the other thread.

Offline Zelos

  • Bot Overlord
  • ****
  • Posts: 707
    • View Profile
More than single cycle genes
« Reply #1 on: March 12, 2005, 05:06:27 AM »
that would help alot, make it make it, damn it make it ;)
When I have the eclipse cannon under my control there is nothing that can stop me from ruling the world. And I wont stop there. I will never stop conquering worlds through the universe. All the worlds in the universe will belong to me. All the species in on them will be my slaves. THE ENIRE UNIVERSE WILL BELONG TO ME AND EVERYTHING IN IT :evil: AND THERE IS NOTHING ANYONE OF you CAN DO TO STOP ME. HAHAHAHAHAHAHAHA

Offline Endy

  • Bot Overlord
  • ****
  • Posts: 852
    • View Profile
More than single cycle genes
« Reply #2 on: March 13, 2005, 12:00:49 AM »
Could be done with current vers but it would be massivly energy intensive.

Endy B)

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
More than single cycle genes
« Reply #3 on: March 14, 2005, 08:53:51 AM »
Its not too bad to do it using timers.

The parent just needs to program the young with the same timer value that she has already. That way the whole MB is synchronized.

I'm not sure about the waitcycle gene. Not being a biologist I'm not sure how this corresponds to real life but it seems a bit iffy to me.

 :D  PY  :D
There are 10 kinds of people in the world
Those who understand binary.
and those who don't

:D PY :D

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
More than single cycle genes
« Reply #4 on: March 14, 2005, 09:33:02 AM »
The thinking behind this is that real genes produce proteins that interact in complex ways.  These proteins hang around for longer than a single time period.

If you combine this with synchronous DNA and the timer that I mentioned earlier, you get some very powerful MB building techniques.  And perhaps some interesting SB building techniques too.

Actually, this comes from computer science more than biology.  These three together allow for multi-threaded programming.  The power of multithreading is simply incredible.
« Last Edit: March 14, 2005, 09:37:18 AM by Numsgil »

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
More than single cycle genes
« Reply #5 on: March 14, 2005, 10:25:09 AM »
I don't doubt that it will work very well in DB and your example does show a similarity to real life.

Seems to me that we have to come to a decision as to whether DBs are ever going to actually simulate real life in the organic sense or if we want them to actually be little programmable robots that simulate some other fictional (or at least unknown) form of life.

They seem rather similar to replicators in StarGate.


 :D  PY  :D
There are 10 kinds of people in the world
Those who understand binary.
and those who don't

:D PY :D

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
More than single cycle genes
« Reply #6 on: March 14, 2005, 11:06:10 AM »
Just as long as they don't try destroy the known universe, I'll be happy.  Then again, the replicators were toys at first...

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
More than single cycle genes
« Reply #7 on: March 14, 2005, 11:55:09 AM »
YEEK!

Maybe they might try to invade cyberspace!

 :sly:  PY  :sly:
There are 10 kinds of people in the world
Those who understand binary.
and those who don't

:D PY :D

Offline Old Henk

  • Bot Destroyer
  • ***
  • Posts: 229
    • View Profile
More than single cycle genes
« Reply #8 on: March 15, 2005, 12:13:07 PM »
I think they don't need to 'simulate' life, or be our approximation (cool word, eh? B) ) of it.
They're just what they are: Darwinbots! Artificial Life! Yay!  :clap:
« Last Edit: March 15, 2005, 12:14:20 PM by Henk »

Offline Endy

  • Bot Overlord
  • ****
  • Posts: 852
    • View Profile
More than single cycle genes
« Reply #9 on: March 15, 2005, 04:31:09 PM »
I always worry that I'll come back sometime and have them respond to me.

Endy :D

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
More than single cycle genes
« Reply #10 on: March 15, 2005, 08:58:29 PM »
:) I still did not get smexe working the way I want, so the syberspace is safe for now :)
« Last Edit: March 15, 2005, 08:58:53 PM by Botsareus »