DistanceToGoalRewardMeasurementConfig class
In Navigation tasks only, measures a reward based on the distance towards the goal. The reward is - (new_distance - previous_distance) i.e. the decrease of distance to the goal.
Special methods
- def __format__(self, format_spec, /)
- Default object formatter.
- def __init__(self, type: str = 'DistanceToGoalReward') -> None
- def __repr__(self)
Data
Method documentation
def habitat. config. default_structured_configs. DistanceToGoalRewardMeasurementConfig. __format__(self, format_spec, /)
Default object formatter.
Return str(self) if format_spec is empty. Raise TypeError otherwise.