laboratory 12
Weighted Graph ADT
Objectives
In this laboratory you
create an implementation of the Weighted Graph ADT using a vertex list and an adjacency matrix.
develop a routine that finds the least costly (or shortest) path between each pair of vertices in a graph.
add vertex coloring and implement a function that checks whether a graph has a proper coloring.
investigate the Four-Color Theorem by generating a graph for which no proper coloring ...
Get C++ Data Structures: A Laboratory Course, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.