📄 dictionary.html
字号:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD W3 HTML 2.0//EN">
<HTML lang="en-US">
<HEAD>
<TITLE>dictionary</TITLE>
<META name="description"
content="Definition of dictionary,
possibly with links to more information and implementations.">
<META name="keywords" content="dictionary">
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<H1>dictionary</H1>
<P>
(data structure)
<P>
<strong>Definition:</strong>
An <a href="abstracdtype.html" tppabs="http://hissa.nist.gov/dads/HTML/abstracdtype.html"><em>abstract data type</em></a> storing items associated with values. Basic operations are insert and find.
<P><strong>See also</strong>
<a href="totalorder.html" tppabs="http://hissa.nist.gov/dads/HTML/totalorder.html"><em>total order</em></a>, <a href="assoclist.html" tppabs="http://hissa.nist.gov/dads/HTML/assoclist.html"><em>association list</em></a>, <a href="hashtab.html" tppabs="http://hissa.nist.gov/dads/HTML/hashtab.html"><em>hash table</em></a>, <a href="btree.html" tppabs="http://hissa.nist.gov/dads/HTML/btree.html"><em>B-tree</em></a>.
<P><em>Note:
The operations new(), insert(i, v, D), and find(v, D), where i is an item, v is a value, and D is a dictionary, may be defined as follows. <BR> new() returns a dictionary<BR> find(i, insert(j, v, D)) = {v if i=j otherwise find(i, D)}<BR> The operation find(i, new()) is undefined. If we allow a special token, undefined, as a value to insert, delete(i, D) = insert(i, undefined, D).</em>
<P>Author: <a href="terms.html#authorPEB" tppabs="http://hissa.nist.gov/dads/terms.html#authorPEB">PEB</a>
<H2>Implementation</H2>
<A HREF="javascript:if(confirm('http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://www.cs.sunysb.edu/%7Ealgorith/files/dictionaries.shtml \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://www.cs.sunysb.edu/%7Ealgorith/files/dictionaries.shtml'" tppabs="http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://www.cs.sunysb.edu/%7Ealgorith/files/dictionaries.shtml">(C++, Pascal, and Fortran)</A>
<hr>
Go to the
<A HREF="terms.html" tppabs="http://hissa.nist.gov/dads/terms.html">Algorithms, Data Structures, and Problems</A>
home page.
<hr>
If you have suggestions, corrections, or comments, please get in touch
with
<a href="javascript:if(confirm('http://hissa.nist.gov/~black/black.html \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://hissa.nist.gov/~black/black.html'" tppabs="http://hissa.nist.gov/~black/black.html">Paul E. Black</a>
(<a href="mailto:paul.black@nist.gov">paul.black@nist.gov</a>).
<p>
Entry modified Thu Jul 1 14:12:48 1999.<BR>
HTML page formatted Wed Dec 22 09:35:08 1999.
<P>
This page's URL is
<A href="dictionary.html" tppabs="http://hissa.nist.gov/dads/HTML/dictionary.html">http://hissa.nist.gov/dads/HTML/dictionary.html</A>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -