13template<
typename ValueType>
14std::shared_ptr<storm::dft::storage::DFT<ValueType>>
loadDFTGalileoFile(std::string
const& file) {
18template<
typename ValueType>
19std::shared_ptr<storm::dft::storage::DFT<ValueType>>
loadDFTJsonString(std::string
const& jsonString) {
23template<
typename ValueType>
24std::shared_ptr<storm::dft::storage::DFT<ValueType>>
loadDFTJsonFile(std::string
const& file) {
28template<
typename ValueType>
33template<
typename ValueType>
35 std::stringstream stream;
49 STORM_LOG_THROW(
false, storm::exceptions::NotSupportedException,
"Export to SMT does not support this data type.");
53template std::shared_ptr<storm::dft::storage::DFT<double>>
loadDFTGalileoFile(std::string
const&);
54template std::shared_ptr<storm::dft::storage::DFT<double>>
loadDFTJsonString(std::string
const&);
55template std::shared_ptr<storm::dft::storage::DFT<double>>
loadDFTJsonFile(std::string
const&);
59template std::shared_ptr<storm::dft::storage::DFT<storm::RationalFunction>>
loadDFTGalileoFile(std::string
const&);
60template std::shared_ptr<storm::dft::storage::DFT<storm::RationalFunction>>
loadDFTJsonString(std::string
const&);
61template std::shared_ptr<storm::dft::storage::DFT<storm::RationalFunction>>
loadDFTJsonFile(std::string
const&);
void toFile(std::string const &)
void convert()
Generate general variables and constraints for the DFT and store them in the corresponding maps and v...
static storm::dft::storage::DFT< ValueType > parseDFT(std::string const &filename)
Parse DFT in Galileo format and build DFT.
static storm::dft::storage::DFT< ValueType > parseJsonFromFile(std::string const &filename)
Parse DFT from JSON format given as file and build DFT.
static storm::dft::storage::DFT< ValueType > parseJsonFromString(std::string const &jsonString)
Parse DFT from JSON format given as a string and build DFT.
Represents a Dynamic Fault Tree.
static void toFile(storm::dft::storage::DFT< ValueType > const &dft, std::string const &filepath)
Export DFT to given file.
static void toStream(storm::dft::storage::DFT< ValueType > const &dft, std::ostream &os)
Export DFT to given stream.
#define STORM_LOG_THROW(cond, exception, message)
void exportDFTToJsonFile(storm::dft::storage::DFT< ValueType > const &dft, std::string const &file)
Export DFT to JSON file.
std::shared_ptr< storm::dft::storage::DFT< ValueType > > loadDFTGalileoFile(std::string const &file)
Load DFT from Galileo file.
std::string exportDFTToJsonString(storm::dft::storage::DFT< ValueType > const &dft)
Export DFT to JSON string.
std::shared_ptr< storm::dft::storage::DFT< ValueType > > loadDFTJsonFile(std::string const &file)
Load DFT from JSON file.
std::shared_ptr< storm::dft::storage::DFT< ValueType > > loadDFTJsonString(std::string const &jsonString)
Load DFT from JSON string.
void exportDFTToSMT(storm::dft::storage::DFT< double > const &dft, std::string const &file)