concepts.dm.crow.planners.regression_planning_impl.crow_regression_planner_astar_v2.CrowPlanningStateWithHeuristic#

class CrowPlanningStateWithHeuristic[source]#

Bases: NamedTuple

CrowPlanningStateWithHeuristic(state, g, h, previous_state)

Methods

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

print_history()

Attributes

g

Alias for field number 1

h

Alias for field number 2

previous_state

Alias for field number 3

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, g, h, previous_state=None)#

Create new instance of CrowPlanningStateWithHeuristic(state, g, h, previous_state)

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.

print_history()[source]#
g: float#

Alias for field number 1

h: float#

Alias for field number 2

previous_state: CrowPlanningStateWithHeuristic | None#

Alias for field number 3

state: CrowPlanningState2#

Alias for field number 0