• Aucun résultat trouvé

Representation of simplicial complexes Dorian Mazauric

N/A
N/A
Protected

Academic year: 2022

Partager "Representation of simplicial complexes Dorian Mazauric"

Copied!
37
0
0

Texte intégral

(1)

Representation of simplicial complexes

Dorian Mazauric

Inria Sophia Antipolis - M´editerran´ee, Geometrica

(2)

Motivations and Problems

Simplicial complexes are used extensively in combinatorial and computational topology.

Problem→ the size of the complexes is very large and the use of simplicial complexes is limited in practice.

Need for a compact structure→ an important problem is to store simplicial complexes by using compact structures.

Tree representation→ every maximal simplex is represented by a path between the root and a leaf.

(3)

Tree representation

Definition

LetK be a simplicial complex and let E be the set of maximal simplices ofK. A tree T = (V,E,L1) rooted atr ∈V, L1:V → V, is a tree representation ofK if and only if

1 ∀e ∈ E, there is a simple pathPe in T between r and a leaf s. t.∀v∈e, there is u∈V(Pe)\ {r} s. t.L1(u) =v;

2 the number of leaves ofT is |E|.

7 3

1

6

4 2

8 5

r 2 1 3 6 4

8 4 5

6 8

4

7 7

4

(4)

Example

Simplicial complexK composed of eight vertices {v1, . . . ,v8}.

7 3

1

6

4 2

8 5

Maximal simplices :

tetrahedron induced by{v1,v3,v4,v6}, tetrahedron induced by{v2,v4,v5,v8}, triangle induced by {v4,v6,v7}, triangle induced by {v4,v7,v8}.

(5)

Example

Simplicial complex K Tree representation T composed of 15 vertices

7 3

1

6

4 2

8 5

r 2 1 3 6 4

8 4 5

6 8

4

7 7

4

Maximal simplices⇔ paths betweenr and the leafs :

tetrahedron induced by{v1,v3,v4,v6} ⇔path (r,1,3,4,6), tetrahedron induced by{v2,v4,v5,v8} ⇔path (r,2,4,5,8), triangle induced by {v4,v6,v7} ⇔ path (r,6,4,7),

triangle induced by {v4,v7,v8} ⇔ path (r,8,4,7).

(6)

Tree representation

Definition

LetK be a simplicial complex and let E be the set of maximal simplices ofK. A tree T = (V,E,L1) rooted atr ∈V, L1:V → V, is a tree representation ofK if and only if

1 ∀e ∈ E, there is a simple pathPe in T between r and a leaf s. t.∀v∈e, there is u∈V(Pe)\ {r} s. t.L1(u) =v;

2 the number of leaves ofT is |E|.

7 3

1

6

4 2

8 5

r 2 1 3 6 4

8 4 5

6 8

4

7 7

4

(7)

Example

Simplicial complex K Tree representation T composed of 15 vertices

7 3

1

6

4 2

8 5

r 2 1 3 6 4

8 4 5

6 8

4

7 7

4

Maximal simplices⇔ paths betweenr and the leafs :

tetrahedron induced by{v1,v3,v4,v6} ⇔path (r,1,3,4,6), tetrahedron induced by{v2,v4,v5,v8} ⇔path (r,2,4,5,8), triangle induced by {v4,v6,v7} ⇔ path (r,6,4,7),

triangle induced by {v4,v7,v8} ⇔ path (r,8,4,7).

(8)

Example

Simplicial complex K Tree representation T composed of 10 vertices

7 3

1

6

4 2

8 5

2 4 r

6

7 1

3 8

7 5

Maximal simplices⇔ paths betweenr and the leafs :

tetrahedron induced by{v1,v3,v4,v6} ⇔path (r,4,6,1,3), tetrahedron induced by{v2,v4,v5,v8} ⇔path (r,4,8,2,5), triangle induced by {v4,v6,v7} ⇔ path (r,4,6,7),

triangle induced by {v4,v7,v8} ⇔ path (r,4,8,7).

(9)

Simplicial complexes modeled by hypergraphs

Simplicial complex K Hypergraph H Tree representationT

7 3

1

6

4 2

8 5

7 1 3

6 4

2

8 5

2 4 r

6

7 1

3 8

7 5

(10)

Tree representation

Definition

LetH= (V,E) be a hypergraph. A treeT = (V,E,L1) rooted at r∈V,L1 :V → V, is a tree representation of Hif and only if

1 ∀e ∈ E, there is a simple pathPe in T between r and a leaf s. t.∀v∈e, there is u∈V(Pe)\ {r} s. t.L1(u) =v;

2 the number of leaves ofT is |E|.

7 1 3

6 4

2

8 5

2 4 r

6

7 1

3 8

7 5

(11)

Need for additional constraints

