JuliaPOMDP / SARSOP.jl

Julia package that wraps the SARSOP software for solving POMDPs/MDPs
Other
14 stars 7 forks source link

Add a "silent" flag to the solve function. #14

Closed gondsm closed 7 years ago

gondsm commented 7 years ago

For solving issue #13, and allowing iterative tests to run without outputting thousands of lines to STDOUT, I've added a keyword argument silent to the solve() and POMDPFile() functions. It defaults to false, meaning that existing code should not be affected in any way.

Calling solve with silent=true

policy = POMDPs.solve(solver, pomdp, silent=true)

now produces no console output, while producing the intended results (model.pomdpx., policy, etc).

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-1.2%) to 66.667% when pulling 43d6ec82cf5dfb06a1265d54f4ef66da55c9f965 on gondsm:master into 587c6752912516198f6ce1bbd2cc6aa24b6dbaf2 on JuliaPOMDP:master.

mykelk commented 7 years ago

Thanks!

gondsm commented 7 years ago

You're welcome, hope it helps!