ChoiceLabeling¶
- class ChoiceLabeling(
- self: stormpy.models.ChoiceLabeling,
- choice_count: SupportsInt | SupportsIndex,
Bases:
ItemLabelingLabeling for choices
- add_label(self: stormpy.developer.storage.ItemLabeling, label: str) None¶
Add label
- add_label_to_choice(
- self: stormpy.models.ChoiceLabeling,
- label: str,
- state: SupportsInt | SupportsIndex,
Adds a label to a given choice
- contains_label(self: stormpy.developer.storage.ItemLabeling, label: str) bool¶
Check if the given label is contained in the labeling
- get_choices(
- self: stormpy.models.ChoiceLabeling,
- label: str,
Get all choices which have the given label
- get_labels(self: stormpy.developer.storage.ItemLabeling) set[str]¶
Get all labels
- get_labels_of_choice(
- self: stormpy.models.ChoiceLabeling,
- choice: SupportsInt | SupportsIndex,
Get labels of the given choice
- set_choices(
- self: stormpy.models.ChoiceLabeling,
- label: str,
- choices: stormpy.datastructures.BitVector,
Add a label to a the given choices