Approximation Algorithms_Mehedi
Approximation Algorithms_Mehedi
Approximation Algorithms_Mehedi
Performance Ratios
The main idea behind calculating the performance ratio of an
approximation algorithm also called an approximation ratio, is to find how
close the approximate solution is to the optimal solution.
The approximate ratio is represented using ρ(n) where n is the input size of
the algorithm, C is the near-optimal solution obtained by the algorithm, and
C* is the optimal solution for the problem. The algorithm has an approximate
ratio of ρ(n) if and only if −
max{C/C∗,C∗/C}≤ρ(n)
The algorithm is then called a ρ(n)-approximation algorithm.
Example:
Advantages:
Disadvantages:
Genome rearrangements:
combinatorial problem:
A combinatorial problem consists in, given a finite collection of objects and a set
of constraints, finding an object of the collection that satisfies all constraints (and
possibly that optimizes some objective function).
Reversal, which inverts the order and the orientation of the genes inside
a segment of the genome.
Let,
Adjacent
Breakpoints
Two elements πi and πi+1 of π for all 0 ≤ i ≤ n are called adjacent if |πi
−πi+1| = 1. Otherwise there is said to be a breakpoint between the two
elements. We denote the total number of breakpoints in π by b(π).