offline
OfflineEnvironment
Bases: Environment
, Protocol
Base class for offline environments.
Offline environments are used to represent datasets. They can be used to represent static datasets. Offline environments can be transformed and joined together to create new datasets.
chain(*other)
Chain this offline environment with other offline environments.
Chaining offline environments will create a new incremental environment that will first observe the data from this environment and then the data from the other environments.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
other
|
Environment
|
The other offline environments to chain. |
()
|
Returns:
Type | Description |
---|---|
ChainedOfflineEnvironments
|
The chained offline environments. |
Source code in src/flowcean/core/environment/offline.py
28 29 30 31 32 33 34 35 36 37 38 39 40 41 |
|
__add__(other)
Shorthand for chain
.
Source code in src/flowcean/core/environment/offline.py
43 44 45 46 |
|
ChainedOfflineEnvironments(environments)
Bases: IncrementalEnvironment
Chained offline environments.
This environment chains multiple offline environments together. The environment will first observe the data from the first environment and then the data from the other environments.
Initialize the chained offline environments.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
environments
|
Iterable[Environment]
|
The offline environments to chain. |
required |
Source code in src/flowcean/core/environment/offline.py
60 61 62 63 64 65 66 67 |
|