jaclearn.rl.space#

Classes

ActionSpaceBase

CompositionalActionSpace

The agent can act along each subspace at once.

ConcatenatedActionSpace

The agent can choose to perform one of the action at once.

ContinuousActionSpace

DiscreteActionSpace

Class ActionSpaceBase

class ActionSpaceBase[source]#

Bases: object

__init__(action_meanings=None)[source]#
__new__(**kwargs)#
sample(theta=None)[source]#
property action_meanings#
property rng#

Class CompositionalActionSpace

class CompositionalActionSpace[source]#

Bases: ActionSpaceBase

The agent can act along each subspace at once.

__init__(*spaces)[source]#
__new__(**kwargs)#
sample(theta=None)#
property action_meanings#
property rng#

Class ConcatenatedActionSpace

class ConcatenatedActionSpace[source]#

Bases: ActionSpaceBase

The agent can choose to perform one of the action at once.

__init__(*spaces)[source]#
__new__(**kwargs)#
sample(theta=None)#
property action_meanings#
property rng#

Class ContinuousActionSpace

class ContinuousActionSpace[source]#

Bases: ActionSpaceBase

__init__(low, high=None, shape=None, action_meanings=None)[source]#
__new__(**kwargs)#
sample(theta=None)#
property action_meanings#
property high#
property low#
property rng#
property shape#

Class DiscreteActionSpace

class DiscreteActionSpace[source]#

Bases: ActionSpaceBase

__init__(nr_actions, action_meanings=None)[source]#
__new__(**kwargs)#
sample(theta=None)#
property action_meanings#
property nr_actions#
property rng#