#include <CDegreeCache.h>
Public Types | |
enum | { invalid = CTypes::max_idx } |
typedef NaviType | navigator |
Set actual storage type. | |
typedef navigator | base |
Define type base. | |
typedef navigator::bool_type | bool_type |
Plain Boolean type. | |
typedef CTypes::idx_type | idx_type |
Type for representing indices. | |
typedef CTypes::size_type | size_type |
Type for representing size. | |
typedef BoolePolyRing | manager_type |
Type of decision diagram manager. | |
Public Member Functions | |
CIndexHandle (idx_type idx) | |
Construct from index. | |
CIndexHandle (navigator navi, const manager_type &mgr) | |
Construct from given navigator. | |
idx_type | operator* () const |
Dereference to get stored index. | |
bool | isValid () const |
Protected Member Functions | |
idx_type | fromNode (navigator navi, const manager_type &mgr) const |
Dereference to get stored index. | |
Protected Attributes | |
idx_type | m_idx |
typedef NaviType polybori::CIndexHandle< NaviType >::navigator |
Set actual storage type.
typedef navigator polybori::CIndexHandle< NaviType >::base |
Define type base.
typedef navigator::bool_type polybori::CIndexHandle< NaviType >::bool_type |
Plain Boolean type.
typedef CTypes::idx_type polybori::CIndexHandle< NaviType >::idx_type |
Type for representing indices.
typedef CTypes::size_type polybori::CIndexHandle< NaviType >::size_type |
Type for representing size.
typedef BoolePolyRing polybori::CIndexHandle< NaviType >::manager_type |
Type of decision diagram manager.
polybori::CIndexHandle< NaviType >::CIndexHandle | ( | idx_type | idx | ) | [inline] |
Construct from index.
polybori::CIndexHandle< NaviType >::CIndexHandle | ( | navigator | navi, | |
const manager_type & | mgr | |||
) | [inline, explicit] |
Construct from given navigator.
idx_type polybori::CIndexHandle< NaviType >::operator* | ( | ) | const [inline] |
Dereference to get stored index.
bool polybori::CIndexHandle< NaviType >::isValid | ( | ) | const [inline] |
idx_type polybori::CIndexHandle< NaviType >::fromNode | ( | navigator | navi, | |
const manager_type & | mgr | |||
) | const [inline, protected] |
Dereference to get stored index.
References polybori::BoolePolyRing::nVariables(), and PBORI_UNLIKELY.
idx_type polybori::CIndexHandle< NaviType >::m_idx [protected] |