Author Topic: Backflow limit  (Read 3579 times)

Offline shvarz

  • Bot God
  • *****
  • Posts: 1341
    • View Profile
Backflow limit
« on: December 27, 2007, 01:44:01 PM »
The subj says it all.  

And a related question: What settings should I put into IN and OUT teleporters to create a folder that stores a large number of bots from my own simulation? I'd like to have 500-1000 bots continuously stored up there and then teleport them back in to either maintain diversity or to repopulate the sim.
"Never underestimate the power of stupid things in big numbers" - Serious Sam

Offline EricL

  • Administrator
  • Bot God
  • *****
  • Posts: 2266
    • View Profile
Backflow limit
« Reply #1 on: December 27, 2007, 02:45:23 PM »
The backflow limit on the teleporter dialog isn't wired up yet.  The idea is that it will be a limit on the number of queued up bots in the out directory for outbound teleporters at which point the teleporter will stop teleporting.

Right now, outbound teleporters teleport out everything they encounter when they encounter it.  Changing the size or motion of the teleporter will give you some control over this I.e. smaller teleporters will on average teleport fewer bots per unit time.

Inbound teleporters will teleport in up to the specified number of bots (if they exist in the inbound directory) every specified number of cycles.

Teleporters arn't really designed to queue bots like you want to do, but tweaking these parameters should allow you some course grain control over this.  Note that there is no ordering gurarentee on bots queued after teleportation.  Right now, it's a function of the file system DIR order of the random names I give the dbo files on disk, so probably not FIFO or LIFO but more like random.
Many beers....