ABC: A System for Sequential Synthesis and Verification
Loading...
Searching...
No Matches
cadical_unstable.cpp
Go to the documentation of this file.
1
#include "
global.h
"
2
3
#ifdef PROFILE_MODE
4
#include "
internal.hpp
"
5
6
ABC_NAMESPACE_IMPL_START
7
8
namespace
CaDiCaL
{
9
10
bool
Internal::propagate_unstable () {
11
CADICAL_assert
(!
stable
);
12
START
(propunstable);
13
bool
res =
propagate
();
14
STOP
(propunstable);
15
return
res;
16
}
17
18
void
Internal::analyze_unstable () {
19
CADICAL_assert
(!
stable
);
20
START
(analyzeunstable);
21
analyze
();
22
STOP
(analyzeunstable);
23
}
24
25
int
Internal::decide_unstable () {
26
CADICAL_assert
(!
stable
);
27
return
decide
();
28
}
29
30
};
// namespace CaDiCaL
31
32
ABC_NAMESPACE_IMPL_END
33
34
#else
35
ABC_NAMESPACE_IMPL_START
36
int
unstable_if_no_profile_mode
;
37
ABC_NAMESPACE_IMPL_END
38
#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
unstable_if_no_profile_mode
ABC_NAMESPACE_IMPL_START int unstable_if_no_profile_mode
Definition
cadical_unstable.cpp:36
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_unstable.cpp
Generated by Doxygen 1.13.2 © 2025 EPTansuo. All rights reserved.
鲁ICP备2021046540号