Skip to content

Commit 262371c

Browse files
committed
Version update to v0.3, interface clean-up:
- changed transition_model! to transition! - changed miss_distance! to distance! - simplified Walk1D example, added PDF write-up - runtests now runs Walk1D - simplified RNG seeding (ASTAction) - wrapped MCTS into MCTSASTSolver - encapsulated `ast_types.jl`
1 parent 9fa0dc6 commit 262371c

18 files changed

+3247
-347
lines changed

Project.toml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "POMDPStressTesting"
22
uuid = "6fc570d8-62cd-4d35-b113-bbf3c1b8276a"
33
authors = ["Robert Moss <[email protected]>"]
4-
version = "0.2.1"
4+
version = "0.3.0"
55

66
[deps]
77
D3Trees = "e3df1716-f71e-5df9-9e2d-98e193103c45"
@@ -20,4 +20,12 @@ Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
2020

2121
[compat]
2222
POMDPs = "0.9"
23-
julia = "1"
23+
julia = "1"
24+
25+
[extras]
26+
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
27+
Parameters = "d96e819e-fc66-5662-9728-84c9c7592b0a"
28+
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
29+
30+
[targets]
31+
test = ["Distributions", "Parameters", "Test"]

README.md

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ The interface includes:
88
* `Simulation` type to hold simulation variables
99
* `initialize!(sim::Simulation)` to initialize/reset the system under test
1010
* `evaluate!(sim::Simulation)` to evaluate/execute the system under test
11-
* `transition_model!(sim::Simulation)` to transition the simulator, returning the log-likelihood
12-
* `isevent!(sim::Simulation)` to indicate if a failure event occurred
13-
* `miss_distance!(sim::Simulation)` to return how close we are to an event
11+
* `transition!(sim::Simulation)` to transition the simulator, returning the log-likelihood
12+
* `distance!(sim::Simulation)` to return how close we are to an event
13+
* `isevent!(sim::Simulation)` to indicate if a failure event occurred
1414
* `isterminal!(sim::Simulation)` to indicate the simulation is in a terminal state
1515

1616
All of these functions can modify the `Simulation` object in place.
@@ -20,5 +20,16 @@ All of these functions can modify the `Simulation` object in place.
2020

2121
See example implementation of the AST interface for the Walk1D problem: [`test/Walk1D.jl`](https://github.com/mossr/POMDPStressTesting.jl/blob/master/test/Walk1D.jl).
2222

23-
With an accompanying notebook: [`Walk1D.ipynb`](https://github.com/mossr/POMDPStressTesting.jl/blob/master/notebooks/Walk1D.ipynb)
23+
With an accompanying descriptive write-up: [`walk1d.pdf`](./test/pdf/walk1d.pdf)
2424

25+
<!-- (https://github.com/mossr/POMDPStressTesting.jl/blob/master/test/walk1d.pdf) -->
26+
27+
<kbd>
28+
<p align="center">
29+
<a href="./test/pdf/walk1d.pdf">
30+
<img src="./test/svg/walk1d.svg">
31+
</a>
32+
</p>
33+
</kbd>
34+
35+
<!-- With an accompanying notebook: [`Walk1D.ipynb`](https://github.com/mossr/POMDPStressTesting.jl/blob/master/notebooks/Walk1D.ipynb) -->

0 commit comments

Comments
 (0)