Skip to content

DongYuYu/Decision-Process

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation



Instruction:

1.To Compile, simply run>> g++ dp.cpp

2.The following output will be gereated. Dataset used is decribed here:
{{-0.05, -0.05, -0.05, +1},
{-0.05, -0.05, -0.05, -0.05},
{-0.05, NULL,-0.05, -0.05},
{-1, -0.05,-0.05, +1}}

3.Policy:
.>>.
v.>^
>>>v
>>>.

from bottm left, we follow the trajectory {>,>,>} will reach the green dot.

converged value function:
-1       0.854416 0.923987 1 
0.663051 0        0.860346 0.923987 
0.730348 0.800217 0.864717 0.929536 
0.777563 0.850387 0.924337 1 

About

Implemented Policy and Value Iteration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages