Bardo.Examples.Applications.Flatland.Flatland (Bardo v0.1.0)

View Source

Flatland simulation environment.

This module implements a 2D world where predators and prey interact. It behaves as a sector in the Bardo scape system.

Summary

Functions

Handles an actuator operation from an agent.

Handles a new agent entering the Flatland environment.

Initializes the Flatland sector with the given parameters.

Handles an agent leaving the Flatland environment.

Handles a sensor operation from an agent.

Handles the step operation for the Flatland environment.

Functions

actuate(agent_id, params, state)

Handles an actuator operation from an agent.

enter(agent_id, params, state)

Handles a new agent entering the Flatland environment.

init(params, state)

Initializes the Flatland sector with the given parameters.

leave(agent_id, params, state)

Handles an agent leaving the Flatland environment.

sense(agent_id, params, state)

Handles a sensor operation from an agent.

step(params, state)

Handles the step operation for the Flatland environment.