![]() |
HAL
|
#include <symbolic_state.h>
Public Member Functions | |
SymbolicState (const std::vector< BooleanFunction > &variables={}) | |
const BooleanFunction & | get (const BooleanFunction &key) const |
void | set (const BooleanFunction &key, const BooleanFunction &value) |
Represents the data structure that keeps track of symbolic variable values (e.g., required for symbolic simplification).
Definition at line 40 of file symbolic_state.h.
|
explicit |
Constructs a symbolic state and initializes the variables.
[in] | variables | - The list of variables. |
Definition at line 7 of file symbolic_state.cpp.
const BooleanFunction & hal::SMT::SymbolicState::get | ( | const BooleanFunction & | key | ) | const |
Looks up a Boolean function in the symbolic state.
[in] | key | - The Boolean function to look up. |
Definition at line 18 of file symbolic_state.cpp.
Referenced by hal::smt_init().
void hal::SMT::SymbolicState::set | ( | const BooleanFunction & | key, |
const BooleanFunction & | value | ||
) |
Sets a Boolean function equivalent in the symbolic state.
[in] | key | - The Boolean function. |
[in] | value | - The equivalent Boolean function. |
Definition at line 24 of file symbolic_state.cpp.
References hal::BooleanFunction::is_variable().
Referenced by hal::smt_init().