ABC: A System for Sequential Synthesis and Verification
 
Loading...
Searching...
No Matches
var.hpp
Go to the documentation of this file.
1#ifndef _var_hpp_INCLUDED
2#define _var_hpp_INCLUDED
3
4#include "global.h"
5
7
8namespace CaDiCaL {
9
10struct Clause;
11
12// This structure captures data associated with an assigned variable.
13
14struct Var {
15
16 // Note that none of these members is valid unless the variable is
17 // assigned. During unassigning a variable we do not reset it.
18
19 int level; // decision level
20 int trail; // trail height at assignment
21 Clause *reason; // implication graph edge during search
22};
23
24} // namespace CaDiCaL
25
27
28#endif
#define ABC_NAMESPACE_CXX_HEADER_START
#define ABC_NAMESPACE_CXX_HEADER_END
int level
Definition var.hpp:19
int trail
Definition var.hpp:20
Clause * reason
Definition var.hpp:21