Directed Graphs: constructor for Digraph

April 28th, 2015

Screen Shot 2015-04-28 at 7.27.18 AM

Screen Shot 2015-04-28 at 7.27.12 AM

Classwork:
Videos 14.1, 14.2 and 14.3

Homework:
Create a copy constructor for Digraph that takes as input a digraph G and creates and initializes a new copy of the digraph. Any changes a client makes to G should not affect the newly created digraph.