rlmesh.types.SpaceLikeclassfrom rlmesh.types import SpaceLike[source]Structural protocol for RLMesh-compatible spaces.Methodssample()Return one valid sample from the space.contains()Return whether value belongs to the space.seed()Seed the space sampler.samplefunction[source]sample() -> SpaceTReturn one valid sample from the space.containsfunction[source]contains(value: Any, /) -> boolReturn whether value belongs to the space.seedfunction[source]seed(seed: int | None = None) -> int | list[int] | dict[str, int] | NoneSeed the space sampler.See alsorlmesh.types moduleSpaces and ValuesGymnasium Space Support