Search: in
Linear time
Linear time Encyclopedia
  Tutorials     Encyclopedia     Dictionary     Directory  
Linear_time Email this to a friend      Linear_time

Linear time

In computational complexity theory, an algorithm is said to take linear time, or O(n) time, if the asymptotic upper bound for the time it requires is proportional to the size of the input, which is usually denoted n.

Informally spoken, the running time increases linearly with the size of the input. For example, a procedure that adds up all elements of a list requires time proportional to the length of the list. This description is slightly inaccurate, since the running time can significantly deviate from a precise proportionality, especially for small values of n. For more information, see the article on big O notation.

Linear time is often viewed as a desirable attribute for an algorithm. Much research has been invested into creating algorithms exhibiting (nearly) linear time or better. This research includes both software and hardware methods. In the case of hardware, some algorithms which, mathematically speaking, can never achieve linear time with standard computation models are able to run in linear time. There are several hardware technologies which exploit parallelism to provide this. An example is content-addressable memory.

This concept of Linear Time is used in string matching Algorithms such as Bayer-Moore Algorithm, Ukkonen's Algorithm

See also

eo:Lineara tempo ko:?? ?? he:???????? ??? nl:Lineaire tijd ja:???? pt:Complexidade linear sr:???????? ????? tr:Lineer zaman zh:????





Source: Wikipedia | The above article is available under the GNU FDL. | Edit this article



Related Links in Linear time

Search for Linear time in Tutorials
Search for Linear time in Encyclopedia
Search for Linear time in Dictionary
Search for Linear time in Open Directory
Search for Linear time in Store
Search for Linear time in PriceGig



Help build the largest human-edited directory on the web.
Submit a Site - Open Directory Project - Become an Editor

Advertisement

Advertisement



Linear time
Linear_time top Linear_time

Home - Add TutorGig to Your Site - Disclaimer

©2008-2009 TutorGig.com. All Rights Reserved. Privacy Statement