coopihc.base.Space.BaseSpace
- class BaseSpace(seed=None, contains='numpy')[source]
Bases:
object
Base space from which other spaces inherit.
- Parameters
seed (int, optional) – seed used by the rng, defaults to None
dtype (numpy.dtype, optional) – dtype to which the space will be coerced, defaults to None. If None, the dtype is inferred from the supplied data.
contains (str, optional) – how the Python
in
keyword is evaluated, defaults to “numpy”. If “numpy”, a value is considered in the space according to numpy’sin
Methods
Attributes
spacetype