Median String Problem with Unbounded Alphabets: Difference between revisions

From Algorithm Wiki
Jump to navigation Jump to search
(Created page with "{{DISPLAYTITLE:Median String Problem with Unbounded Alphabets (Median String Problem)}} == Description == Given an unbounded alphabet $\Sigma$, a set $W$ of strings over $\Sigma$, and the Levenshtein distance between strings, find a string over $\Sigma$ that minimizes the sum of distances to the strings of $W$. == Related Problems == Related: Median String Problem with Bounded Alphabets, Median String Problem with Binary Alphabets == Parameters == <pre>n:...")
 
No edit summary
Line 10: Line 10:
== Parameters ==  
== Parameters ==  


<pre>n: number of strings</pre>
n: number of strings


== Table of Algorithms ==  
== Table of Algorithms ==  

Revision as of 12:03, 15 February 2023

Description

Given an unbounded alphabet $\Sigma$, a set $W$ of strings over $\Sigma$, and the Levenshtein distance between strings, find a string over $\Sigma$ that minimizes the sum of distances to the strings of $W$.

Related Problems

Related: Median String Problem with Bounded Alphabets, Median String Problem with Binary Alphabets

Parameters

n: number of strings

Table of Algorithms

Name Year Time Space Approximation Factor Model Reference
Naive Solution 1965 {2}^$O(n)$ $O(n)$ auxiliary Exact Deterministic

Time Complexity graph

Median String Problem - Median String Problem with Unbounded Alphabets - Time.png

Space Complexity graph

Median String Problem - Median String Problem with Unbounded Alphabets - Space.png

Pareto Decades graph

Median String Problem - Median String Problem with Unbounded Alphabets - Pareto Frontier.png

References/Citation

https://link.springer.com/content/pdf/10.1007/3-540-44888-8_23.pdf