Key.is_harmful#

Key.is_harmful() bool#

Determine whether grid object is harmful to the agent.

Returns False by default. Harmful grid objects must override this method. Value is used in curiosity_gym.core.gridengine to determine if episode ended.

Returns:

True if grid object is harmful, False otherwise.

Return type:

bool