qgym.templates.rewarder module
Generic abstract base class for a RL rewarder.
All rewarders should inherit from Rewarder
.
- class qgym.templates.rewarder.Rewarder[source]
Bases:
object
RL Rewarder, for computing rewards on a state.
- __eq__(other)[source]
Checks whether an object ‘other’ is equal to self.
This check is performed by checking of the self and other are of exactly the same type. Afterwards, all slots (if any) are equal and if all attributes are equal.
- Return type:
- Returns:
Boolean stating wether other is equal to self.