Skip to content

actable

Actable

Bases: ABC

Base class for active environments.

Active environments require actions to be taken to advance.

act(action) abstractmethod

Act on the environment.

Parameters:

Name Type Description Default
action Action

The action to perform.

required
Source code in src/flowcean/core/environment/actable.py
12
13
14
15
16
17
18
@abstractmethod
def act(self, action: Action) -> None:
    """Act on the environment.

    Args:
        action: The action to perform.
    """