Commit 2a69c1eb authored by Amelie Royer's avatar Amelie Royer

Clean-up

parent 94358bb7
# Compiled Object files
*.slo
*.lo
*.o
*.obj
# Precompiled Headers
*.gch
*.pch
# Compiled Dynamic libraries
*.so
*.dylib
*.dll
# Fortran module files
*.mod
# Compiled Static libraries
*.lai
*.la
*.a
*.lib
# Executables
*.exe
*.out
*.app
*.pyc
Code/mainMEMDP
Code/mainMDP
Data/Mazes
Code/Outputs
Data/Foodmart
Data/Chicago Restaurant
*~
\ No newline at end of file
......@@ -587,10 +587,10 @@ double Mazemodel::getExpectedReward(size_t s1, size_t a, size_t s2) const {
// Step (slightly encourage the model to change case rather than changing orientation)
else if (!(get_rep(s2) == G && isGoal(s1))) {
if (is_connected(s1, s2) == 2) {
return -0.9;
} else {
return -1.;
}
return -0.95;
} else {
return -1.;
}
}
// Goal reached
else {
......
1 1 1 1
1 1 0 1
1 v 0 1
1 1 g 1
1 1 1 1
1 1 1 1
1 1 g 1
1 v 0 1
1 1 0 1
1 1 1 1
1 1 1 1 1 1
1 0 0 0 v 1
1 0 0 0 0 1
1 g 0 0 x 1
1 0 0 0 0 1
1 1 1 1 1 1
1 1 1 1 1 1
1 0 0 0 0 1
1 ^ 0 x 0 1
1 0 0 0 0 1
1 0 0 g 0 1
1 1 1 1 1 1
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment