How bioerrorlog/tierra works
Tierra is an artificial-life simulator: users start a run from a configuration and observe its evolving population and statistics. Beagle Explorer is a separate monitoring client, documented as connecting to a local Tierra run; the repository also includes a stdio client. The source index shows the main simulation, Beagle server, protocol, and client modules, but most implementation excerpts are absent. Accordingly, the graph captures documented product relationships and leaves unsampled internal wiring unasserted.
Main entry points: micromon.c Simulation Engine · beagleGUI.c X11 Explorer · beagleMessageMgr.c Message Manager · beagleMain.c Beagle Client
Components 19
Tierra Simulation
- Run Setup
tierra/tsetup.c - Simulation Engine
tierra/micromon.c - Genome Instructions
tierra/instruct.c
Population and Analysis
- Simulation State
tierra/globals.h - Population Memory
tierra/rambank.c - Gene Bank
tierra/genio.c - Thread Analysis
tierra/thrdana.c
Beagle Monitoring
- Beagle Server
Bglserv/tbgl_proc.c - Server Communication
Bglserv/tbgl_com.c
Beagle Clients
- X11 Explorer
Bgl-GUI_X11/beagleGUI.c - Overview Window
Bgl-GUI_X11/beagleGUI_OverviewWindow.c - Size Query Window
Bgl-GUI_X11/beagleGUI_QueryWindow.c - Stdio Client
Bgl-UI_stdio/bglstd_main.c - Beagle Client
Bglclnt/beagleMain.c
Communication
- Message Manager
Bglclnt/beagleMessageMgr.c - Socket Manager
Bglclnt/beagleUTIL_SockMgr.c - Message Handlers
Bglclnt/beagleMessage_Ov.c - Wire Encoding
Bglcom/bgl_dat_xdr.c
Other components
- Operator
Connections 21
- Operator → Run Setup: configures
- Operator → Simulation Engine: starts run
- Operator → X11 Explorer: launches
- Operator → Stdio Client: uses
- X11 Explorer → Simulation Engine: monitors run
- Simulation Engine → Beagle Server: serves monitoring
- Simulation Engine → Genome Instructions: executes
- Simulation Engine → Population Memory: updates population
- Simulation Engine → Gene Bank: uses gene bank
- Simulation Engine → Thread Analysis: collects analysis
- Simulation Engine → Simulation State: uses state
tierra/micromon.c - X11 Explorer → Overview Window: presents overview
- X11 Explorer → Size Query Window: opens query
- Size Query Window → Message Manager: requests sizes
Bgl-GUI_X11/beagleGUI_QueryWindow.c - Beagle Client → X11 Explorer: selects interface
- Beagle Client → Stdio Client: selects interface
- Message Manager → Message Handlers: dispatches messages
- Message Manager → Socket Manager: uses connections
- Message Handlers → Wire Encoding: encodes data
- Beagle Server → Server Communication: handles communication
- Server Communication → Wire Encoding: exchanges data