fixed
Fixed(feature_name, value)
Bases: Discrete
A domain with a single value.
This domain contains a single fixed value for a feature.
Initialize the fixed domain.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
feature_name
|
str
|
The name of the feature the domain belongs to. |
required |
value
|
float
|
The fixed value to return. |
required |
Source code in src/flowcean/core/tool/testing/domain/fixed.py
10 11 12 13 14 15 16 17 |
|
get_value()
Get the fixed value.
Source code in src/flowcean/core/tool/testing/domain/fixed.py
19 20 21 |
|