LetH= (V,E), where V={v1,v2,v3,v4} and

E={{v1,v2,v3},{v1,v2,v4},{v1,v3,v4},{v2,v3,v4}.

Deciding if{v1,v2,v3} is inT?

→We do not know which neighbor of r to choose.

4 1

r

2

3 4

3

2 1

(12)

Need for additional constraints

Deciding if{v1,v2,v3} is inT?

→We do not know which neighbor of r to choose.

4 1

r

2

3 4

3

2 1

Lemma (simplex search algorithm for tree representation) Let A be any algorithm for the problem of searching a given maximal simplex. Then, there exists a hypergraphH= (V,E)and a tree representation T ofHsuch that the time complexity of Ais Ω(|V|2) = Ω(|V(T)|).

(13)

Global tree representation

Definition

LetH= (V,E) be a hypergraph. A treeT = (V,E,L1,L2) rooted atr ∈V,L1:V → V,L2:V →J0,|V|K, is a global tree

representation ofHif and only if

1 ∀e ∈ E, there is a simple pathPe in T between r and a leaf s. t.∀v∈e, there is u∈V(Pe)\ {r} s. t.L1(u) =v;

2 the number of leaves ofT is |E|;

3 ∀u,u0 ∈V, thenL1(u) =L1(u0) ⇔ L2(u) =L2(u0) ;

4 for every simple path P = (r,u1, . . . ,ut) of T, then L2(ui)<L2(ui+1) for all i ∈J1,t−1K.

⇒Every path ofT follows a global orderσ induced byL2.

(14)

Global tree representation

E={{v1,v3,v4,v6},{v2,v4,v5,v8},{v4,v6,v7},{v4,v7,v8}.

Every path ofT follows a global orderσ induced byL2.

σ =

(v1,v2,v3,v6,v8,v4,v5,v7)

σ=

(v4,v6,v8,v7,v1,v3,v2,v5)

r 2 1 3 6 4

8 4 5

6 8

4

7 7

4

2 4 r

6

7 1

3 8

7 5

Tree obtained withσ= (v7,v4,v6,v8,v1,v3,v2,v5) ?

(15)

Global tree representation

E={{v1,v3,v4,v6},{v2,v4,v5,v8},{v4,v6,v7},{v4,v7,v8}.

Global tree representation obtained with σ= (v7,v4,v6,v8,v1,v3,v2,v5) :

7 r

4 6

4

5 6

8 1 2

3 8

(16)

Different global tree representations

E={{v1,v3,v4,v6},{v2,v4,v5,v8},{v4,v6,v7},{v4,v7,v8}.

r 2 1 3 4 6

4 5 8

6 8

4

7 7

4

2 4 r

6

7 1

3 8

7 5 7

r

4 6

4

5 6

8 1 2

3 8

(17)

Complexity of search algorithms

LetHbe any hypergraph.

LetT be a global tree representation ofH.

Complexity of an algorithm for the problem of searching a given maximal simplex ?

(the set of neighbors of every node of T is ordered according to L2) dH: dimension ofH.

|E|: number of hyperedges ofH.

|V(T)|: number of nodes ofT.

T : maximum degree ofT. . . .

(18)

Complexity of search algorithms

O(log2(∆T))-time for dertermining the ”neighbor”

corresponding to the current node of the simplex.

Each path between the root and a leaf has size at most dH.

Lemma (simplex search algorithm for global tree representation) LetHbe any hypergraph and let T be a global tree representation ofH. There exists a O(dHlog2(∆T))-time complexity algorithm for the problem of searching a given maximal simplex.

dH: dimension ofH.

T : maximum degree ofT.

(19)

Complexity of search algorithms

Lemma (simplex search algorithm for tree representation) Let A be any algorithm for the problem of searching a given maximal simplex. Then, there exists a hypergraphH= (V,E)and a tree representation T ofHsuch that the time complexity of Ais Ω(|V|2) = Ω(|V(T)|).

Lemma (simplex search algorithm for global tree representation) LetHbe any hypergraph and let T be a global tree representation ofH. There exists a O(dHlog2(∆T))-time complexity algorithm for the problem of searching a given maximal simplex.

dH: dimension ofH.

T : maximum degree ofT.

(20)

Global tree representation problem

Problem

LetH= (V,E) be any hypergraph. The global tree representation problem consists in computing the maximummaxglobal such that there exists a global tree representation Tglobal of Hwith

|V(Tglobal )|=−maxglobal + 1 +X

e∈E

|e|.

r 2 1 3 6 4

8 4 5

6 8

4

7 7

4

2 4 r

6

7 1

3 8

7 5

maxglobal = 5

(21)

Complexity results

Theorem

The decision variant of the global tree representation problem is NP-complete even for the class of cubic graphs and for the class of planar graphs of degree at most three.

Idea of the proof for graphs ? Reduction with vertex cover problem ? A vertex coverX ofG is s. t. ∀{u,v} ∈ E, then{u,v} ∩X 6=∅.

Optimal global tree representation for :

6 4

5 7

9 8

3 2 1

(22)

Sketch of the proof

LetH= (V,E) be any graph. The number of leafs of any tree representation is the number of edges|E|.

⇒The global tree representation problem is equivalent to minmize the number of neighbors of the rootr.

The set of neighbors of r forms a vertex coverX of G (∀{u,v} ∈ E, then{u,v} ∩X 6=∅).

Vertex cover problem is NP-complete, and so global tree representation problem is NP-complete.

6 4

5

7

9 8

3 2 1

2 3 5 9 4 5 7 9

2 4 5

r

1 6 8

(23)

Exercise

LetH= (V,E), where V={a1,a2,a3,a4,b1,b2,b3,b4}and E={{a1,a2,a3,a4,b1},{a1,a2,a3,a4,b2},{a1,a2,a3,a4,b3}, {a1,a2,a3,a4,b4},{b1,b2,b3,b4,a1},{b1,b2,b3,b4,a2}, {b1,b2,b3,b4,a3},{b1,b2,b3,b4,a4}}.

Find an optimal global tree representation ofH?

In other words, find an optimal ordering for the global tree representation problem ?

(24)

Exercise

E={{a1,a2,a3,a4,b1},{a1,a2,a3,a4,b2},{a1,a2,a3,a4,b3}, {a1,a2,a3,a4,b4},{b1,b2,b3,b4,a1},{b1,b2,b3,b4,a2}, {b1,b2,b3,b4,a3},{b1,b2,b3,b4,a4}}.

σ = (a1,a2,a3,a4,b1,b2,b3,b4)

r

3 2 1

2 2 1 1

1 2 3 4

3 2

2 1

2 1

4

4 4 4 4 4

3 3 3

3

(25)

Limit of global tree representation

σ = (a1,a2,a3,a4,b1,b2,b3,b4)

r

3 2 1

2 2 1 1

1 2 3 4

3 2

2 1

2 1

4

4 4 4 4 4

3 3 3

3

⇒ We cannot factorize{b1,b2,b3,b4}.

⇒ Local tree representation.

(26)

Local tree representation (recursive definition)

Definition

LetH= (V,E) be a hypergraph. A local tree representation ofH is a node-labeled treeT = (V,E,L1,L2) rooted at r ∈V,

L1 :V → V,L2 :V →J0,|V|K, such that :

1 if |E|= 0, thenT = ({r},∅) ;

2 if |E| ≥1, then there exists a node u∈NT(r), with L1(u) =v ∈ V, such that :

1 for everyu0 NT(r)\ {u}, thenL2(u)<L2(u0) ;

2 the treeT[u] rooted atr0=u is a local tree representation of (V \ {v},Ev) ;

3 the treeT \T[u] rooted atr is a local tree representation of (V \ {v},E¯v).

Ev ={e\ {v} |v ∈e,e ∈ E}.

v ={e |v ∈/e,e ∈ E}.

(27)

Local tree representation problem

Problem

LetH= (V,E) be any hypergraph. The local tree representation problem consists in computing the maximummaxlocal such that there exists a local tree representation Tlocal of Hwith

|V(Tlocal )|=−maxlocal+ 1 +P

e∈E|e|.

(28)

Example

Definition

LetH= (V,E) be a hypergraph. A local tree representation ofH is a node-labeled treeT = (V,E,L1,L2) rooted at r ∈V,

L1 :V → V,L2 :V →J0,|V|K, such that :

1 if |E|= 0, thenT = ({r},∅) ;

2 if |E| ≥1, then there exists a node u∈NT(r), with L1(u) =v ∈ V, such that :

1 for everyu0 NT(r)\ {u}, thenL2(u)<L2(u0) ;

2 the treeT[u] rooted atr0=u is a local tree representation of (V \ {v},Ev) ;

3 the treeT \T[u] rooted atr is a local tree representation of (V \ {v},E¯v).

Optimal local tree representation forE={{a1,a2,a3,a4,b1}, {a1,a2,a3,a4,b2},{a1,a2,a3,a4,b3},{a1,a2,a3,a4,b4}, {b1,b2,b3,b4,a1},{b1,b2,b3,b4,a2},{b1,b2,b3,b4,a3}, {b1,b2,b3,b4,a4}}?

(29)

Example

a1

3 2

1 2

1 r

2 1

1

3 2

4 3

4 3

2

4 4

3

4

a1 and a2

3 2

1 2

1 r

2 1

1

3 2

4 3

4 3

2

4 4

3

4

without a1

3 2

1 2

1 r

2 1

1

3 2

4 3

4 3

2

4 4

3

4

(30)

Local versus Global → Local for the number of nodes

r

3 2 1

2 2 1 1

1 2 3 4

3 2

2 1

2 1

4

4 4 4 4 4

3 3 3

3 3

2

1 2

1 r

2 1

1

3 2

4 3

4 3

2

4 4

3

4

Property

LetHbe any hypergraph. Then, |V(Tglobal )| ≥ |V(Tlocal )|and maxglobal ≤maxlocal.

Lemma

For any n≥1, there exists a hypergraph H= (V,E), with n=|V|, such that|V(Tlocal )| ≤5n and|V(Tglobal )| ≥n2, and

maxlocal ≥2n2−3n+ 1andmaxglobal ≤(n+ 1)2.

(31)

Local versus Global → Global for the search complexity

Lemma (simplex search algorithm for global tree representation) LetHbe any hypergraph and let T be a global tree representation ofH. There exists a O(dHlog2(∆T))-time complexity algorithm for the problem of searching a given maximal simplex.

Lemma (simplex search algorithm for local tree representation) LetH be any hypergraph and let T be a local tree representation of H. There exists a O(dH2 log2(∆T))-time complexity algorithm for the problem of searching a given maximal simplex.

(32)

Tree representations of bounded degree hypergraphs

Theorem

The global and local tree representation problems are in P for hypergraphs with maximum degree at most two.

Maximum weighted independent set of a line graph→ polynomial

3 3

4 2

1

1 2

1 2

3 4 5

6

(33)

Tree representations of bounded degree hypergraphs

Theorem

The decision variants of the global and local tree representation problems are NP-complete even for hypergraphs with maximum degree three.

Corollary

The global and local tree representation problems cannot be approximated within log(kk )-ratio in polynomial time for the class of hypergraphs of maximum degree k, where k≥3is a constant integer, unless P = NP.

Corollary

The global and local tree representation problems admit a polynomial time k2-approximation algorithm for the class of hypergraphs of maximum degree k, where k≥3is a constant integer.

(34)

Conclusion

Tree representation

Decreasing the size of the representation.

Updating the structure efficiently.

Global representation versus Local representation

Global representation : efficient in terms of time complexity for searching a given simplex.

Local representation : efficient in terms of size of the structure Complexity results

NP-complete for graphs.

Hard to approximate for bounded degree hypergraphs.

(35)

Future works

Representation of all the simplexes (not only maximal).

Digraph representation : efficient in terms of size of the structure and time complexity for searching a simplex.

3 2

1

2

4

4 3

3 2

1 4

1 r

1

1 2 3 4

2

3 4 5

2 3 4

5 5 5 5

5 5 5

(36)

Internship at Inria Sophia Antipolis M´ editerran´ ee

Directed graph representation of simplicial complexes.

Definition of the structure

Complexity results : hardness results...

Algorithms : Branch and Bound, approximation...

Implementation

Contact

Jean-Daniel.Boissonnat@inria.fr,Dorian.Mazauric@inria.fr (project-team Geometrica)

(37)

References

[3],[1],[2].

J.-D. Boissonnat, C. S. Karthik, and S. Tavenas.

Building efficient and compact, data structures for simplicial complexes.

Submitted to SoCG 2015.

J.-D. Boissonnat and C. Maria.

The simplex tree : An efficient data structure for general simplicial complexes.

Algorithmica, 70(3) :406–427, 2014.

J.-D. Boissonnat and D. Mazauric.

On the complexity of the representation of simplicial complexes by trees.

Submitted to SoCG 2015.

Références

Documents relatifs

If we use a basic clustering algorithm based on the minimization of the empirical distortion (such as the k-means algorithm) when we deal with noisy data, the expected criterion

As a consequence of our general result, we obtain an improved approximation guarantee of k+3 2 for a variety of monotone submodular maximization problems (some of which

The time bounds mentioned thus arise from the SAT algorithms used – the randomized 3-SAT algorithm by Hertli [9] and the deterministic one of Moser and Scheder [15] (which is in fact

We study the problem of deploying k base stations in a wireless sensor network such that the maximum shortest hop distance from all the sensor nodes to their designated base stations

In this paper, inspired by Progressive Visual Analytics [30], we introduce a progressive k-d tree for approximate k-nearest neighbor algorithm that can keep the latency for

L’archive ouverte pluridisciplinaire HAL, est destinée au dépôt et à la diffusion de documents scientifiques de niveau recherche, publiés ou non, émanant des

The next multicolumns exhibit the results obtained on instances 1.8 and 3.5: “P rimal best ” presents the average value of the best integer solution found in the search tree; “Gap

La décomposition en modes propres est aussi une méthode qui s’applique dans le domaine fréquentiel, elle est basée sur l'expansion des champs électromagnétiques, comme dans la