This reference describes unreleased code on main; no release documents it yet.

rlmesh::spaces::Discrete

classExperimental#include <rlmesh.hpp>[source]

The integers start .. start + n.

class Discrete : public Space

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() const

start

method[source]
int64_t start() const