13 using namespace utils;
14 const int64_t global_cid = TupleInspector::global_cid(tuple);
18 1 - TupleInspector::local_vid(tuple),
19 TupleInspector::local_eid(tuple),
20 TupleInspector::local_fid(tuple),
26 default: assert(
false);
static int64_t global_cid(const Tuple &t)
int8_t switch_primitive_to_valid_tuple_index(wmtk::PrimitiveType pt)
int8_t identity_valid_tuple_index()
Tuple local_switch_tuple(const Tuple &t, PrimitiveType pt)
const int8_t auto_valid_switch_product_table[2][2]
Tuple tuple_from_valid_index(int64_t global_cid, int8_t valid_tuple_index)
int8_t valid_index_from_tuple(const Tuple &t)
const int8_t auto_valid_tuple_switch_indices[3]
constexpr int8_t get_primitive_type_id(PrimitiveType t)
Get a unique integer id corresponding to each primitive type.