14 using namespace utils;
21 TupleInspector::local_fid(tuple),
22 TupleInspector::global_cid(tuple));
28 TupleInspector::local_fid(tuple),
29 TupleInspector::global_cid(tuple));
33 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()
int64_t local_id_table_offset(const Tuple &t)
const int64_t auto_2d_table_edge[9][2]
int8_t valid_index_from_tuple(const Tuple &t)
const int8_t auto_valid_tuple_switch_indices[4]
Tuple local_switch_tuple(const Tuple &t, PrimitiveType pt)
Tuple tuple_from_valid_index(int64_t global_cid, int8_t valid_tuple_index)
const int8_t auto_valid_switch_product_table[6][6]
const int64_t auto_2d_table_vertex[9][2]
constexpr int8_t get_primitive_type_id(PrimitiveType t)
Get a unique integer id corresponding to each primitive type.