|
76 | 76 | # IMDP target #
|
77 | 77 | ###############
|
78 | 78 | """
|
79 |
| - abstraction(prob::AbstractionProblem, state_abstraction::StateUniformGridSplit, input_abstraction::InputAbstraction, target_model::AbstractIMDPTarget) |
| 79 | + abstraction(prob, state_abstraction::StateUniformGridSplit, input_abstraction, target_model::AbstractIMDPTarget) |
80 | 80 |
|
81 |
| -Abstract function for creating an abstraction of a system with additive noise with an IMDP as the target model. |
| 81 | +Construct an abstraction of a system and a specification under a uniform grid partitioning of the state space with an arbitrary input abstraction |
| 82 | +and an IMDP as the target model. |
| 83 | +
|
| 84 | +The argument `prob` contains both the system and the specification. The type of the system determines how the transition probability bounds are computed. |
| 85 | +The resulting IMDP has `numregions(state_abstraction) + 1` states, where the last state is an absorbing state, representing transitioning to outside |
| 86 | +the partitioned region. This absorbing state is implicitly encoded in the ambiguity sets, i.e. not stored and automatically handled by `IntervalMDP.jl`. |
| 87 | +
|
| 88 | +The specification is converted based on the `state_abstraction` and `target_model` arguments in addition to whether the specification is pessimistic or optimistic. |
| 89 | +To encode the specification, at least one avoid state is required, i.e. the last, absorbing state. As a consequence, (concrete) reachability specifications are |
| 90 | +converted to (abstract) reach-avoid specifications with the last state as the avoid state. |
| 91 | +
|
| 92 | +Returns `mdp` and `spec` as the abstracted IMDP and the converted specification, respectively. |
82 | 93 | """
|
83 | 94 | function abstraction(
|
84 | 95 | prob::AbstractionProblem,
|
|
218 | 229 | # Orthogonal IMDP target #
|
219 | 230 | ##########################
|
220 | 231 | """
|
221 |
| - abstraction(prob::AbstractionProblem, state_abstraction::StateUniformGridSplit, input_abstraction::InputAbstraction, target_model::AbstractOrthogonalIMDPTarget) |
| 232 | + abstraction(prob, state_abstraction::StateUniformGridSplit, input_abstraction, target_model::AbstractOrthogonalIMDPTarget) |
| 233 | +
|
| 234 | +Construct an abstraction of a system and a specification under a uniform grid partitioning of the state space with an arbitrary input abstraction |
| 235 | +and an orthogonal IMDP as the target model. |
| 236 | +
|
| 237 | +The argument `prob` contains both the system and the specification. The type of the system determines how the *marginal* transition probability bounds are computed. |
| 238 | +The resulting *orthogonal* IMDP has `IntervalMDPAbstractions.splits(state_abstraction) .+ 1` states along each axis, |
| 239 | +where the last state along each axis is an absorbing state, representing transitioning to outside the partitioned region. |
| 240 | +This absorbing state for each axis is implicitly encoded in the ambiguity sets, i.e. not stored and automatically handled by `IntervalMDP.jl`. |
222 | 241 |
|
223 |
| -Abstract function for creating an abstraction of a system with additive noise with a decoupled IMDP as the target model. |
| 242 | +The specification is converted based on the `state_abstraction` and `target_model` arguments in addition to whether the specification is pessimistic or optimistic. |
| 243 | +To encode the specification, at least one avoid state is required, i.e. the last, absorbing state. As a consequence, (concrete) reachability specifications are |
| 244 | +converted to (abstract) reach-avoid specifications with the last state as the avoid state. |
| 245 | +
|
| 246 | +Returns `mdp` and `spec` as the abstracted IMDP and the converted specification, respectively. |
224 | 247 | """
|
225 | 248 | function abstraction(
|
226 | 249 | prob::AbstractionProblem,
|
|
411 | 434 | # Mixture IMDP target #
|
412 | 435 | #######################
|
413 | 436 | """
|
414 |
| - abstraction(prob::AbstractionProblem, state_abstraction::StateUniformGridSplit, input_abstraction::InputAbstraction, target_model::AbstractMixtureIMDPTarget) |
| 437 | + abstraction(prob, state_abstraction::StateUniformGridSplit, input_abstraction, target_model::AbstractMixtureIMDPTarget) |
| 438 | +
|
| 439 | +Construct an abstraction of a system and a specification under a uniform grid partitioning of the state space with an arbitrary input abstraction |
| 440 | +and a mixture of orthogonal IMDPs as the target model. |
| 441 | +
|
| 442 | +The argument `prob` contains both the system and the specification. The type of the system determines how the *marginal mixture* transition probability bounds are computed. |
| 443 | +The resulting *mixture* IMDP has `IntervalMDPAbstractions.splits(state_abstraction) .+ 1` states along each axis, |
| 444 | +where the last state along each axis is an absorbing state, representing transitioning to outside the partitioned region. |
| 445 | +This absorbing state for each axis is implicitly encoded in the ambiguity sets, i.e. not stored and automatically handled by `IntervalMDP.jl`. |
| 446 | +
|
| 447 | +The specification is converted based on the `state_abstraction` and `target_model` arguments in addition to whether the specification is pessimistic or optimistic. |
| 448 | +To encode the specification, at least one avoid state is required, i.e. the last, absorbing state. As a consequence, (concrete) reachability specifications are |
| 449 | +converted to (abstract) reach-avoid specifications with the last state as the avoid state. |
415 | 450 |
|
416 |
| -Abstract function for creating an abstraction of a system with a mixture of orthogonal IMDPs as the target model. |
| 451 | +Returns `mdp` and `spec` as the abstracted IMDP and the converted specification, respectively. |
417 | 452 | """
|
418 | 453 | function abstraction(
|
419 | 454 | prob::AbstractionProblem,
|
|
0 commit comments