Global Information Lookup Global Information

Associative array information


In computer science, an associative array, map, symbol table, or dictionary is an abstract data type that stores a collection of (key, value) pairs, such that each possible key appears at most once in the collection. In mathematical terms, an associative array is a function with finite domain.[1] It supports 'lookup', 'remove', and 'insert' operations.

The dictionary problem is the classic problem of designing efficient data structures that implement associative arrays.[2] The two major solutions to the dictionary problem are hash tables and search trees.[3][4][5][6] It is sometimes also possible to solve the problem using directly addressed arrays, binary search trees, or other more specialized structures.

Many programming languages include associative arrays as primitive data types, while many other languages provide software libraries that support associative arrays. Content-addressable memory is a form of direct hardware-level support for associative arrays.

Associative arrays have many applications including such fundamental programming patterns as memoization and the decorator pattern.[7]

The name does not come from the associative property known in mathematics. Rather, it arises from the association of values with keys. It is not to be confused with associative processors.

  1. ^ Collins, Graham; Syme, Donald (1995). "A theory of finite maps". Higher Order Logic Theorem Proving and Its Applications. Lecture Notes in Computer Science. 971: 122–137. doi:10.1007/3-540-60275-5_61. ISBN 978-3-540-60275-0.
  2. ^ Andersson, Arne (1989). "Optimal Bounds on the Dictionary Problem". Proc. Symposium on Optimal Algorithms. Lecture Notes in Computer Science. 401. Springer Verlag: 106–114. doi:10.1007/3-540-51859-2_10. ISBN 978-3-540-51859-4.
  3. ^ Cite error: The named reference gt was invoked but never defined (see the help page).
  4. ^ Cite error: The named reference ms was invoked but never defined (see the help page).
  5. ^ Cormen, Thomas H.; Leiserson, Charles E.; Rivest, Ronald L.; Stein, Clifford (2001), "11 Hash Tables", Introduction to Algorithms (2nd ed.), MIT Press and McGraw-Hill, pp. 221–252, ISBN 0-262-03293-7.
  6. ^ Dietzfelbinger, M., Karlin, A., Mehlhorn, K., Meyer auf der Heide, F., Rohnert, H., and Tarjan, R. E. 1994. "Dynamic Perfect Hashing: Upper and Lower Bounds" Archived 2016-03-04 at the Wayback Machine. SIAM J. Comput. 23, 4 (Aug. 1994), 738-761. http://portal.acm.org/citation.cfm?id=182370 doi:10.1137/S0097539791194094
  7. ^ Goodrich & Tamassia (2006), pp. 597–599.

and 19 Related for: Associative array information

Request time (Page generated in 0.7984 seconds.)

Associative array

Last Update:

In computer science, an associative array, map, symbol table, or dictionary is an abstract data type that stores a collection of (key, value) pairs, such...

Word Count : 2773

Hash table

Last Update:

a hash map or a hash set, is a data structure that implements an associative array, also called a dictionary, which is an abstract data type that maps...

Word Count : 5928

Array

Last Update:

a programming language to specify a variable that can be indexed Associative array, an abstract data structure model composed of key-value pairs, often...

Word Count : 504

Associative property

Last Update:

also associative, but multiplication of octonions is non-associative. The greatest common divisor and least common multiple functions act associatively. gcd...

Word Count : 3307

YAML

Last Update:

encodes scalars (such as strings, integers, and floats), lists, and associative arrays (also known as maps, dictionaries or hashes). These data types are...

Word Count : 4271

Judy array

Last Update:

In computer science, a Judy array is a data structure implementing a type of associative array with high performance and low memory usage. Unlike most...

Word Count : 405

Hash array mapped trie

Last Update:

A hash array mapped trie (HAMT) is an implementation of an associative array that combines the characteristics of a hash table and an array mapped trie...

Word Count : 613

List of data structures

Last Update:

with a tag specifying which type the data is Container List Tuple Associative array, Map Multimap Set Multiset (bag) Stack Queue (example Priority queue)...

Word Count : 911

Memoization

Last Update:

a function object parameter) if F has no attached array values then allocate an associative array called values; attach values to F; end if; if F.values[arguments]...

Word Count : 3744

Index

Last Update:

in an associative array Index (typography), a character in Unicode, its code is 132 Index, the dataset maintained by search engine indexing Array index...

Word Count : 794

Van Emde Boas tree

Last Update:

Boas priority queue, is a tree data structure which implements an associative array with m-bit integer keys. It was invented by a team led by Dutch computer...

Word Count : 2223

Standard Template Library

Last Update:

provides a set of common classes for C++, such as containers and associative arrays, that can be used with any built-in type and with any user-defined...

Word Count : 2136

Visual IRC

Last Update:

storage immediately, and restored the next time the client starts. Associative arrays map keys to values. Keys and values can contain up to 4 GiB of data...

Word Count : 1412

Reverse lookup

Last Update:

unique key in an associative array. Applications of reverse lookup include reverse DNS lookup, which provides the domain name associated with a particular...

Word Count : 119

MessagePack

Last Update:

a binary form for representing simple data structures like arrays and associative arrays. MessagePack aims to be as compact and simple as possible. The...

Word Count : 429

SystemVerilog

Last Update:

dynamic array int da[]; // dynamic array int ai[int]; // associative array, indexed by int int as[string]; // associative array, indexed by string int qa[$];...

Word Count : 3976

Association list

Last Update:

at the head, until the key is found. Associative lists provide a simple way of implementing an associative array, but are efficient only when the number...

Word Count : 897

Index mapping

Last Update:

bool T[] = { 0, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0 }; return T[m-1]; } Associative array Hash table Lookup table Cormen, Thomas H. (2009). Introduction to...

Word Count : 314

Lookup table

Last Update:

also be defined in place of lookup tables for these calculations. Associative array Branch table Gal's accurate tables Memoization Memory-bound function...

Word Count : 3016

PDF Search Engine © AllGlobal.net