case class Moment[Obs, A, R, M[_]](policy: Policy[Obs, A, R, M, M], state: State[Obs, A, R, M]) extends Product with Serializable
Wrapper around a combination of state and policy. A moment in time. this wraps up a common thing that we interact with...
- Source
- Episode.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Moment
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
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 act(a: A)(implicit M: Functor[M]): M[(Moment[Obs, A, R, M], SARS[Obs, A, R, M])]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def choice: M[A]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
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()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
play(implicit M: Monad[M]): M[(Moment[Obs, A, R, M], SARS[Obs, A, R, M])]
Play a single round of a game.
Play a single round of a game. Returns M of:
- pair of (the new policy that's learned, the new state you end up in)
- triple of (state you came from, action you took, reward you received).
- val policy: Policy[Obs, A, R, M, M]
- val state: State[Obs, A, R, M]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
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()
edit this text on github
ScalaRL
This is the API documentation for the ScalaRL functional reinforcement learning library.
Further documentation for ScalaRL can be found at the documentation site.
Check out the ScalaRL package list for all the goods.