0
Who can help me plz
ex on considere le graph G suivant , où le nombre situé sur l 'arrête joignant deux sommets est leur distance , supposé entière : 1-construire la matrice Mi,j matrice de distance du graph ,definie par: ....
6 odpowiedzi
+ 1
if you'd post your question in English - maybe
+ 1
my French is not that good I'm sorry, I only got from it that a number is situated somewhere and something with distance and create matrices of a graph ... I dunno how to help
+ 1

0
translated into English So help me !!!!!!@@!!!!!!!number on the edge joining two vertices is their distance, assumed to be integer:
1-construct the matrix (M i, j) 0 <i, j <4,
Matrix of distance fu graph between vertices i and j, or the length of the edge connecting vertices i and j.
It is agreed that when the vertices are not connected, this distance is equal to (-1). The distance from vertex i to itself is, of course, equal to 0.
2-write an instruction sequence making it possible to draw from the matrix M the list of neighbors of the vertex 4.
3-write a neighbor function, of argument a vertex i, returning the list of the neighbors of the vertex i.
0
is there also a picture of the graph?
0
i can't paste it