|
Data Structures and Algorithms
with Object-Oriented Design Patterns in C# |
public class DigraphAsMatrix : GraphAsMatrix, Digraph
{
// ...
}
Implement the DigraphAsMatrix class
by providing suitable definitions for the following methods:
DigraphAsMatrix (constructor),
Purge,
AddEdge, GetEdge, IsEdge, and Edges.
You must also have a complete implementation of the base class
GraphAsMatrix (see Project