Triples have 6 indexes optimally, which is equal to 3! which is all possible indexes.
(src, typ) -> dst (typ, src) -> dst (src, dst) -> typ (dst, src) -> typ (dst, typ) -> src (typ, dst) -> src