Data Structures and Algorithms
with Object-Oriented Design Patterns in C#![]() ![]() ![]() ![]() ![]() |
Program also declares four IEnumerable properties.
The IncidentEdges property can be used to enumerate
the elements of the
;
the EmanatingEdges property can be used to enumerate
the elements of
.
Similarly, the Predecessors property can be used to enumerate
the elements of
and the Successors property can be used to enumerate
the elements of
.
The elements of
and
are vertices
whereas the elements of
and
are edges.