object Chapter3
- Source
 - Chapter3.scala
 
          
            Linear Supertypes
          
          
        
          
          
            
          
          
        
        
            Ordering
            
          - Alphabetic
 - By Inheritance
 
                  Inherited
                  
                  
- Chapter3
 - 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
 
 -  val allowedIterations: Long
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        asInstanceOf[T0]: T0
      
      
      
- Definition Classes
 - Any
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        clone(): AnyRef
      
      
      
- Attributes
 - protected[lang]
 - Definition Classes
 - AnyRef
 - Annotations
 - @throws( ... ) @native()
 
 -  val emptyFn: StateValueFn[Position, DecayState[Double]]
 -  val epsilon: Double
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        eq(arg0: AnyRef): Boolean
      
      
      
- Definition Classes
 - AnyRef
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        equals(arg0: Any): Boolean
      
      
      
- Definition Classes
 - AnyRef → Any
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        finalize(): Unit
      
      
      
- Attributes
 - protected[lang]
 - Definition Classes
 - AnyRef
 - Annotations
 - @throws( classOf[java.lang.Throwable] )
 
 -  val gamma: Double
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        getClass(): Class[_]
      
      
      
- Definition Classes
 - AnyRef → Any
 - Annotations
 - @native()
 
 -  val gridConf: Config
 - 
      
      
      
        
      
    
      
        
        def
      
      
        hashCode(): Int
      
      
      
- Definition Classes
 - AnyRef → Any
 - Annotations
 - @native()
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        isInstanceOf[T0]: Boolean
      
      
      
- Definition Classes
 - Any
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        main(items: Array[String]): Unit
      
      
      
This currently works, and displays rough tables for each of the required bits.
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        ne(arg0: AnyRef): Boolean
      
      
      
- Definition Classes
 - AnyRef
 
 -  def notConverging(iterations: Long, allowed: Long): Boolean
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        notify(): Unit
      
      
      
- Definition Classes
 - AnyRef
 - Annotations
 - @native()
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        notifyAll(): Unit
      
      
      
- Definition Classes
 - AnyRef
 - Annotations
 - @native()
 
 -  def printFigure[T](conf: Config, pair: (StateValueFn[Position, T], Long), title: String)(implicit arg0: ToDouble[T]): Unit
 -  def shouldStop[Obs, T](l: StateValueFn[Obs, T], r: StateValueFn[Obs, T], iterations: Long)(implicit arg0: ToDouble[T]): Boolean
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        synchronized[T0](arg0: ⇒ T0): T0
      
      
      
- Definition Classes
 - AnyRef
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        threeFive: (StateValueFn[Position, DecayState[Double]], Long)
      
      
      
This is Figure 3.5.
This is Figure 3.5. This is currently working!
 - 
      
      
      
        
      
    
      
        
        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.
 - 
      
      
      
        
      
    
      
        
        def
      
      
        toString(): String
      
      
      
- Definition Classes
 - AnyRef → Any
 
 -  def toTable(conf: Config, f: (Position) ⇒ Double): Iterable[Iterable[Double]]
 - 
      
      
      
        
      
    
      
        
        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.
 - 
      
      
      
        
      
    
      
        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.