object Gym extends StaticModule with GymMaker
open ai gym module, refer to https://github.com/openai/gym/blob/master/gym/init.py
- Annotations
- @native()
- Alphabetic
- By Inheritance
- Gym
- GymMaker
- StaticModule
- Module
- Dynamic
- AnyDynamics
- Dynamic
- Any
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
%(that: Any): Dynamic
- Definition Classes
- AnyDynamics
-
def
*(that: Any): Dynamic
- Definition Classes
- AnyDynamics
-
def
+(that: Any): Dynamic
- Definition Classes
- AnyDynamics
-
def
-(that: Any): Dynamic
- Definition Classes
- AnyDynamics
-
def
/(that: Any): Dynamic
- Definition Classes
- AnyDynamics
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
apply(params: Any*): Dynamic
- Definition Classes
- AnyDynamics
-
def
applyDynamic(method: String)(params: Any*): Dynamic
- Definition Classes
- AnyDynamics
-
def
applyDynamicNamed(method: String)(params: (String, Any)*): Dynamic
- Definition Classes
- AnyDynamics
-
def
applyNamed(params: (String, Any)*): Dynamic
- Definition Classes
- AnyDynamics
-
final
def
as[T](implicit arg0: Reader[T]): T
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
attrDelete(name: String): Unit
- Definition Classes
- AnyDynamics
-
def
bracketAccess(key: Any): Dynamic
- Definition Classes
- AnyDynamics
-
def
bracketDelete(key: Any): Unit
- Definition Classes
- AnyDynamics
-
def
bracketUpdate(key: Any, newValue: Any): Unit
- Definition Classes
- AnyDynamics
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
del(): Unit
- Definition Classes
- Any
- def envs: Dynamic
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(obj: Any): Boolean
- Definition Classes
- Any → AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- Any → AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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
-
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
-
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
-
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
selectDynamic(term: String): Dynamic
- Definition Classes
- AnyDynamics
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- Any → AnyRef → Any
-
def
unary_+(): Dynamic
- Definition Classes
- AnyDynamics
-
def
unary_-(): Dynamic
- Definition Classes
- AnyDynamics
-
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
-
def
updateDynamic(name: String)(newValue: Any): Unit
- Definition Classes
- AnyDynamics
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated