30 #pragma GCC diagnostic push
31 #pragma GCC diagnostic ignored "-Wcast-qual"
45 NodePtr chooseSubtree(
const TimeRegion& mbr, uint32_t level, std::stack<id_type>& pathBuffer)
override;
52 uint32_t findLeastEnlargement(
const TimeRegion&)
const;
53 uint32_t findLeastOverlap(
const TimeRegion&)
const;
55 void adjustTree(
Node*, std::stack<id_type>&);
56 void adjustTree(
Node* n,
Node* nn, std::stack<id_type>& pathBuffer);
68 static int compareEntries(
const void* pv1,
const void* pv2)
70 OverlapEntry* pe1 = * (OverlapEntry**) pv1;
71 OverlapEntry* pe2 = * (OverlapEntry**) pv2;
73 if (pe1->m_enlargement < pe2->m_enlargement)
return -1;
74 if (pe1->m_enlargement > pe2->m_enlargement)
return 1;
84 #pragma GCC diagnostic pop