trait Wrapper[A, O, AS[a] <: Space[a], OS[o] <: Space[o], W <: Env[A, O, AS, OS]] extends Env[A, O, AS, OS]
From https://github.com/openai/gym/blob/master/gym/core.py
- Annotations
- @native()
- Alphabetic
- By Inheritance
- Wrapper
- Env
- PythonInternals
- Object
- Any
- AnyRawValue
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def actionSpace(implicit reader: Reader[AS[A]]): AS[A]
python name: action_space
python name: action_space
- reader
type class needed to get the underlying python value
- returns
the open ai action space
- Definition Classes
- Env
- final def as[T](implicit arg0: Reader[T]): T
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def close(): Unit
refer to https://github.com/openai/gym/blob/master/gym/core.py
refer to https://github.com/openai/gym/blob/master/gym/core.py
- Definition Classes
- Env
- final def del(): Unit
- Definition Classes
- Any
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(obj: Any): Boolean
- Definition Classes
- Any → AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- Any → AnyRef → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def observationSpace(implicit reader: Reader[OS[O]]): OS[O]
python name: observation_space
python name: observation_space
- reader
type class needed to get the underlying python value
- returns
the open ai observation space
- Definition Classes
- Env
- lazy val pyThis: Dynamic
- Attributes
- protected[this]
- Definition Classes
- PythonInternals
- def render(mode: |[String, StandardRenderMode] = "human"): Any
- Definition Classes
- Env
- Annotations
- @SuppressWarnings()
- def reset()(implicit obs: Reader[O]): O
- obs
type class needed to convert the scala value to the python value
- returns
refer to https://github.com/openai/gym/blob/master/gym/core.py
- Definition Classes
- Env
- def rewardRange: (Double, Double)
python name: reward_range
- def seed(seed: |[Int, Option[Int]] = None): Any
- Definition Classes
- Env
- Annotations
- @SuppressWarnings()
- def step(action: A)(implicit obs: Reader[O], wr: Writer[A]): StepResponse[O]
- action
refer to https://github.com/openai/gym/blob/master/gym/core.py
- obs
type class needed to get the underlying python value
- wr
type class needed to convert the scala value to the python value
- returns
a tuple with (observation, reward, done, info)
- Definition Classes
- Env
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- Any → AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated