February 2008
Intermediate to advanced
174 pages
3h 55m
English
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 ...
Read now
Unlock full access