@@ -492,39 +492,45 @@ class PhTreeMultiMap2 {
492492 CONVERTER converter_;
493493};
494494
495+ template <dimension_t DIM , typename T, typename CONVERTER_BOX >
496+ using PhTreeMultiMap2Box = PhTreeMultiMap2<DIM , T, CONVERTER_BOX , false , QueryIntersect>;
497+
495498/* *
496499 * A PH-Tree multi-map that uses (axis aligned) points as keys.
497500 * The points are defined with 64bit 'double' floating point coordinates.
498501 *
499502 * See 'PhTreeD' for details.
500503 */
501- template <
502- dimension_t DIM ,
503- typename T,
504- typename CONVERTER = ConverterIEEE<DIM >,
505- typename BUCKET = b_plus_tree_hash_set<T>>
504+ template <dimension_t DIM , typename T, typename CONVERTER = ConverterIEEE<DIM >>
506505using PhTreeMultiMap2D = PhTreeMultiMap2<DIM , T, CONVERTER >;
507506
508- template <
509- dimension_t DIM ,
510- typename T,
511- typename CONVERTER_BOX ,
512- typename BUCKET = b_plus_tree_hash_set<T>>
513- using PhTreeMultiMap2Box = PhTreeMultiMap2<DIM , T, CONVERTER_BOX , false , QueryIntersect>;
514-
515507/* *
516508 * A PH-Tree multi-map that uses (axis aligned) boxes as keys.
517509 * The boxes are defined with 64bit 'double' floating point coordinates.
518510 *
519511 * See 'PhTreeD' for details.
520512 */
521- template <
522- dimension_t DIM ,
523- typename T,
524- typename CONVERTER_BOX = ConverterBoxIEEE<DIM >,
525- typename BUCKET = b_plus_tree_hash_set<T>>
513+ template <dimension_t DIM , typename T, typename CONVERTER_BOX = ConverterBoxIEEE<DIM >>
526514using PhTreeMultiMap2BoxD = PhTreeMultiMap2Box<DIM , T, CONVERTER_BOX >;
527515
516+ /* *
517+ * A PH-Tree multi-map that uses (axis aligned) points as keys.
518+ * The points are defined with 32bit 'float' floating point coordinates.
519+ *
520+ * See 'PhTreeF' for details.
521+ */
522+ template <dimension_t DIM , typename T, typename CONVERTER = ConverterFloatIEEE<DIM >>
523+ using PhTreeMultiMap2F = PhTreeMultiMap2<DIM , T, CONVERTER >;
524+
525+ /* *
526+ * A PH-Tree multi-map that uses (axis aligned) boxes as keys.
527+ * The boxes are defined with 32bit 'float' floating point coordinates.
528+ *
529+ * See 'PhTreeF' for details.
530+ */
531+ template <dimension_t DIM , typename T, typename CONVERTER_BOX = ConverterBoxFloatIEEE<DIM >>
532+ using PhTreeMultiMapBox2F = PhTreeMultiMap2Box<DIM , T, CONVERTER_BOX >;
533+
528534} // namespace improbable::phtree
529535
530536#endif // PHTREE_PHTREE_MULTIMAP_H
0 commit comments