Class AMDP<N,​A,​V extends java.lang.Comparable<V>>

    • Constructor Detail

      • AMDP

        public AMDP​(N initState)
    • Method Detail

      • getInitState

        public N getInitState()
        Specified by:
        getInitState in interface IMDP<N,​A,​V extends java.lang.Comparable<V>>
      • getProb

        public double getProb​(N state,
                              A action,
                              N successor)
                       throws java.lang.InterruptedException
        Specified by:
        getProb in interface IMDP<N,​A,​V extends java.lang.Comparable<V>>
        Throws:
        java.lang.InterruptedException
      • isTerminalState

        public boolean isTerminalState​(N state)
                                throws java.lang.InterruptedException
        Specified by:
        isTerminalState in interface IMDP<N,​A,​V extends java.lang.Comparable<V>>
        Throws:
        java.lang.InterruptedException
      • getUniformlyRandomApplicableAction

        public A getUniformlyRandomApplicableAction​(N state,
                                                    java.util.Random random)
                                             throws java.lang.InterruptedException
        Specified by:
        getUniformlyRandomApplicableAction in interface IMDP<N,​A,​V extends java.lang.Comparable<V>>
        Throws:
        java.lang.InterruptedException
      • isActionApplicableInState

        public boolean isActionApplicableInState​(N state,
                                                 A action)
                                          throws java.lang.InterruptedException
        Specified by:
        isActionApplicableInState in interface IMDP<N,​A,​V extends java.lang.Comparable<V>>
        Throws:
        java.lang.InterruptedException