Buscar

Concerning graph algorithms, match column 1 with column 2. I - Minimum Spanning Tree (Prim) II - Shortest Path (Dijkstra) III - Minimum Spanning Tr...

Concerning graph algorithms, match column 1 with column 2.
I - Minimum Spanning Tree (Prim)
II - Shortest Path (Dijkstra)
III - Minimum Spanning Tree (Kruskal)
A - Takes as input an undirected graph with weighted edges, sorts the edges by weight, and chooses the edges in a way that does not close cycles to solve the problem.
B - Takes as input an undirected graph with weighted edges, basically uses breadth-first search choosing edges of smaller weight to solve the problem.
C - Takes as input an undirected graph with weighted edges, basically uses breadth-first search choosing accumulated distances of smaller weight to solve the problem.
a) I-A, II-B, III-C
b) I-B, II-C, III-A
c) I-C, II-A, III-B

Essa pergunta também está no material:

TEORIA DOS GRAFOS - QUESTIONÁRIO UNIDADE II
7 pág.

Teoria dos Grafos Instituto de Ensino e Pesquisa ObjetivoInstituto de Ensino e Pesquisa Objetivo

💡 1 Resposta

User badge image

Ed Verified user icon

A alternativa correta é a letra b) I-B, II-C, III-A: - I - Minimum Spanning Tree (Prim) - A - Takes as input an undirected graph with weighted edges, sorts the edges by weight, and chooses the edges in a way that does not close cycles to solve the problem. - II - Shortest Path (Dijkstra) - C - Takes as input an undirected graph with weighted edges, basically uses breadth-first search choosing accumulated distances of smaller weight to solve the problem. - III - Minimum Spanning Tree (Kruskal) - A - Takes as input an undirected graph with weighted edges, sorts the edges by weight, and chooses the edges in a way that does not close cycles to solve the problem.

0
Dislike0

Faça como milhares de estudantes: teste grátis o Passei Direto

Esse e outros conteúdos desbloqueados

16 milhões de materiais de várias disciplinas

Impressão de materiais

Agora você pode testar o

Passei Direto grátis

Você também pode ser Premium ajudando estudantes

✏️ Responder

SetasNegritoItálicoSublinhadoTachadoCitaçãoCódigoLista numeradaLista com marcadoresSubscritoSobrescritoDiminuir recuoAumentar recuoCor da fonteCor de fundoAlinhamentoLimparInserir linkImagemFórmula

Para escrever sua resposta aqui, entre ou crie uma conta

User badge image

Outros materiais