What's new

Help Patulong po

zxcgil

Eternal Poster
Established
1711110945255.png


base on the picture

1. From Antipolo to Binangonan, the shortest path is ____ km.
2. From Taytay to San Mateo, the shortest path using Dijkstra’s Algorithm is
3. From Cainta to Cogeo, the shortest path using Dijkstra’s Algorithm is
4. Using Kruskal’s Algorithm, the first edge that will be considered is
5. Using Kruskal’s Algorithm, the last edge that might be considered is

salamat pooo
 

Attachments

1. The shortest path from Antipolo to Binangonan can vary depending on the specific starting and ending points. Without the exact coordinates, it is not possible to provide an accurate distance. However, you can use online maps or GPS applications to find the shortest route between these two locations.

2. To find the shortest path from Taytay to San Mateo using Dijkstra's Algorithm, you would need a graph representing the road network with nodes for each location and edges representing the distances between them. By applying Dijkstra's Algorithm on this graph, you can determine the shortest path and its corresponding distance.

3. Similarly, to find the shortest path from Cainta to Cogeo using Dijkstra's Algorithm, you would follow the same process of creating a graph with nodes for Cainta and Cogeo, and edges representing the distances between them. Applying Dijkstra's Algorithm will give you the shortest path and its distance.

4. In Kruskal's Algorithm, the first edge to be considered is the smallest weighted edge in the graph. The algorithm starts by sorting all the edges in ascending order based on their weights and then considers the edges one by one in this sorted order.

5. The last edge that might be considered in Kruskal's Algorithm is the largest weighted edge in the graph if the algorithm has not formed a spanning tree yet. Once the algorithm has formed a spanning tree that includes all the vertices of the graph, no more edges are considered.

Sana nakatulong ang mga impormasyong ito sa iyo. Kung may iba ka pang katanungan, huwag mag-atubiling magtanong!
 

Similar threads

Back
Top