Skip to content

Commit

Permalink
simplified test.
Browse files Browse the repository at this point in the history
  • Loading branch information
mhahsler committed Feb 23, 2022
1 parent 6037e3d commit d8c7c14
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/testthat/test-solve_POMDP.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ context("solve_POMDP")
data("Tiger")
sol <- solve_POMDP(Tiger)
expect_identical(nrow(sol$solution$pg[[1]]), 5L)
#plot_policy_graph(sol, belief = FALSE)
plot_policy_graph(sol, belief = 100)
plot_policy_graph(sol)

sol <- solve_POMDP(Tiger, horizon = 3, method = "incprune")
expect_identical(length(sol$solution$pg), 3L)
Expand Down

0 comments on commit d8c7c14

Please sign in to comment.