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

View Source

Prey morphology for the Flatland simulation.

This module defines the neural architecture and sensors/actuators for prey agents in the Flatland environment.

Summary

Functions

Returns a list of actuators for the prey agents.

Initialize the prey morphology.

Get the parameters required to enter the scape.

Generate the initial neuron patterns for the prey.

Returns a list of sensors for the prey agents.

Functions

actuators()

Returns a list of actuators for the prey agents.

Required by the Morphology behaviour.

get_phys_config(owner, cortex_id, scape_name)

Initialize the prey morphology.

Returns the sensor and actuator configuration for prey agents.

get_scape_params(owner, agent_id, cortex_id, scape_name)

Get the parameters required to enter the scape.

For prey agents, we specify the type as :prey.

neuron_pattern(owner, agent_id, cortex_id, neural_interface)

Generate the initial neuron patterns for the prey.

Returns a template for the neural network architecture.

sensors()

Returns a list of sensors for the prey agents.

Required by the Morphology behaviour.