7 return !sylvan_isconst(node) &&
static_cast<uint64_t
>(sylvan_var(node) + offset) == variableIndex;
11 return !mtbdd_isleaf(node) &&
static_cast<uint64_t
>(sylvan_var(node) + offset) == variableIndex;
bool sylvan_bdd_matches_variable_index(BDD node, uint64_t variableIndex, int64_t offset)
Retrieves whether the topmost variable in the BDD is the one with the given index.
bool sylvan_mtbdd_matches_variable_index(MTBDD node, uint64_t variableIndex, int64_t offset)
Retrieves whether the topmost variable in the MTBDD is the one with the given index.