Retrieval Data Structure (original) (raw)
In computer science, a retrieval data structure, also known as static function, is a space-efficient dictionary-like data type composed of a collection of (key, value) pairs that allows the following operations: * Construction from a collection of (key, value) pairs * Retrieve the value associated with the given key or anything if the key is not contained in the collection * Update the value associated with a key (optional) They can also be thought of as a function for an universe and the set of keys where retrieve has to return for any value and an arbitrary value from otherwise.
Property | Value |
---|---|
dbo:abstract | In computer science, a retrieval data structure, also known as static function, is a space-efficient dictionary-like data type composed of a collection of (key, value) pairs that allows the following operations: * Construction from a collection of (key, value) pairs * Retrieve the value associated with the given key or anything if the key is not contained in the collection * Update the value associated with a key (optional) They can also be thought of as a function for an universe and the set of keys where retrieve has to return for any value and an arbitrary value from otherwise. In contrast to static functions, support (probabilistic) membership queries and dictionaries additionally allow operations like listing keys or looking up the value associated with a key and returning some other symbol if the key is not contained. As can be derived from the operations, this data structure does not need to store the keys at all and may actually use less space than would be needed for a simple list of the key value pairs. This makes it attractive in situations where the associated data is small (e.g. a few bits) compared to the keys because we can save a lot by reducing the space used by keys. To give a simple example suppose video game names annotated with a boolean indicating whether the game contains a dog that can be petted are given. A static function built from this database can reproduce the associated flag for all names contained in the original set and an arbitrary one for other names. The size of this static function can be made to be only bits for a small which is obviously much less than any pair based representation. (en) |
dbo:thumbnail | wiki-commons:Special:FilePath/XOR-Filter.svg?width=300 |
dbo:wikiPageID | 68445623 (xsd:integer) |
dbo:wikiPageLength | 10131 (xsd:nonNegativeInteger) |
dbo:wikiPageRevisionID | 1101044092 (xsd:integer) |
dbo:wikiPageWikiLink | dbr:Perfect_hash_function dbr:Approximate_member_query dbr:Computer_science dbr:Row_echelon_form dbr:Counting_sort dbc:Abstract_data_types dbr:Associative_array dbc:Associative_arrays dbr:Random-access_machine dbr:Name–value_pair dbr:File:Cuckoo_perfect_hashing_with_indices.svg dbr:File:XOR-Filter.svg |
dbp:wikiPageUsesTemplate | dbt:Coi dbt:About dbt:Multiple_issues dbt:Primary_sources dbt:Refimprove dbt:Reflist dbt:Pov |
dcterms:subject | dbc:Abstract_data_types dbc:Associative_arrays |
rdfs:comment | In computer science, a retrieval data structure, also known as static function, is a space-efficient dictionary-like data type composed of a collection of (key, value) pairs that allows the following operations: * Construction from a collection of (key, value) pairs * Retrieve the value associated with the given key or anything if the key is not contained in the collection * Update the value associated with a key (optional) They can also be thought of as a function for an universe and the set of keys where retrieve has to return for any value and an arbitrary value from otherwise. (en) |
rdfs:label | Retrieval Data Structure (en) |
owl:sameAs | wikidata:Retrieval Data Structure https://global.dbpedia.org/id/FzUiK |
prov:wasDerivedFrom | wikipedia-en:Retrieval_Data_Structure?oldid=1101044092&ns=0 |
foaf:depiction | wiki-commons:Special:FilePath/Cuckoo_perfect_hashing_with_indices.svg wiki-commons:Special:FilePath/XOR-Filter.svg |
foaf:isPrimaryTopicOf | wikipedia-en:Retrieval_Data_Structure |
is foaf:primaryTopic of | wikipedia-en:Retrieval_Data_Structure |