Skip to content

Instantly share code, notes, and snippets.

Louis Dressel dressel

Block or report user

Report or block dressel

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@dressel
dressel / discrete.jl
Created Dec 17, 2017
New implementation of discrete belief
View discrete.jl
# Goals: minimize calls to ordered_states (allocates memory)
# needs pomdp for state_index in pdf(b, s)
# needs list of ordered_states for rand(b)
mutable struct DiscreteBelief{P<:POMDP, S}
pomdp::P
state_list::Vector{S} # vector of ordered states
b::vector{Float64}
end
You can’t perform that action at this time.