Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Minimum Common
Substring Partition
abcdefghijkh
hijkhefgabcd
Biological Applications(2)
MCIP is a special case of Minimum Common
Substring Partition(MCSP)
MCSP(S,T)
S= aa...a |- aa...a |- aa...a MCIP(S',T')
x1 x2 xn S'= {x1, x2, , xm}
T'= {y1, y2, , yn}
T= aa...a -| aa...a -| aa...a
y1 y2 ym
Outline
Introduction
Approximation of 2-MCIP
Positive results
Negative results
Approximation of k-MCIP
Conclusion and future work
Some basic facts
|MCIP(S1,S2,…,Sk)|¸
max(|S1|,|S2|,…,|Sk|)
|MCIP(S,T)|· m+n-1. |
S|=m,|T|=n
Algorithm Analysis
An example: S= {3, 3, 4},T={2,2,6}
Round S T CIP
0 {3,3,4} {2,2,6} ;
1 {1,3,4} {2,6} {2}
2 {3,4} {1,6} {2,1}
3 {2,4} {6} {2,1,1}
4 {4} {4} {2,1,1,2}
5 ; ; {2,1,1,2,4}
|MCIP(S,T)|· m+n-1
|MCIP(S,T)| ¸ max(m,n)
Approximation ratio is 2
Definitions for MRSP(1)
Related multisets: if S=T and S,T ; , S and T
are a pair of related multisets.
Example:{3, 3, 4,5, 10}
{2, 2, 6,8,7}
Introduction
Approximation of 2-MCIP
– Positive results
– Negative results
Approximation of k-MCIP
Conclusion and future work
General framework
IP1 IP2
If P1 cannot be approximated
x f(x) within some constant ratio c,
P2 cannot be approximated by
some constant ratio c'.
g(x,y) y
SOLP1(x) SOLP2(f(x))
Linear Reduction · L
OPTP2(f(x)) · OPTP1(x)
| OPTP1(x)- g(x,y)| ·|OPTP2(f(x))-y|
Maximum 3DM-3
Problem Definition
Given a set Dµ X£ Y£ Z, where X, Y and Z are disjoint sets,
and each element occurs in at most three triples, find a
matching with the maximum cardinality.
Known fact
Maximum 3DM-3 cannot be approximated within some
constant ratio. [Kann91]
X:
X:
Y:
Y:
Z:
Z:
L-reduction(1)
f: S={4i| i2 X[Y[Z }
T={4i1+4i2+4i3 | (i1,i2,i3)2D}
S: X Y Z
T: D
•OPTMCIP · 70*OPT3DM
L-reduction(2)
g: - CIP ! RSP
|OPTRSP –SOLRSP| · |OPTMCIP – SOLMCIP |
- RSP ! 3DM
S1: 0 1 ...
1 ...
1 1
•OPT3DM ¼OPTRSP
X Y Z
T1: *
i1
*
i2
* •Each related submultiset
i3
di includes at least one triple
D
|OPT3DM –SOL3DM| · |OPTRSP – SOLRSP |
L-reduction(3)
There is a constant c s.t. Maximum 3DM-3 cannot
be approximated within c.
There is a L-reduction s.t.
OPTMCIP · 70*OPT3DM
|OPT3DM –SOL3DM| · |OPTMCIP – SOLMCIP|
Introduction
Approximation of 2-MCIP
Approximation of k-MCIP
Conclusion and future work
Approximate k-MCIP
Run Greedy_CIP(S,T) sequentially on S1,S2, …,
Sk.
|MCIP(S1,S2,…,Sk)| · |S1|+|S2|+…+|Sk|
|MCIP(S1,S2,…,Sk)| ¸ max(|S1|,|S2|,…,|Sk|)
Approximation ratio is k
We can get a {3k(k-1)}/(3k-2)- approximation
by removing the common elements.
Outline
Introduction
Approximation of 2-MCIP
Approximation of k-MCIP
Conclusion and future work
Upper bound Lower bound
2-MCIP 5/4 APX-hard
k-MCIP (k>2) {3k(k-1)}/(3k-2) APX-hard
Thanks for your time and
attention!