concepts.pdsketch.crow.regression_utils.ApplicableRegressionRuleGroup#

class ApplicableRegressionRuleGroup[source]#

Bases: NamedTuple

ApplicableRegressionRuleGroup(chain_index, subgoal_index, regression_rules)

Methods

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

chain_index

Alias for field number 0

regression_rules

Alias for field number 2

subgoal_index

Alias for field number 1

__add__(value, /)#

Return self+value.

__getitem__(key, /)#

Return self[key].

__init__()#
__iter__()#

Implement iter(self).

__len__()#

Return len(self).

__mul__(value, /)#

Return self*value.

static __new__(_cls, chain_index, subgoal_index, regression_rules)#

Create new instance of ApplicableRegressionRuleGroup(chain_index, subgoal_index, regression_rules)

Parameters:
count(value, /)#

Return number of occurrences of value.

index(value, start=0, stop=9223372036854775807, /)#

Return first index of value.

Raises ValueError if the value is not present.

chain_index: int#

Alias for field number 0

regression_rules: List[ApplicableRegressionRuleItem]#

Alias for field number 2

subgoal_index: int#

Alias for field number 1