Testing Convexity Properties
- f Tree Colorings
Testing Convexity Properties of Tree Colorings Eldar Fischer and - - PowerPoint PPT Presentation
STACS 2007, RWTH Aachen University, Germany Testing Convexity Properties of Tree Colorings Eldar Fischer and Orly Yahalom Technion IIT, Haifa, Israel Convex colorings A tree coloring is convex convex convex convex if it induces
A tree coloring is convex
A Phylogenetic tree describes the
Colorings represent characters.
A Phylogenetic tree describes the
Colorings represent characters. Normally, these colorings are
Given a domain D of inputs, a distance function
2
: [0,1] d D →
Given a domain D of inputs, a distance function
2
: [0,1] d D →
Given a domain D of inputs, a distance function
Given a property and
D P ⊆
2
: [0,1] d D →
P f ∈ '
P P
If then accepts
If is -far from , then rejects
Property testing vs. classical decision problems:
Relaxed requirements Reading only part of the input
Property testing vs. classical decision problems:
Relaxed requirements Reading only part of the input
Property testing is useful for large data sets. Property testers are randomized algorithms
Normally, the query complexity
A test is called 1
A test is called non
The structure
The k
A query of a vertex u returns c(u).
We are given a weight function
The distance between two colorings
Options for :
Given in advance Distribution free testing
u V
1
2
1 2
A distribution free test for convexity
A lower bound for convexity on trees Tests for variants of convexity
A distribution free test for convexity
A lower bound for convexity on trees Tests for variants of convexity The query complexity of our tests
All our tests are 1-sided.
Query complexity Computational complexity: ,
Forbidden subpath
Forbidden subpath
Convex coloring ⇔ no forbidden subpath
Forbidden subpath
Convex coloring ⇔ no forbidden subpaths Detecting a forbidden subpath:
Sampling a forbidden subpath
Forbidden subpath
Convex coloring ⇔ no forbidden subpaths Detecting a forbidden subpath:
Sampling a forbidden subpath Sampling two ends of conflicting subpaths
Critical vertex
Query O(k/ε) vertices
Search the sample for
Query O(k/ε) vertices
Search the sample for
Query O(k/ε) vertices
Search the sample for
Reject iff a forbidden subpath
A convex coloring does not include a
The bulk of the proof is to show that a
For a vertex u, u
u
For a vertex u, u
For a color i, a vertex
u
For a vertex u, u
For a color i, a vertex
u
A color i is abundant
A vertex u is heavy
B1 B2
B1 B2
B1 B2 B1
B1 B2 B1 B2
Assume that the Bi’s (at least 2) are disjoint.
B1 B2 B3
Assume that the Bi’s (at least 2) are disjoint. Define a coloring c’ :
B1 B2 B3
Assume that the Bi’s (at least 2) are disjoint. Define a coloring c’ :
B1 B2 B3
Assume that the Bi’s (at least 2) are disjoint. Define a coloring c’ :
B1 B2 B3
Assume that the Bi’s (at least 2) are disjoint. Define a coloring c’ :
B1 B2 B3
c’ is convex. c’ is ε-close to c.
Assume that the Bi’s (at least 2) are disjoint. Define a coloring c’ :
B1 B2 B3
c’ is convex. c’ is ε-close to c. => c is ε-close to
Assuming that a coloring c is ε-far from being
By the proposition, there exist two colors
i j
Assuming that a coloring c is ε-far from being
By the proposition, there exist two colors
Case 1: u is a heavy i-vertex, and j-balanced Case 2: u is both i-balanced and j-balanced
i j
To reject c, it suffices to sample one vertex
This happens with probability ≥ 2/3.
To reject c, it suffices to sample one vertex
This happens with probability ≥ 2/3.
A distribution free test for convexity on
A distribution free test for convexity on
A lower bound of for the query
/ k ε
A distribution free test for convexity on
A lower bound of for the query
Tests for variants of convexity:
Quasi-convexity Relaxed convexity properties
/ k ε