Skip to content

Commit

Permalink
switched to using POMDPTools (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
zsunberg authored Jul 25, 2022
1 parent 249f71a commit 831c7a4
Show file tree
Hide file tree
Showing 11 changed files with 32 additions and 1,314 deletions.
14 changes: 9 additions & 5 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
name = "POMDPSimulators"
uuid = "e0d0a172-29c6-5d4e-96d0-f262df5d01fd"
version = "0.3.13"
version = "0.3.14"

[deps]
BeliefUpdaters = "8bb6e9a1-7d73-552c-a44a-e5dc5634aac4"
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
Distributed = "8ba89e20-285c-5b6f-9357-94700520ee1b"
NamedTupleTools = "d9ec5142-1e00-5aa0-9d6a-321866360f50"
POMDPLinter = "f3bd98c0-eb40-45e2-9eb1-f2763262d755"
POMDPModelTools = "08074719-1b2a-587c-a292-00f91cc44415"
POMDPPolicies = "182e52fb-cfd0-5e46-8c26-fd0667c990f4"
POMDPTools = "7588e00f-9cae-40de-98dc-e0c70c48cdd7"
POMDPs = "a93abf59-7444-517b-a68a-c42f96afdd7d"
ProgressMeter = "92933f4c-e287-5a05-a399-4b506db050ca"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
Reexport = "189a3867-3050-52da-a836-e630ba90ab69"

[compat]
BeliefUpdaters = "0.1, 0.2"
Expand All @@ -21,14 +20,19 @@ NamedTupleTools = "0.13"
POMDPLinter = "0.1"
POMDPModelTools = "0.3"
POMDPPolicies = "0.2, 0.3, 0.4"
POMDPTools = "0.1"
POMDPs = "0.9"
ProgressMeter = "1"
Reexport = "1"
julia = "1"

[extras]
BeliefUpdaters = "8bb6e9a1-7d73-552c-a44a-e5dc5634aac4"
POMDPModelTools = "08074719-1b2a-587c-a292-00f91cc44415"
POMDPPolicies = "182e52fb-cfd0-5e46-8c26-fd0667c990f4"
POMDPModels = "355abbd5-f08e-5560-ac9e-8b5f2592a0ca"
QuickPOMDPs = "8af83fb2-a731-493c-9049-9e19dbce6165"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["Test", "POMDPModels", "QuickPOMDPs"]
test = ["Test", "POMDPModels", "QuickPOMDPs", "BeliefUpdaters", "POMDPModelTools", "POMDPPolicies"]
19 changes: 2 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,3 @@
# POMDPSimulators.jl
# ~~POMDPSimulators.jl~~

[![Build Status](https://travis-ci.org/JuliaPOMDP/POMDPSimulators.jl.svg?branch=master)](https://travis-ci.org/JuliaPOMDP/POMDPSimulators.jl)
[![Coverage Status](https://coveralls.io/repos/github/JuliaPOMDP/POMDPSimulators.jl/badge.svg?branch=master)](https://coveralls.io/github/JuliaPOMDP/POMDPSimulators.jl?branch=master)

[![](https://img.shields.io/badge/docs-stable-blue.svg)](https://juliapomdp.github.io/POMDPSimulators.jl/stable)
[![](https://img.shields.io/badge/docs-latest-blue.svg)](https://juliapomdp.github.io/POMDPSimulators.jl/latest)

This package contains several simulators for POMDPs.jl. Please see the documentation: https://juliapomdp.github.io/POMDPSimulators.jl/latest

To decide which simulator to use, see [Which simulator should I use?](https://juliapomdp.github.io/POMDPSimulators.jl/latest/which/)

## Installation

```julia
import Pkg
Pkg.add("POMDPSimulators")
```
POMDPSimulators is deprecated and functionality has been moved to [POMDPTools](https://github.com/JuliaPOMDP/POMDPs.jl/tree/master/lib/POMDPTools). Please use that instead.
62 changes: 8 additions & 54 deletions src/POMDPSimulators.jl
Original file line number Diff line number Diff line change
@@ -1,62 +1,16 @@
module POMDPSimulators

using POMDPs
using Random
using ProgressMeter
using DataFrames
using POMDPPolicies
using POMDPModelTools
using BeliefUpdaters
using Distributed
using NamedTupleTools
import POMDPLinter: @POMDP_require, @req, @subreq, implemented
Base.depwarn("""
POMDPSimulators has been deprecated and functionality has been moved to POMDPTools.
import POMDPs: simulate, discount
Please replace `using POMDPSimulators` with `using POMDPTools`.
""", :POMDPSimulators)

export RolloutSimulator
include("rollout.jl")
using Reexport

export
SimHistory,
AbstractSimHistory,
HistoryIterator,
eachstep,
state_hist,
action_hist,
observation_hist,
belief_hist,
reward_hist,
info_hist,
ainfo_hist,
uinfo_hist,
exception,
backtrace,
undiscounted_reward,
discounted_reward,
n_steps,
step_tuple
include("history.jl")
@reexport using POMDPTools.Simulators

export sim
include("sim.jl")

export HistoryRecorder
include("history_recorder.jl")

export
StepSimulator,
stepthrough
include("stepthrough.jl")

export
Sim,
run,
run_parallel,
problem
include("parallel.jl")

export
DisplaySimulator
include("display.jl")
import POMDPTools
default_spec = POMDPTools.Simulators.default_spec

end # module
115 changes: 0 additions & 115 deletions src/display.jl

This file was deleted.

146 changes: 0 additions & 146 deletions src/history.jl

This file was deleted.

Loading

2 comments on commit 831c7a4

@zsunberg
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/64892

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.3.14 -m "<description of version>" 831c7a46a5dd88e5f803409eca11132f129364cc
git push origin v0.3.14

Please sign in to comment.