List of Washington Wizards seasons: Difference between revisions

From formulasearchengine
Jump to navigation Jump to search
en>Beneto9
No edit summary
 
No edit summary
Line 1: Line 1:
My name is Marquis Seymore but everybody calls me Marquis. I'm from Germany. I'm studying at the college (final year) and I play the Clarinet for 4 years. Usually I choose music from the famous films :). <br>I have two sister. I love Darts, watching TV (The Vampire Diaries) and Leaf collecting and pressing.<br><br>Feel free to visit my web page :: [http://superbikes.bike/blogs/post/561250 wordpress dropbox backup]
{{redirect|SUHA|other uses|Suha (disambiguation){{!}}Suha}}
In [[computer science]], '''SUHA''' ('''S'''imple [[Uniform distribution (discrete)|'''U'''niform]] '''H'''ashing '''A'''ssumption) is a basic assumption that facilitates the mathematical analysis of [[Hash_Table|hash tables]].  The assumption states that a hypothetical [[hashing function]] will evenly distribute items into the slots of a hash table. Moreover, each item to be hashed has an equal [[probability]] of being placed into a slot, regardless of the other elements already placed.  This assumption generalizes the details of the hash function and allows for certain assumptions about the stochastic system.
 
==Applications==
SUHA is most commonly used as a foundation for mathematical proofs describing the properties and behavior of hash tables in [[theoretical computer science]].  Minimizing [[Hash_collision|hashing collisions]] can be achieved with a uniform hashing function.  These functions often rely on the specific input data set and can be quite difficult to implement.  Assuming uniform hashing allows hash table analysis to be made without exact knowledge of the input or the hash function used.
 
==Mathematical implications==
Certain properties of hash tables can be derived once uniform hashing is assumed.
 
===Uniform distribution===
Under the assumption of uniform hashing, given a hash function '''''h''''', and a hash table of size '''''m''''', the probability that two non-equal elements will hash to the same slot is
:<math>P(h(a) = h(b)) =  \frac{1}{m}.</math>
 
===Collision chain length===
Under the assumption of uniform hashing, the [[load factor (computer science)|load factor]] <math>\alpha</math> and the [[Average_case|average]] chain length of a hash table of size '''''m''''' with '''''n''''' elements will be
:<math>\alpha = \tfrac{n}{m}</math>
 
===Successful lookup===
Under the assumption of uniform hashing, the average time (in [[Big O notation|big-O notation]]) to successfully find an element in a hash table using [[Hash_table#Separate_chaining|chaining]] is
:<math>\Theta(\alpha + 1)\,</math>
 
===Unsuccessful lookup===
Under the assumption of uniform hashing, the average time (in big-O notation) to unsuccessfully find an element in a hash table using chaining is
:<math>\Theta(\alpha + 1)\,</math>
 
==Example==
A simple example of using SUHA can be seen while observing an arbitrary hash table of size 10 and a data set of 30 unique elements.  If chaining is used to deal with collisions, the average chain length of this hash table may be a desirable value.  Without any assumptions and with no more additional information about the data or hash function, the chain length cannot be estimated. With SUHA however, we can state that because of an assumed uniform hashing, each element has an equal probability of mapping to a slot.  Since no particular slot should be favored over another, the 30 elements should hash into the 10 slots uniformly.  This will produce a hash table with, on average, 10 chains each of length 3
:<math>\alpha = \tfrac{n}{m}</math>
 
:<math>\alpha = \tfrac{30}{10}</math>
 
:<math>\alpha = 3\,</math>
 
==See also==
*[[Hash Table]]
*[[Hash_collision|Hash Collision]]
*[[Perfect Hashing]]
 
==References==
===General===
* {{cite book
  | last = Collins
  | first = William
  | title = Data Structures and the Java Collections Framework
  | publisher = McGraw-Hill
  | date=  2004
  | chapter = Section 14.3.2: The Uniform Hashing Assumption
  | pages = 608
  | id = ISBN 0-07-282379-8 }}
* {{cite book
  | last = Cormen
  | first = Thomas H.
  | authorlink = Thomas H. Cormen
  | coauthors = [[Charles E. Leiserson]], [[Ronald L. Rivest]], [[Clifford Stein]]
  | title = [[Introduction to Algorithms]]
  | publisher = MIT Press and McGraw-Hill
  | date=  2001
  | chapter = Section 11.2: Hash Tables
  | pages = 226–228
  | id = ISBN 0-262-03293-7 }}
 
 
[[Category:Hashing]]

Revision as of 20:17, 25 September 2013

Name: Jodi Junker
My age: 32
Country: Netherlands
Home town: Oudkarspel
Post code: 1724 Xg
Street: Waterlelie 22

my page - www.hostgator1centcoupon.info In computer science, SUHA (Simple Uniform Hashing Assumption) is a basic assumption that facilitates the mathematical analysis of hash tables. The assumption states that a hypothetical hashing function will evenly distribute items into the slots of a hash table. Moreover, each item to be hashed has an equal probability of being placed into a slot, regardless of the other elements already placed. This assumption generalizes the details of the hash function and allows for certain assumptions about the stochastic system.

Applications

SUHA is most commonly used as a foundation for mathematical proofs describing the properties and behavior of hash tables in theoretical computer science. Minimizing hashing collisions can be achieved with a uniform hashing function. These functions often rely on the specific input data set and can be quite difficult to implement. Assuming uniform hashing allows hash table analysis to be made without exact knowledge of the input or the hash function used.

Mathematical implications

Certain properties of hash tables can be derived once uniform hashing is assumed.

Uniform distribution

Under the assumption of uniform hashing, given a hash function h, and a hash table of size m, the probability that two non-equal elements will hash to the same slot is

P(h(a)=h(b))=1m.

Collision chain length

Under the assumption of uniform hashing, the load factor α and the average chain length of a hash table of size m with n elements will be

α=nm

Successful lookup

Under the assumption of uniform hashing, the average time (in big-O notation) to successfully find an element in a hash table using chaining is

Θ(α+1)

Unsuccessful lookup

Under the assumption of uniform hashing, the average time (in big-O notation) to unsuccessfully find an element in a hash table using chaining is

Θ(α+1)

Example

A simple example of using SUHA can be seen while observing an arbitrary hash table of size 10 and a data set of 30 unique elements. If chaining is used to deal with collisions, the average chain length of this hash table may be a desirable value. Without any assumptions and with no more additional information about the data or hash function, the chain length cannot be estimated. With SUHA however, we can state that because of an assumed uniform hashing, each element has an equal probability of mapping to a slot. Since no particular slot should be favored over another, the 30 elements should hash into the 10 slots uniformly. This will produce a hash table with, on average, 10 chains each of length 3

α=nm
α=3010
α=3

See also

References

General

  • 20 year-old Real Estate Agent Rusty from Saint-Paul, has hobbies and interests which includes monopoly, property developers in singapore and poker. Will soon undertake a contiki trip that may include going to the Lower Valley of the Omo.

    My blog: http://www.primaboinca.com/view_profile.php?userid=5889534
  • 20 year-old Real Estate Agent Rusty from Saint-Paul, has hobbies and interests which includes monopoly, property developers in singapore and poker. Will soon undertake a contiki trip that may include going to the Lower Valley of the Omo.

    My blog: http://www.primaboinca.com/view_profile.php?userid=5889534