Packages

o

com.scalarl.book

Chapter3

object Chapter3

Source
Chapter3.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Chapter3
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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. val allowedIterations: Long
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. val emptyFn: StateValueFn[Position, DecayState[Double]]
  8. val epsilon: Double
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. val gamma: Double
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. val gridConf: Config
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def main(items: Array[String]): Unit

    This currently works, and displays rough tables for each of the required bits.

  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. def notConverging(iterations: Long, allowed: Long): Boolean
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. def printFigure[T](conf: Config, pair: (StateValueFn[Position, T], Long), title: String)(implicit arg0: ToDouble[T]): Unit
  23. def shouldStop[Obs, T](l: StateValueFn[Obs, T], r: StateValueFn[Obs, T], iterations: Long)(implicit arg0: ToDouble[T]): Boolean
  24. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  25. def threeFive: (StateValueFn[Position, DecayState[Double]], Long)

    This is Figure 3.5.

    This is Figure 3.5. This is currently working!

  26. def threeTwo: (StateValueFn[Position, DecayState[Double]], Long)

    This is Figure 3.2, with proper stopping conditions and everything.

    This is Figure 3.2, with proper stopping conditions and everything. Lots of work to go.

  27. def toString(): String
    Definition Classes
    AnyRef → Any
  28. def toTable(conf: Config, f: (Position) ⇒ Double): Iterable[Iterable[Double]]
  29. def valueFunctionConverged[Obs, T](l: StateValueFn[Obs, T], r: StateValueFn[Obs, T])(implicit arg0: ToDouble[T]): Boolean

    Note...

    Note... this version, following the python code, checks that the sum of all differences is less than epsilon. In the next chapter we use the max function instead here to get this working, to check that the maximum delta is less than epsilon.

  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped