Storm 1.14.0.1
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
sylvan.h
Go to the documentation of this file.
1#pragma once
2
3#include <cstdint>
4
5#include "storm-config.h"
6
7#ifdef STORM_HAVE_SYLVAN
8#pragma GCC diagnostic push
9#pragma GCC diagnostic ignored "-Wpedantic"
10#pragma clang diagnostic push
11#pragma clang diagnostic ignored "-Wextra-semi-stmt"
12#pragma clang diagnostic ignored "-Wzero-as-null-pointer-constant"
13
14#include "sylvan_obj.hpp"
15#include "sylvan_storm_rational_function.h"
16#include "sylvan_storm_rational_number.h"
17
18#pragma clang diagnostic pop
19#pragma GCC diagnostic pop
20
21#define cas(ptr, old, new) (__sync_bool_compare_and_swap((ptr), (old), (new)))
22#define ATOMIC_READ(x) (*(volatile decltype(x)*)&(x))
23
24namespace storm {
25namespace dd {
26
35bool sylvan_bdd_matches_variable_index(BDD node, uint64_t variableIndex, int64_t offset = 0);
36
45bool sylvan_mtbdd_matches_variable_index(MTBDD node, uint64_t variableIndex, int64_t offset = 0);
46
47} // namespace dd
48} // namespace storm
49
50#endif