habitat.tasks.rearrange.social_nav.social_nav_sensors.SocialNavReward class

Reward that gives a continuous reward for the social navigation task.

Methods

def _get_count_coll_reward(self)
Count-based collision reward
def _want_count_coll(self)
Check if we want to consider penality from count-based collisions
def get_metric(self)
def reset_metric(self, *args, episode, task, observations, **kwargs)
def update_metric(self, *args, episode, task, observations, **kwargs)

Special methods

def __init__(self, *args, **kwargs)

Data

cls_uuid: str = 'social_nav_reward'

Method documentation

def habitat.tasks.rearrange.social_nav.social_nav_sensors.SocialNavReward.get_metric(self)

Returns the current metric for Measure.