Skip to content

Commit

Permalink
small modification to profiling
Browse files Browse the repository at this point in the history
  • Loading branch information
zsunberg committed Jan 19, 2025
1 parent 6d9c943 commit bf278c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions profile/pomcp.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using POMDPs, POMDPModels, BasicPOMCP, ParticleFilters, ProfileView
using POMDPs, POMDPModels, BasicPOMCP, ParticleFilters

m = TigerPOMDP()
solver = POMCPSolver(tree_queries=10_000, c=100.0)
Expand All @@ -10,5 +10,5 @@ a = action(planner, b)

b = initialize_belief(pf, initialstate(m))
@profview for i in 1:100
action(planner, b)
action(planner, initialize_belief(pf, initialstate(m)))
end

0 comments on commit bf278c1

Please sign in to comment.