yawning_titan.game_modes.components.rewards#

Classes

Rewards

The rewards the blue agent receives based upon the final game state.

class yawning_titan.game_modes.components.rewards.Rewards(for_loss=0, for_reaching_max_steps=0, end_rewards_are_multiplied_by_end_state=False, reduce_negative_rewards_for_closer_fails=False, function='standard_rewards')[source]#

The rewards the blue agent receives based upon the final game state.

The ConfigGroup constructor.

Parameters:

doc – The groups doc.

__init__(for_loss=0, for_reaching_max_steps=0, end_rewards_are_multiplied_by_end_state=False, reduce_negative_rewards_for_closer_fails=False, function='standard_rewards')[source]#

The ConfigGroup constructor.

Parameters:

doc – The groups doc.