17 STORM_LOG_WARN(
"Truncating the domain size as it does not fit in an unsigned 64 bit number.");
18 info.stateDomainSize = std::numeric_limits<uint64_t>::max();
22 if (info.stateDomainSize > 0) {
25 info.avgVarDomainSize = 0.0;
30 virtual void traverse(
Model const& model, boost::any
const& data)
override {
52 auto const& type = variable.
getType();
53 if (type.isBasicType() && type.asBasicType().isBooleanType()) {
56 }
else if (type.isBoundedType() && type.asBoundedType().isIntegerType() && type.asBoundedType().hasLowerBound() &&
57 type.asBoundedType().hasUpperBound() && !type.asBoundedType().getLowerBound().containsVariables() &&
58 !type.asBoundedType().getUpperBound().containsVariables()) {
59 auto size = type.asBoundedType().getUpperBound().evaluateAsInt() - type.asBoundedType().getLowerBound().evaluateAsInt();
61 domainSizesSum += size;
71 uint64_t domainSizesSum;
72 storm::RationalNumber domainSizesProduct;
uint64_t getNumberOfEdges() const
Retrieves the number of edges.
uint64_t getNumberOfLocations() const
Retrieves the number of locations.
virtual void traverse(Model const &model, boost::any const &data)
ModelType const & getModelType() const
Retrieves the type of the model.
std::size_t getNumberOfAutomata() const
Retrieves the number of automata in this model.
uint64_t getNumberOfNontransientVariables() const
#define STORM_LOG_WARN(message)
InformationObject collectModelInformation(Model const &model)
TargetType convertNumber(SourceType const &number)