ethicalgardeners.actionΒΆ
The action module defines the possible actions agents can take in the environment.
This module contains:
a function to create the _ActionEnum enumeration that represents all possible actions a gardener agent can perform in the environment.
a method to get actions that do not involve planting flowers.
a method to get the planting action corresponding to a specific flower type.
These actions are handled by the ActionHandler class.
- members:
Functions
|
Dynamically create an enumeration of actions for agents in the grid world based on the number of flower types. |