JuliaPOMDP / SARSOP.jl

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

Alpha Vector Policy Error #39

Closed zsunberg closed 4 years ago

zsunberg commented 4 years ago
p = solve(SARSOPSolver(), BabyPOMDP())

currently produces the error

ERROR: MethodError: no method matching POMDPPolicies.AlphaVectorPolicy(::BabyPOMDP, ::Int64, ::Array{Array{Float64,1},1}, ::BitArray{1})
Closest candidates are:
  POMDPPolicies.AlphaVectorPolicy(::P, ::Int64, ::Array{Array{Float64,1},1}, ::Array{A,1}) where {P<:POMDP, A} at /home/zach/.julia/packages/POMDPPolicies/tAWHg/src/alpha_vector.jl:23
  POMDPPolicies.AlphaVectorPolicy(::POMDP, ::Array{Float64,2}, ::Any) at /home/zach/.julia/packages/POMDPPolicies/tAWHg/src/alpha_vector.jl:36
  POMDPPolicies.AlphaVectorPolicy(::POMDP, ::AbstractArray{T,1} where T, ::Any) at /home/zach/.julia/packages/POMDPPolicies/tAWHg/src/alpha_vector.jl:31
  ...
Stacktrace:
 [1] POMDPPolicies.AlphaVectorPolicy(::BabyPOMDP, ::Array{Float64,2}, ::BitArray{1}) at /home/zach/.julia/packages/POMDPPolicies/tAWHg/src/alpha_vector.jl:42
 [2] #solve#5(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::typeof(solve), ::SARSOPSolver, ::BabyPOMDP) at /home/zach/.julia/dev/SARSOP/src/solver.jl:75
 [3] solve(::SARSOPSolver, ::BabyPOMDP) at /home/zach/.julia/dev/SARSOP/src/solver.jl:61
 [4] top-level scope at REPL[4]:1

I am investigating

zsunberg commented 4 years ago

need to update compatibilit