rlmesh::spaces::Discrete
The integers start .. start + n.
class Discrete : public SpaceConstructors
Static methods
Methods
Discrete
constructor[source]explicit Discrete(int64_t n, DiscreteOptions options = {})The integers start .. start + n.
Discrete
constructor[source]explicit Discrete(const SpaceSpec& spec)The integers start .. start + n.
create
static method[source]static Discrete create(int64_t n, DiscreteOptions options = {})The integers start .. start + n.
from_spec
static method[source]static Discrete from_spec(const SpaceSpec& spec)The integers start .. start + n.
n
method[source]int64_t n() conststart
method[source]int64_t start() const