Data formats

PRISM

IntervalMDP.Data.write_prism_fileFunction
write_prism_file(path_without_file_ending, problem)

Write the files required by PRISM explicit engine/format to

  • path_without_file_ending.sta (states),
  • path_without_file_ending.lab (labels),
  • path_without_file_ending.tra (transitions), and
  • path_without_file_ending.pctl (properties).

If the specification is a reward optimization problem, then a state rewards file .srew is also written.

See Data storage formats for more information on the file format.

source

bmdp-tool

IntervalMDP.Data.read_bmdp_tool_fileFunction
read_bmdp_tool_file(path)

Read a bmdp-tool transition probability file and return an IntervalMarkovDecisionProcess and a list of terminal states. From the file format, it is not clear if the desired reachability verification if the reachability specification is finite or infinite horizon, the satisfaction_mode is pessimistic or optimistic, or if the actions should minimize or maximize the probability of reachability.

See Data storage formats for more information on the file format.

source
IntervalMDP.Data.write_bmdp_tool_fileFunction
write_bmdp_tool_file(path, problem::Problem)

Write a bmdp-tool transition probability file for the given an IMDP and a reachability specification. The file will not contain enough information to specify a reachability specification. The remaining parameters are rather command line arguments.

See Data storage formats for more information on the file format.

source
write_bmdp_tool_file(path, mdp::IntervalMarkovProcess, spec::Specification)
source
write_bmdp_tool_file(path, mdp::IntervalMarkovProcess, prop::AbstractReachability)
source
write_bmdp_tool_file(path, mdp::IntervalMarkovProcess, terminal_states::Vector{T})
source
write_bmdp_tool_file(path, mdp::IntervalMarkovDecisionProcess, terminal_states::Vector{<:CartesianIndex})
source

IntervalMDP.jl