deluca.agents.PID¶
-
class
deluca.agents.PID(*args, **kwargs)[source]¶ PID: agent that plays a PID policy
Public Data Attributes:
Inherited from
JaxObjectnameattrsPublic Methods:
__init__([K, RC, dt])Description: initializes the PID agent
__call__(state)Description: provide an action given a state
Inherited from
Agent__init_subclass__(*args, **kwargs)For avoiding a decorator for each subclass
__call__(state)Description: provide an action given a state
reset()feed(reward)Inherited from
JaxObject__new__(cls, *args, **kwargs)For avoiding super().__init__()
__init_subclass__(*args, **kwargs)For avoiding a decorator for each subclass
__str__()Return str(self).
__setattr__(key, val)Implement setattr(self, name, value).
save(path)load(path)throw(err, msg)