From 1b51195a3dfe65b754e65fdf9384b26150d8c21d Mon Sep 17 00:00:00 2001 From: Xuan Date: Tue, 10 Sep 2024 17:10:29 -0400 Subject: [PATCH] Avoid test instability with RTDP. --- test/planners.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/planners.jl b/test/planners.jl index fa14758..42a7d78 100644 --- a/test/planners.jl +++ b/test/planners.jl @@ -432,7 +432,7 @@ actions, trajectory = simulator(sol, doors_keys_gems, dkg_state, dkg_spec) "(up)", "(up)", "(pickup gem1)") @test get_value(sol, dkg_state) == -9.0 -planner = RTDP(heuristic=LMCut(), rollout_noise=1.0, n_rollouts=10) +planner = RTDP(heuristic=HAdd(), rollout_noise=1.0, n_rollouts=10) sol = planner(blocksworld, bw_state, bw_spec) actions, trajectory = simulator(sol, blocksworld, bw_state, bw_spec) @test is_goal(bw_spec, blocksworld, trajectory[end])