ostatslib.states.features_set
FeaturesSet abstract class module
Classes
-
class FeaturesSet[source]
Abstract base class for FeaturesSets
-
as_features_dict() → dict[source]
Features values as dictionary
- Returns:
dictionary with features values
- Return type:
dict
-
as_gymnasium_space() → dict[source]
Features as Gymnasium space
- Returns:
dictionary of features and their Gymnasium spaces
- Return type:
dict
-
list_known_features() → list[tuple[str, float | int | str]][source]
Lists fields that have values different from default (unknown state attribute)
- Returns:
list of non-default values
- Return type:
KnownFeaturesList