Bots and Simulations > Evolution and Internet Sharing Sims

Mutation Sims

<< < (13/14) > >>

Testlund:
How do I set up a teleporter between 2 instances of DB on my machine? Do I select inbound and just set the same path to a folder in both? For instance: P:\PROGRAM\Artificial\DarwinBotsII\Transfers

EricL:
1) Create two file system directories somewhere.  As an example, I'll use c:\foo and c:\foo2.
2) Start DB and set up your sim.
3) Create an inbound teleporter.  Give it the path c:\foo.
4) Create an outbound teleporter.  Give it the path c:\foo2.
5) Save the sim.
6) Start a second instance of DB and load the sim you just saved.  Now you have two instances, but they are both writing to the same place (c:\foo2) and reading from the same place (c:\foo).
7) Reverse the paths for the two telepoters in the second instance.  Now one reads from where the other writes and vice versa.

Thats it.  You should now have two cooperating instances of DB.  The first instance will write bots out to c:\foo2 and read them in from c:\foo.  The second will write bots out to c:\foo and read them in from c:\foo2.

Testlund:
I did it like this. I don't know if that's what you mean.

The teleporters at the bottom goes to folder A and the teleporters at the top goes to folder B.

EricL:
That should do it.  You should see bots dissappear at the red ones and reappear at the green ones.  Changing the size of the outbound teleporters will impact the teleportation rate since the size dictates the area from which to suck up bots....

Let me know what you think and whether you think the aggregate perf is better than a single sim.

Numsgil:
Is there a way you could abstract this process for users who aren't as computer savvy?

For instance, maybe a metaprogram that calls up instances of DB.  It would let you graphically drag, drop, and connect various instances with each other so you could orchistrate various topologies quickly and intuitively.

Would be even better to have it be able to coordinate sims across different computers (over the network) but I'm not sure how easy this would be.

I could probably work on something like this as a temporary distraction...

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version