<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//TaxonX//DTD Taxonomic Treatment Publishing DTD v0 20100105//EN" "../../nlm/tax-treatment-NS0.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:tp="http://www.plazi.org/taxpub" article-type="research-article" dtd-version="3.0" xml:lang="en">
  <front>
    <journal-meta>
      <journal-id journal-id-type="publisher-id">109</journal-id>
      <journal-id journal-id-type="index">urn:lsid:arphahub.com:pub:3dc5f44e-8666-58db-bc76-a455210e8891</journal-id>
      <journal-title-group>
        <journal-title xml:lang="en">JUCS - Journal of Universal Computer Science</journal-title>
        <abbrev-journal-title xml:lang="en">jucs</abbrev-journal-title>
      </journal-title-group>
      <issn pub-type="ppub">0948-695X</issn>
      <issn pub-type="epub">0948-6968</issn>
      <publisher>
        <publisher-name>Journal of Universal Computer Science</publisher-name>
      </publisher>
    </journal-meta>
    <article-meta>
      <article-id pub-id-type="doi">10.3897/jucs.74230</article-id>
      <article-id pub-id-type="publisher-id">74230</article-id>
      <article-categories>
        <subj-group subj-group-type="heading">
          <subject>Research Article</subject>
        </subj-group>
        <subj-group subj-group-type="scientific_subject">
          <subject>E.1 - DATA STRUCTURES</subject>
          <subject>E.2 - DATA STORAGE REPRESENTATIONS</subject>
          <subject>H.3 - INFORMATION STORAGE AND RETRIEVAL</subject>
        </subj-group>
      </article-categories>
      <title-group>
        <article-title>Bloom filter variants for multiple sets: a comparative assessment</article-title>
      </title-group>
      <contrib-group content-type="authors">
        <contrib contrib-type="author" corresp="yes">
          <name name-style="western">
            <surname>Calderoni</surname>
            <given-names>Luca</given-names>
          </name>
          <email xlink:type="simple">luca.calderoni@unibo.it</email>
          <xref ref-type="aff" rid="A1">1</xref>
        </contrib>
        <contrib contrib-type="author" corresp="no">
          <name name-style="western">
            <surname>Maio</surname>
            <given-names>Dario</given-names>
          </name>
          <uri content-type="orcid">https://orcid.org/0000-0002-0094-0022</uri>
          <xref ref-type="aff" rid="A2">2</xref>
        </contrib>
        <contrib contrib-type="author" corresp="yes">
          <name name-style="western">
            <surname>Palmieri</surname>
            <given-names>Paolo</given-names>
          </name>
          <email xlink:type="simple">p.palmieri@cs.ucc.ie</email>
          <uri content-type="orcid">https://orcid.org/0000-0002-9819-4880</uri>
          <xref ref-type="aff" rid="A3">3</xref>
        </contrib>
      </contrib-group>
      <aff id="A1">
        <label>1</label>
        <addr-line content-type="verbatim">University of Bologna, Cesena, Italy</addr-line>
        <institution>University of Bologna</institution>
        <addr-line content-type="city">Cesena</addr-line>
        <country>Italy</country>
      </aff>
      <aff id="A2">
        <label>2</label>
        <addr-line content-type="verbatim">University of Bologna, Bologna, Italy</addr-line>
        <institution>University of Bologna</institution>
        <addr-line content-type="city">Bologna</addr-line>
        <country>Italy</country>
      </aff>
      <aff id="A3">
        <label>3</label>
        <addr-line content-type="verbatim">University College Cork, Cork, Ireland</addr-line>
        <institution>University College Cork</institution>
        <addr-line content-type="city">Cork</addr-line>
        <country>Ireland</country>
      </aff>
      <author-notes>
        <fn fn-type="corresp">
          <p>Corresponding authors: Luca Calderoni (<email xlink:type="simple">luca.calderoni@unibo.it</email>), Paolo Palmieri (<email xlink:type="simple">p.palmieri@cs.ucc.ie</email>).</p>
        </fn>
        <fn fn-type="edited-by">
          <p>Academic editor: </p>
        </fn>
      </author-notes>
      <pub-date pub-type="collection">
        <year>2022</year>
      </pub-date>
      <pub-date pub-type="epub">
        <day>28</day>
        <month>02</month>
        <year>2022</year>
      </pub-date>
      <volume>28</volume>
      <issue>2</issue>
      <fpage>120</fpage>
      <lpage>140</lpage>
      <uri content-type="arpha" xlink:href="http://openbiodiv.net/E0217C6E-FEC0-5DFA-B7C8-4AAE29A8DF6B">E0217C6E-FEC0-5DFA-B7C8-4AAE29A8DF6B</uri>
      <history>
        <date date-type="received">
          <day>30</day>
          <month>04</month>
          <year>2021</year>
        </date>
        <date date-type="accepted">
          <day>28</day>
          <month>12</month>
          <year>2021</year>
        </date>
      </history>
      <permissions>
        <copyright-statement>Luca Calderoni, Dario Maio, Paolo Palmieri</copyright-statement>
        <license license-type="creative-commons-attribution" xlink:href="https://creativecommons.org/licenses/by-nd/4.0/" xlink:type="simple">
          <license-p>This is an open access article distributed under the terms of the Creative Commons Attribution License (CC BY-ND 4.0). This license allows reusers to copy and distribute the material in any medium or format in unadapted form only, and only so long as attribution is given to the creator. The license allows for commercial use.</license-p>
        </license>
      </permissions>
      <abstract>
        <label>Abstract</label>
        <p>In this paper we compare two probabilistic data structures for association queries derived from the well-known Bloom filter: the shifting Bloom filter (ShBF), and the spatial Bloom filter (SBF). With respect to the original data structure, both variants add the ability to store multiple subsets in the same filter, using different strategies. We analyse the performance of the two data structures with respect to false positive probability, and the inter-set error probability (the probability for an element in the set of being recognised as belonging to the wrong subset). As part of our analysis, we extended the functionality of the shifting Bloom filter, optimising the filter for any non-trivial number of subsets. We propose a new generalised ShBF definition with applications outside of our specific domain, and present new probability formulas. Results of the comparison show that the ShBF provides better space efficiency, but at a significantly higher computational cost than the SBF.</p>
      </abstract>
    </article-meta>
  </front>
</article>
