is_subset#
- AdvancedFeatureSystem.is_subset(feat_id_a: int, specification_a: int, feat_id_b: int, specification_b: int) bool #
Check if the feature feat_id_a is a subset of the feature feat_id_b.
Parameters#
- feat_id_aint
The id of the first feature.
- specification_aint
Whether to take the feature (1) or its inverse (-1).
- feat_id_bint
The id of the second feature.
- specification_bint
Whether to take the feature (1) or its inverse (-1).
Returns#
- bool
Whether the feature feat_id_a is a subset of the feature feat_id_b.