Packages

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()
Linear Supertypes
Env[A, O, AS, OS], PythonInternals, Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Wrapper
  2. Env
  3. PythonInternals
  4. Object
  5. Any
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. 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
  5. final def as[T](implicit arg0: Reader[T]): T
    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  8. 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
  9. final def del(): Unit
    Definition Classes
    Any
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(obj: Any): Boolean
    Definition Classes
    Any → AnyRef → Any
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. def hashCode(): Int
    Definition Classes
    Any → AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. lazy val me: Dynamic
    Attributes
    protected[this]
    Definition Classes
    PythonInternals
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. 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
  20. def render(mode: |[String, StandardRenderMode] = "human"): Any
    Definition Classes
    Env
    Annotations
    @SuppressWarnings()
  21. 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
  22. def rewardRange: (Double, Double)

    python name: reward_range

    python name: reward_range

    returns

    the admissible reward range

    Definition Classes
    Env
  23. def seed(seed: |[Int, Option[Int]] = None): Any
    Definition Classes
    Env
    Annotations
    @SuppressWarnings()
  24. 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
  25. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    Any → AnyRef → Any
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Env[A, O, AS, OS]

Inherited from PythonInternals

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped