incremental
IncrementalEnvironment()
Bases: TransformedObservable
, Stepable
, Iterable[Data]
Base class for incremental environments.
Incremental environments are environments that can be advanced by a step and provide a stream of data. The data can be observed at each step.
Initialize the incremental environment.
Source code in src/flowcean/core/environment/incremental.py
25 26 27 |
|
num_steps()
Return the number of steps in the environment.
Returns:
Type | Description |
---|---|
int | None
|
The number of steps in the environment, or None if the number of |
int | None
|
steps is unknown. |
Source code in src/flowcean/core/environment/incremental.py
39 40 41 42 43 44 45 46 |
|