Storm 1.11.1.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 "storm-config.h"
4
5#ifdef STORM_HAVE_SYLVAN
6#pragma clang diagnostic push
7#pragma clang diagnostic ignored "-Wextra-semi"
8#pragma clang diagnostic ignored "-Wzero-length-array"
9#pragma clang diagnostic ignored "-Wgnu-zero-variadic-macro-arguments"
10#pragma clang diagnostic ignored "-Wdeprecated-register"
11#pragma clang diagnostic ignored "-Wc99-extensions"
12#pragma clang diagnostic ignored "-Wunknown-pragmas"
13#pragma GCC diagnostic push
14#pragma GCC diagnostic ignored "-Wpedantic"
15
16#pragma GCC system_header // Only way to suppress some warnings atm.
17
18#include "sylvan_obj.hpp"
19#include "sylvan_storm_rational_function.h"
20#include "sylvan_storm_rational_number.h"
21
22#define cas(ptr, old, new) (__sync_bool_compare_and_swap((ptr), (old), (new)))
23#define ATOMIC_READ(x) (*(volatile decltype(x) *)&(x))
24
25namespace storm {
26namespace dd {
27
36bool sylvan_bdd_matches_variable_index(BDD node, uint64_t variableIndex, int64_t offset = 0);
37
46bool sylvan_mtbdd_matches_variable_index(MTBDD node, uint64_t variableIndex, int64_t offset = 0);
47
48} // namespace dd
49} // namespace storm
50
51#pragma GCC diagnostic pop
52#pragma clang diagnostic pop
53
54#endif