concepts.pdsketch.crow.crow_planner_v2.PossibleSearchBranch#

class PossibleSearchBranch[source]#

Bases: NamedTuple

PossibleSearchBranch(state, csp, actions, csp_variable_mapping, reg_variable_mapping)

Methods

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

actions

Alias for field number 2

csp

Alias for field number 1

csp_variable_mapping

Alias for field number 3

reg_variable_mapping

Alias for field number 4

state

Alias for field number 0

__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, state, csp, actions, csp_variable_mapping, reg_variable_mapping)#

Create new instance of PossibleSearchBranch(state, csp, actions, csp_variable_mapping, reg_variable_mapping)

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.

actions: List[OperatorApplier]#

Alias for field number 2

csp: ConstraintSatisfactionProblem | None#

Alias for field number 1

csp_variable_mapping: Dict[int, Any]#

Alias for field number 3

reg_variable_mapping: Dict[str, Any]#

Alias for field number 4

state: State#

Alias for field number 0