1#ifndef _KITTY_DYNAMIC_TT_H_
2#define _KITTY_DYNAMIC_TT_H_
66 inline std::vector<uint64_t>::iterator
begin() noexcept {
return _bits.begin(); }
70 inline std::vector<uint64_t>::iterator
end() noexcept {
return _bits.end(); }
74 inline std::vector<uint64_t>::const_iterator
begin()
const noexcept {
return _bits.begin(); }
78 inline std::vector<uint64_t>::const_iterator
end()
const noexcept {
return _bits.end(); }
82 inline std::vector<uint64_t>::reverse_iterator
rbegin() noexcept {
return _bits.rbegin(); }
86 inline std::vector<uint64_t>::reverse_iterator
rend() noexcept {
return _bits.rend(); }
90 inline std::vector<uint64_t>::const_iterator
cbegin()
const noexcept {
return _bits.cbegin(); }
94 inline std::vector<uint64_t>::const_iterator
cend()
const noexcept {
return _bits.cend(); }
98 inline std::vector<uint64_t>::const_reverse_iterator
crbegin()
const noexcept {
return _bits.crbegin(); }
102 inline std::vector<uint64_t>::const_reverse_iterator
crend()
const noexcept {
return _bits.crend(); }
114 _bits.resize( other.num_blocks() );
115 std::copy( other.begin(), other.end(),
begin() );
116 _num_vars = other.num_vars();
136 _bits[0u] &= detail::masks[_num_vars];
142 std::vector<uint64_t> _bits;
#define ABC_NAMESPACE_CXX_HEADER_START
#define ABC_NAMESPACE_CXX_HEADER_END
std::vector< uint64_t >::const_iterator cend() const noexcept
Constant end iterator to bits.
dynamic_truth_table & operator=(const TT &other)
Assign other truth table.
std::vector< uint64_t >::const_reverse_iterator crbegin() const noexcept
Constant reverse begin iterator to bits.
uint32_t num_blocks() const noexcept
dynamic_truth_table(uint32_t num_vars)
std::vector< uint64_t >::reverse_iterator rbegin() noexcept
Reverse begin iterator to bits.
uint32_t num_bits() const noexcept
std::vector< uint64_t >::const_iterator begin() const noexcept
Begin iterator to bits.
std::vector< uint64_t >::reverse_iterator rend() noexcept
Reverse end iterator to bits.
uint32_t num_vars() const noexcept
std::vector< uint64_t >::iterator begin() noexcept
Begin iterator to bits.
void mask_bits() noexcept
dynamic_truth_table construct() const
std::vector< uint64_t >::iterator end() noexcept
End iterator to bits.
std::vector< uint64_t >::const_iterator cbegin() const noexcept
Constant begin iterator to bits.
std::vector< uint64_t >::const_iterator end() const noexcept
End iterator to bits.
std::vector< uint64_t >::const_reverse_iterator crend() const noexcept
Constant teverse end iterator to bits.