answersLogoWhite

0

What is an approximation algorithm?

User Avatar

Anonymous

15y ago
Updated: 8/17/2019

An algorithm that can find an approximate result quickly when an exact result would be too expensive to calculate.

As an example, if you wanted to find the largest number among millions of numbers (and these numbers where somehow very expensive to find or operate on), you could sample a thousand of them, have a look at the statistical distribution of those thousand numbers, and say that the maximum among all the numbers is within such-and-such a range with such-and-such probability.

You could say that a public poll uses an approximation algorithm - instead of asking everyone in the country, you ask a small sample and extrapolate from the result using statistical methods.

See related link.

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

What is the 2-approximation algorithm for solving the Traveling Salesman Problem?

The 2-approximation algorithm for the Traveling Salesman Problem is a method that provides a solution that is at most twice the optimal solution. This algorithm works by finding a minimum spanning tree of the given graph and then traversing the tree to form a tour that visits each vertex exactly once.


What are some synonyms for exponential?

Some good synonyms for the word "exponential" are, accumulative, declining, depleted, down, fourfold, gathering, graduated, growing, abacus, algorithm, approximation, average, countdown, binomial and deviation.


What is Approximation for pi?

3.14 is the commonly used approximation


What is approximation error?

An approximation error is the discrepancy between an exact value and the approximation to it. This occurs when the measurement of something is not precise.


Is a heuristic an algorithm?

In practice, it may be. But they are still different things.A heuristic is a rough approximation that can help solving a problem.For example, in a path-finding algorithm, if your destination is northbound, you may try goring north first. This is the heuristic.It may not be correct (there may be a dead-end) but most of the time, it helps getting there faster.


When was Constructive Approximation created?

Constructive Approximation was created in 1985.


What is algorithm to write algorithm to the program to access a pointer variable in structure?

Here is the algorithm of the algorithm to write an algorithm to access a pointer in a variable. Algorithmically.name_of_the_structure dot name_of_the _field,eg:mystruct.pointerfield


Which algorithm is more efficient lamport bakery algorithm or black and white bakery algorithm?

Black and White bakery algorithm is more efficient.


What is complsexity of an algorithm?

Complexity of an algorithm is a measure of how long an algorithm would take to complete given


What is wound approximation?

Wound approximation is when you bring the edges of a laceration together.


What is the fractional equivalent of the approximation of pi?

That depends on how precise you want the approximation.


What mathematical principle is equal to 3.14?

That's not a "mathematical principle", it is an approximation of the number pi.That's not a "mathematical principle", it is an approximation of the number pi.That's not a "mathematical principle", it is an approximation of the number pi.That's not a "mathematical principle", it is an approximation of the number pi.