着色搜索中的层次范畴
Hierarchical Categories in Colored Searching
摘要:
在彩色范围计数(CRC)中,输入是一组点,其中每个点被分配一个“颜色”(或"类别“),目标是将它们存储在一个数据结构中,以便可以有效地计算给定查询范围内不同类别的数量。CRC有很强的动机,因为它允许数据结构处理分类数据。然而,颜色(即,CRC问题中的类别)不具有任何内部结构,而实际上对于存在分层类别或单个输入属于多个类别的许多数据集来说情况并非如此。出于这些动机,我们认为这些结构可以表示的问题的变体。我们定义了两个变种的问题,称为分层范围计数(HCC)和子类别着色范围计数(SCRC),并考虑分层结构,可以是一个DAG或一棵树。我们表明,这两个问题的一些特殊的树木实际上是等同于其他著名的问题在文献中。在此基础上,我们也给出了有效的数据结构时,底层层次结构可以表示为一棵树。我们显示了一个条件下界的一般情况下,现有的层次结构可以是任何DAG,通过减少从正交向量问题。
英文摘要:
In colored range counting (CRC), the input is a set of points where each point is assigned a ``color'' (or a ``category'') and the goal is to store them in a data structure such that the number of distinct categories inside a given query range can be counted efficiently. CRC has strong motivations as it allows data structure to deal with categorical data. However, colors (i.e., the categories) in the CRC problem do not have any internal structure, whereas this is not the case for many datasets in practice where hierarchical categories exists or where a single input belongs to multiple categories. Motivated by these, we consider variants of the problem where such structures can be represented. We define two variants of the problem called hierarchical range counting (HCC) and sub-category colored range counting (SCRC) and consider hierarchical structures that can either be a DAG or a tree. We show that the two problems on some special trees are in fact equivalent to other well-known problems in the literature. Based on these, we also give efficient data structures when the underlying hierarchy can be represented as a tree. We show a conditional lower bound for the general case when the existing hierarchy can be any DAG, through reductions from the orthogonal vectors problem.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。