Citizendia
Your Ad Here

In computer science, an online algorithm is one that can process its input piece-by-piece, without having the entire input available from the start. Computer science (or computing science) is the study and the Science of the theoretical foundations of Information and Computation and their In contrast, an offline algorithm is given the whole problem data from the beginning and is required to output an answer which solves the problem at hand. (For example, selection sort requires that the entire list be given before it can sort it. Selection sort is a Sorting algorithm, specifically an in-place Comparison sort. )

As an example of the problem consider the problem of finding a shortest path in a finite connected graph when the graph is unknown and the algorithm receives the node neighbors only when it "enters" the node. In Graph theory, the shortest path problem is the problem of finding a path between two vertices (or nodes such that the sum of the weights In Mathematics and Computer science, graph theory is the study of graphs: mathematical structures used to model pairwise relations between objects A node is an abstract basic unit used to build linked Data structures such as trees, Linked lists and computer-based representations of graphs It is clear that this problem can not be solved optimally without a simple exhaustive search. Thus, new performance measures have to be introduced, such as competitive analysis, which compares the performance of an online algorithm with that of a hypothetical offline algorithm that knows the entire input in advance. Competitive analysis is a method invented for analyzing online algorithms, in which the performance of an online algorithm (which must satisfy an unpredictable sequence of requests

Contents

Online algorithms

The names below are referenced with capital letters since they appear in papers with capital letters. The following are the names of some online algorithms:

  • BALANCE2
  • BALANCE-SLACK
  • Double Coverage
  • EQUIPOISE
  • HANDICAP
  • HARMONIC
  • RANDOM-SLACK
  • Tight Span Algorithm
  • Tree Algorithm
  • Work Function Algorithm (WFA)

See also

References

External links


© 2009 citizendia.org; parts available under the terms of GNU Free Documentation License, from http://en.wikipedia.org
Dapyx Software network: MP3 Explorer | Ebook Manager | Zenithic