ONLINE ALGORITHM

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. 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 is given before it can sort it.)
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 neighbours only when it "enters" the node. 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.

Contents
Online algorithms
See also
References
External links

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:

★ Algorithms for the K-server problem
:
BALANCE2
:
BALANCE-SLACK
:
Double Coverage
:
EQUIPOISE
:
HANDICAP
:
HARMONIC
:
RANDOM-SLACK
:
Tight Span Algorithm
:
Tree Algorithm
:
Work Function Algorithm (WFA)

See also



Adversary Model

Competitive analysis

List accessing problem

Metrical task systems

Paging Problem

Real-time computing

References



Online Computation and Competitive Analysis, Borodin, A., , , Cambridge University Press, 1998, ISBN 0-521-56392-5

External links



Bibliography of papers on online algorithms

This article provided by Wikipedia. To edit the contents of this article, click here for original source.

psst.. try this: add to faves