You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The function state_from_index is implemented in states.jl. However, if we are following the conventions of the Julia iteration interface, we should extend Base.getindex.
Recommended functions to implement:
Base.getindex(pomdp::TagPOMDP, si::Int) to replace state_from_index
The function
state_from_index
is implemented instates.jl
. However, if we are following the conventions of the Julia iteration interface, we should extendBase.getindex
.Recommended functions to implement:
Base.getindex(pomdp::TagPOMDP, si::Int)
to replacestate_from_index
Base.getindex(pomdp::TagPOMDP, si_range::UnitRange{Int})
Base.firstidex(pomdp::TagPOMDP)
Base.lastindex(pomdp::TagPOMDP)
The text was updated successfully, but these errors were encountered: