Storm
1.14.0.1
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
export.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <optional>
4
5
#include "
storm/adapters/RationalFunctionAdapter.h
"
6
#include "
storm/exceptions/NotSupportedException.h
"
7
#include "
storm/utility/OptionalRef.h
"
8
#include "
storm/utility/macros.h
"
9
10
namespace
storm::analysis
{
11
template
<
typename
ValueType>
12
class
ConstraintCollector
;
13
}
14
15
namespace
storm::pars
{
16
namespace
api
{
17
template
<
typename
ValueType>
18
void
exportParametricResultToFile
(std::optional<ValueType>,
storm::OptionalRef
<
storm::analysis::ConstraintCollector<ValueType>
const
>
const
&,
19
std::string
const
&) {
20
STORM_LOG_THROW
(
false
, storm::exceptions::NotSupportedException,
"Cannot export non-parametric result."
);
21
}
22
23
template
<>
24
void
exportParametricResultToFile
(std::optional<storm::RationalFunction> result,
25
storm::OptionalRef
<
storm::analysis::ConstraintCollector<storm::RationalFunction>
const
>
const
& constraintCollector,
26
std::string
const
& path);
27
28
}
// namespace api
29
}
// namespace storm::pars
NotSupportedException.h
OptionalRef.h
RationalFunctionAdapter.h
storm::OptionalRef
Helper class that optionally holds a reference to an object of type T.
Definition
OptionalRef.h:48
storm::analysis::ConstraintCollector
Class to collect constraints on parametric Markov chains.
Definition
GraphConditions.h:34
macros.h
STORM_LOG_THROW
#define STORM_LOG_THROW(cond, exception, message)
Definition
macros.h:28
storm::analysis
Definition
export.h:10
storm::api
Definition
storm-conv.cpp:15
storm::pars::api::exportParametricResultToFile
void exportParametricResultToFile(std::optional< storm::RationalFunction > result, storm::OptionalRef< storm::analysis::ConstraintCollector< storm::RationalFunction > const > const &constraintCollector, std::string const &path)
Definition
export.cpp:15
storm::pars
Definition
feasibility.cpp:19
src
storm-pars
api
export.h
Generated by
1.15.0