Package jline.api.rl
Object RlTDAgent.Companion
-
- All Implemented Interfaces:
public class RlTDAgent.Companion
-
-
Field Summary
Fields Modifier and Type Field Description public final static RlTDAgent.Companion
INSTANCE
-
Method Summary
Modifier and Type Method Description final DoubleArray
createGreedyPolicy(DoubleArray stateQ, Double epsilon, Integer nA)
Create epsilon-greedy policy final IntArray
getStateFromLoc(IntArray objSize, IntArray loc)
Convert location to state index -
-
Method Detail
-
createGreedyPolicy
final DoubleArray createGreedyPolicy(DoubleArray stateQ, Double epsilon, Integer nA)
Create epsilon-greedy policy
-
getStateFromLoc
final IntArray getStateFromLoc(IntArray objSize, IntArray loc)
Convert location to state index
-
-
-
-