ContinuationFunction

class ContinuationFunction(gamma=None, *args, **kwargs)

Bases: object

State-dependent discount factor

Generalizes the notion of MDP discount factor \(\gamma\), making it dependent on the state the agent is in. This allows for a finer control over the continuation / termination signal for a particular GVF.

Methods Summary

__call__(self, \*args, \*\*kwargs)

Call self as a function.

Methods Documentation

__call__(self, \*args, \*\*kwargs)

Call self as a function.