forked from p7px8vou9/AI_learning
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
485 B
26 lines
485 B
class: "PrioritizedSweepingValueIterationTest"
|
|
|
|
# GridWorld specification
|
|
# _ is empty space
|
|
# numbers are terminal states with that value
|
|
# # is a wall
|
|
# S is a start state
|
|
#
|
|
grid: """
|
|
_ _ _ _ _
|
|
_ # _ _ _
|
|
_ # 1 # 10
|
|
S _ _ _ _
|
|
-10 -10 -10 -10 -10
|
|
"""
|
|
discount: "0.9"
|
|
noise: "0.2"
|
|
livingReward: "0.0"
|
|
epsilon: "0.2"
|
|
learningRate: "0.1"
|
|
numExperiences: "3000"
|
|
valueIterations: "1000"
|
|
iterations: "10000"
|
|
|
|
|