ABC: A System for Sequential Synthesis and Verification
Loading...
Searching...
No Matches
cadical_stable.cpp
Go to the documentation of this file.
1
#include "
global.h
"
2
3
#ifdef PROFILE_MODE
4
5
#include "
internal.hpp
"
6
7
ABC_NAMESPACE_IMPL_START
8
9
namespace
CaDiCaL
{
10
11
bool
Internal::propagate_stable () {
12
CADICAL_assert
(
stable
);
13
START
(propstable);
14
bool
res =
propagate
();
15
STOP
(propstable);
16
return
res;
17
}
18
19
void
Internal::analyze_stable () {
20
CADICAL_assert
(
stable
);
21
START
(analyzestable);
22
analyze
();
23
STOP
(analyzestable);
24
}
25
26
int
Internal::decide_stable () {
27
CADICAL_assert
(
stable
);
28
return
decide
();
29
}
30
31
};
// namespace CaDiCaL
32
33
ABC_NAMESPACE_IMPL_END
34
35
#else
36
ABC_NAMESPACE_IMPL_START
37
int
stable_if_not_profile_mode_dummy
;
38
ABC_NAMESPACE_IMPL_END
39
#endif
ABC_NAMESPACE_IMPL_START
#define ABC_NAMESPACE_IMPL_START
Definition
abc_namespaces.h:54
ABC_NAMESPACE_IMPL_END
#define ABC_NAMESPACE_IMPL_END
Definition
abc_namespaces.h:55
global.h
CADICAL_assert
#define CADICAL_assert(ignore)
Definition
global.h:14
stable_if_not_profile_mode_dummy
ABC_NAMESPACE_IMPL_START int stable_if_not_profile_mode_dummy
Definition
cadical_stable.cpp:37
internal.hpp
CaDiCaL
Definition
arena.hpp:8
STOP
#define STOP(P)
Definition
profile.hpp:158
START
#define START(P)
Definition
profile.hpp:150
CaDiCaL::Internal::analyze
void analyze()
Definition
cadical_analyze.cpp:943
CaDiCaL::Internal::propagate
bool propagate()
Definition
cadical_propagate.cpp:232
CaDiCaL::Internal::decide
int decide()
Definition
cadical_decide.cpp:126
CaDiCaL::Internal::stable
bool stable
Definition
internal.hpp:190
src
sat
cadical
cadical_stable.cpp
Generated by Doxygen 1.13.2 © 2025 EPTansuo. All rights reserved.
鲁ICP备2021046540号