• Aucun résultat trouvé

2 Cube graph (/)

N/A
N/A
Protected

Academic year: 2022

Partager "2 Cube graph (/)"

Copied!
3
0
0

Texte intégral

(1)

U.T.B.M 2017-2018

K. Deschinkel AG44

Median Exam - 2h

1 Euler (/)

1. Suppose a connected graph G has degree sequenced1, d2, ..., dn. How many edges must be added to G so that the resulting graph has an Euler circuit? Explain.

2. Which complete graphsKn, n≥2, have Euler circuits? Which have Euler trail? Justify your answers.

3. For each of the graphs below, state whether it has an Euler circuit. If the answer is yes, draw such a circuit (use arrows and number the sequence of edges in the order traveled).

2 Cube graph (/)

The cube graph Qn is defined as follows: the vertices of Qn are all sequences of lenght n with entries from{0,1} and two sequences are joined by an edge if they differ in exactly one position.

1. How many edges doesQn have?

2. What is the degree sequence ofQn? 3. Which cube graphsQn is eulerian?

4. Show that the cube graphQn is bipartite?

1

(2)

3 Incompatibility (/)

A group of eight people is meeting for dinner. The incompatible relations among the members are summarized in the following table :

A B C D E F G H

does not agree with B,D A,F,E,H D,E A,C,G B,C,F B,E,H H,D B,F,G 1. Model the conflicts among people in the form of a graph (specify the notation of vertices

and edges).

2. Propose a plan table (the table is circular) for this group by separating the any two incom- patible persons. Show that the problem consists in finding a particular set of vertices in a particular graph (specify which set in which graph).

4 Shortest Paths (/)

4.1 Part 1

Consider the following undirected, weighted graph

Step through Dijkstra’s algorithm to calculate the single-source shortest paths from 0 to every other vertex.

4.2 Part 2

Why the Dijkstra algorithm doesn’t work with negative edges, could you give an example?

2

(3)

5 Graph Traversal (/)

5.1 Part 1

Apply the DFS-based algorithm to solve the topological sorting problem for the following digraph

(for DFS, use the alphabetical order).

5.2 Part 2

1. A graph is said to be bipartite if its vertices can be colored in two colors so that every edge has its vertices colored in different colored in different colors. Design a DFS-based algorithm for cheking whether a graph is bipartite.

2. Apply this algorithm to say if the following graphs are bipartite or not.

6 Vertex connectivity

Calculate the vertex and edge connectivity of the following graph. Thereafter, chose a vertex and delete it. Calculate the new edge and vertex connectivity. Does the choice of vertex matter?

3

Références

Documents relatifs

Partitive articles (du, de la, del') are used to introduce mass nouns, that is nouns that are conceived of as a mass of indeterminate quantity.. They are usually translated as

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 New Zealand Immigration and Protection Tribunal made a point of saying that the effects of climate change were not the reason for granting residency to the family, but

– In order to adapt OLAP to multidimensional networks by considering both nodes and edges, we propose graphs enriched by cubes.. Each node or edge is weighted by an

In this work, we propose two partial algorithms based on compact graph structures - the De Bruijn graphs and the Aho-Corasick automaton - allowing the detection of disconnectivity

The inverse map 0~ 1 , which associates to a point the set of coding sequences (1,2,4 or 6 depending whether the orbit meets an edge or a vertex) is injective, not continuous (this

For verification of compatibility, the behavior of interacting components, at their interfaces, is modeled by labeled Petri nets with labels representing the requested and

The above results can be used to generate integer vertices of the feasible set X, adjacent to a given integer vertex x 1.. The efficiency of a procedure based on these results will