concepts.benchmark.namo.namo_polygon.namo_polygon_env.NamoPolygonExecutionResult#

class NamoPolygonExecutionResult[source]#

Bases: NamedTuple

NamoPolygonExecutionResult(success, episode_end, episode_success)

Methods

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

episode_end

Alias for field number 1

episode_success

Alias for field number 2

success

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, success, episode_end, episode_success)#

Create new instance of NamoPolygonExecutionResult(success, episode_end, episode_success)

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.

episode_end: bool#

Alias for field number 1

episode_success: bool#

Alias for field number 2

success: bool#

Alias for field number 0