ABC: A System for Sequential Synthesis and Verification
Loading...
Searching...
No Matches
testing.hpp
Go to the documentation of this file.
1
#ifndef _testing_hpp_INCLUDED
2
#define _testing_hpp_INCLUDED
3
4
#include "
global.h
"
5
6
// This class provides access to 'internal' which should only be used for
7
// internal testing and not for any other purpose as 'internal' is supposed
8
// to be hidden.
9
10
#include "
cadical.hpp
"
11
12
ABC_NAMESPACE_CXX_HEADER_START
13
14
namespace
CaDiCaL
{
15
16
class
Testing
{
17
Solver
*solver;
18
19
public
:
20
Testing
(
Solver
&s) : solver (&s) {}
21
Testing
(
Solver
*s) : solver (s) {}
22
Internal
*
internal
() {
return
solver->
internal
; }
23
External
*
external
() {
return
solver->external; }
24
};
25
26
}
// namespace CaDiCaL
27
28
ABC_NAMESPACE_CXX_HEADER_END
29
30
#endif
ABC_NAMESPACE_CXX_HEADER_START
#define ABC_NAMESPACE_CXX_HEADER_START
Definition
abc_namespaces.h:52
ABC_NAMESPACE_CXX_HEADER_END
#define ABC_NAMESPACE_CXX_HEADER_END
Definition
abc_namespaces.h:53
global.h
cadical.hpp
CaDiCaL::Solver
Definition
cadical.hpp:230
CaDiCaL::Testing::external
External * external()
Definition
testing.hpp:23
CaDiCaL::Testing::Testing
Testing(Solver &s)
Definition
testing.hpp:20
CaDiCaL::Testing::internal
Internal * internal()
Definition
testing.hpp:22
CaDiCaL::Testing::Testing
Testing(Solver *s)
Definition
testing.hpp:21
CaDiCaL
Definition
arena.hpp:8
CaDiCaL::External
Definition
external.hpp:57
CaDiCaL::Internal
Definition
internal.hpp:136
CaDiCaL::Internal::internal
Internal * internal
Definition
internal.hpp:311
src
sat
cadical
testing.hpp
Generated by Doxygen 1.13.2 © 2025 EPTansuo. All rights reserved.
鲁ICP备2021046540号