Packages

object Gym extends StaticModule with GymMaker

open ai gym module, refer to https://github.com/openai/gym/blob/master/gym/init.py

Annotations
@native()
Linear Supertypes
GymMaker, StaticModule, Module, Dynamic, AnyDynamics, Dynamic, Any, AnyRawValue, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Gym
  2. GymMaker
  3. StaticModule
  4. Module
  5. Dynamic
  6. AnyDynamics
  7. Dynamic
  8. Any
  9. AnyRawValue
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type E[A, O, AS[a] <: Space[a], OS[o] <: Space[o]] = Env[A, O, AS, OS]

    define the environment kind, e.g.

    define the environment kind, e.g. Env or Wrapper are both admissible. No other env are currently supported

    Definition Classes
    GymGymMaker

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def %(that: Any): Dynamic
    Definition Classes
    AnyDynamics
  4. def *(that: Any): Dynamic
    Definition Classes
    AnyDynamics
  5. def +(that: Any): Dynamic
    Definition Classes
    AnyDynamics
  6. def -(that: Any): Dynamic
    Definition Classes
    AnyDynamics
  7. def /(that: Any): Dynamic
    Definition Classes
    AnyDynamics
  8. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def apply(params: Any*): Dynamic
    Definition Classes
    AnyDynamics
  10. def applyDynamic(method: String)(params: Any*): Dynamic
    Definition Classes
    AnyDynamics
  11. def applyDynamicNamed(method: String)(params: (String, Any)*): Dynamic
    Definition Classes
    AnyDynamics
  12. def applyNamed(params: (String, Any)*): Dynamic
    Definition Classes
    AnyDynamics
  13. final def as[T](implicit arg0: Reader[T]): T
    Definition Classes
    Any
  14. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  15. def attrDelete(name: String): Unit
    Definition Classes
    AnyDynamics
  16. def bracketAccess(key: Any): Dynamic
    Definition Classes
    AnyDynamics
  17. def bracketDelete(key: Any): Unit
    Definition Classes
    AnyDynamics
  18. def bracketUpdate(key: Any, newValue: Any): Unit
    Definition Classes
    AnyDynamics
  19. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  20. final def del(): Unit
    Definition Classes
    Any
  21. def envs: Dynamic
  22. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. def equals(obj: Any): Boolean
    Definition Classes
    Any → AnyRef → Any
  24. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. def hashCode(): Int
    Definition Classes
    Any → AnyRef → Any
  26. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  27. def make[A, O, AS[a] <: Space[a], OS[o] <: Space[o]](name: String)(implicit obs: Reader[O], actionSpace: Reader[AS[A]], observationSpace: Reader[OS[O]]): Env[A, O, AS, OS]

    build an environment as gym.make(...) does, but typed.

    build an environment as gym.make(...) does, but typed.

    A

    the type of admissible action for this environment, e.g. Int, py.Any, ...

    O

    the type of admissible observation for this environment, e.g. Int, py.Any, ...

    AS

    the type of the space associate to actions, e.g. Space, Box, Dict, Tuple, ..

    OS

    the type of the space associate to actions, e.g. Space, Box, Dict, Tuple, ..

    name

    the name of the environment selected

    obs

    type class needed to get the underlying python value

    actionSpace

    type class needed to get the underlying python value

    observationSpace

    type class needed to get the underlying python value

    returns

    an instance of E

    Definition Classes
    GymGymMaker
  28. def makeGenericEnv[A, O, AS[a] <: Space[a], OS[o] <: Space[o], GE[_, _, _[a] <: Space[a], _[o] <: Space[o]]](name: String)(implicit obs: Reader[O], actionSpace: Reader[AS[A]], observationSpace: Reader[OS[O]], env: Reader[GE[A, O, AS, OS]], eq: <:<[GE[A, O, AS, OS], E[A, O, AS, OS]]): GE[A, O, AS, OS]

    build an environment as gym.make(...) does, but typed.

    build an environment as gym.make(...) does, but typed.

    A

    the type of admissible action for this environment, e.g. Int, py.Any, ...

    O

    the type of admissible observation for this environment, e.g. Int, py.Any, ...

    AS

    the type of the space associate to actions, e.g. Space, Box, Dict, Tuple, ..

    OS

    the type of the space associate to actions, e.g. Space, Box, Dict, Tuple, ..

    GE

    the type of environment selected

    name

    the name of the environment selected

    obs

    type class needed to get the underlying python value

    actionSpace

    type class needed to get the underlying python value

    observationSpace

    type class needed to get the underlying python value

    env

    type class needed to get the underlying python value

    eq

    verify the constraint GE <:< E

    returns

    an instance of GE

    Definition Classes
    GymMaker
  29. def makeGenericSpaces[AS[_A] <: Space[_A], OS[_O] <: Space[_O]](name: String)(implicit actionSpace: Reader[AS[Dynamic]], observationSpace: Reader[OS[Dynamic]]): E[Dynamic, Dynamic, AS, OS]

    build an environment as gym.make(...) does, but partially typed.

    build an environment as gym.make(...) does, but partially typed. Actions and observations are considered python value. Action space instead, are accessed type safely.

    AS

    the type of the space associate to actions, e.g. Space, Box, Dict, Tuple, ..

    OS

    the type of the space associate to actions, e.g. Space, Box, Dict, Tuple, ..

    name

    the name of the environment selected

    actionSpace

    type class needed to get the underlying python value

    observationSpace

    type class needed to get the underlying python value

    returns

    an instance of E

    Definition Classes
    GymMaker
  30. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  31. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  32. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  33. def selectDynamic(term: String): Dynamic
    Definition Classes
    AnyDynamics
  34. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  35. def toString(): String
    Definition Classes
    Any → AnyRef → Any
  36. def unary_+(): Dynamic
    Definition Classes
    AnyDynamics
  37. def unary_-(): Dynamic
    Definition Classes
    AnyDynamics
  38. def unsafe(name: String): E[Dynamic, Dynamic, Space, Space]

    build an environment as gym.make(...) does, but partially typed.

    build an environment as gym.make(...) does, but partially typed. Actions and observations are considered python value. Action space instead, are accessed type safely.

    name

    the name of the environment selected

    returns

    an instance of E

    Definition Classes
    GymMaker
  39. def updateDynamic(name: String)(newValue: Any): Unit
    Definition Classes
    AnyDynamics
  40. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  42. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

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

Inherited from GymMaker

Inherited from StaticModule

Inherited from Module

Inherited from Dynamic

Inherited from AnyDynamics

Inherited from Dynamic

Inherited from Any

Inherited from AnyRawValue

Inherited from AnyRef

Inherited from Any

Ungrouped