Storm 2.0.0.3
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
storm::dd::InternalAddBackend Concept Reference

Contract of InternalAdd<T, ValueType>. More...

#include <BackendConcepts.h>

Concept definition

template<typename AddType, typename BddType, typename ManagerType, typename ValueType, typename IteratorType, typename GenericManagerType>
std::copyable<AddType> && std::default_initializable<AddType> && std::equality_comparable<AddType> &&
requires(AddType const& a, AddType const& other, AddType& ma, BddType const& bdd, std::vector<BddType> const& vars, ValueType const& value,
ValueType const& precision, std::vector<uint_fast64_t> const& indices, std::vector<uint_fast64_t> const& offsets, storm::dd::Odd const& odd,
storm::storage::BitVector const& bits, std::vector<ValueType>& target, std::vector<ValueType> const& vec,
std::function<ValueType(ValueType const&, ValueType const&)> const& op, std::function<void(uint_fast64_t, ValueType const&)> const& visitor,
std::string const& file, std::vector<std::string> const& names, GenericManagerType const& manager,
std::set<storm::expressions::Variable> const& metaVariables) {
{ a + other } -> std::same_as<AddType>;
{ ma += other } -> std::same_as<AddType&>;
{ a * other } -> std::same_as<AddType>;
{ ma *= other } -> std::same_as<AddType&>;
{ a - other } -> std::same_as<AddType>;
{ ma -= other } -> std::same_as<AddType&>;
{ a / other } -> std::same_as<AddType>;
{ ma /= other } -> std::same_as<AddType&>;
{ a.pow(other) } -> std::same_as<AddType>;
{ a.mod(other) } -> std::same_as<AddType>;
{ a.logxy(other) } -> std::same_as<AddType>;
{ a.floor() } -> std::same_as<AddType>;
{ a.ceil() } -> std::same_as<AddType>;
{ a.minimum(other) } -> std::same_as<AddType>;
{ a.maximum(other) } -> std::same_as<AddType>;
{ a.equals(other) } -> std::same_as<BddType>;
{ a.notEquals(other) } -> std::same_as<BddType>;
{ a.less(other) } -> std::same_as<BddType>;
{ a.lessOrEqual(other) } -> std::same_as<BddType>;
{ a.greater(other) } -> std::same_as<BddType>;
{ a.greaterOrEqual(other) } -> std::same_as<BddType>;
{ a.less(value) } -> std::same_as<BddType>;
{ a.lessOrEqual(value) } -> std::same_as<BddType>;
{ a.greater(value) } -> std::same_as<BddType>;
{ a.greaterOrEqual(value) } -> std::same_as<BddType>;
{ a.notZero() } -> std::same_as<BddType>;
{ a.equalModuloPrecision(other, precision, bool{}) } -> std::same_as<bool>;
{ a.sumAbstract(bdd) } -> std::same_as<AddType>;
{ a.minAbstract(bdd) } -> std::same_as<AddType>;
{ a.maxAbstract(bdd) } -> std::same_as<AddType>;
{ a.minAbstractRepresentative(bdd) } -> std::same_as<BddType>;
{ a.maxAbstractRepresentative(bdd) } -> std::same_as<BddType>;
{ a.swapVariables(vars, vars) } -> std::same_as<AddType>;
{ a.permuteVariables(vars, vars) } -> std::same_as<AddType>;
{ a.multiplyMatrix(other, vars) } -> std::same_as<AddType>;
{ a.multiplyMatrix(bdd, vars) } -> std::same_as<AddType>;
{ a.constrain(other) } -> std::same_as<AddType>;
{ a.restrict(other) } -> std::same_as<AddType>;
{ a.getSupport() } -> std::same_as<BddType>;
{ a.getNonZeroCount(uint_fast64_t{}) } -> std::same_as<uint_fast64_t>;
{ a.getLeafCount() } -> std::same_as<uint_fast64_t>;
{ a.getNodeCount() } -> std::same_as<uint_fast64_t>;
{ a.getMin() } -> std::same_as<ValueType>;
{ a.getMax() } -> std::same_as<ValueType>;
{ a.getValue() } -> std::same_as<ValueType>;
{ a.isOne() } -> std::same_as<bool>;
{ a.isZero() } -> std::same_as<bool>;
{ a.isConstant() } -> std::same_as<bool>;
{ a.getIndex() } -> std::same_as<uint_fast64_t>;
{ a.getLevel() } -> std::same_as<uint_fast64_t>;
{ a.getStringId() } -> std::same_as<std::string>;
a.exportToDot(file, names, bool{});
a.exportToText(file);
{ a.begin(manager, bdd, uint_fast64_t{}, metaVariables, bool{}) } -> std::same_as<IteratorType>;
{ a.end(manager) } -> std::same_as<IteratorType>;
{ a.getInternalDdManager() } -> std::convertible_to<ManagerType const&>;
{ AddType::fromVector(std::declval<ManagerType const*>(), vec, odd, indices) } -> std::same_as<AddType>;
{ a.createOdd(indices) } -> std::same_as<storm::dd::Odd>;
a.composeWithExplicitVector(odd, indices, target, op);
a.composeWithExplicitVector(odd, indices, offsets, target, op);
a.forEach(odd, indices, visitor);
{ a.splitIntoGroups(indices) } -> std::same_as<std::vector<AddType>>;
{ a.decodeGroupLabels(indices, bits) } -> std::same_as<std::vector<uint64_t>>;
}
A bit vector that is internally represented as a vector of 64-bit values.
Definition BitVector.h:16
Contract of InternalAdd<T, ValueType>.

Detailed Description

Contract of InternalAdd<T, ValueType>.

BddType is the matching InternalBdd, ManagerType the matching InternalDdManager, IteratorType the matching AddIterator and GenericManagerType the generic DdManager of the same DdType.

Definition at line 111 of file BackendConcepts.h.