Next: Line Trees
Up: Representation and Utilities
Previous: Edgeless Graphs
Perhaps the most trivial operation that can be performed on
an adjacency matrix is to make two vertices adjacent to each
other. Of course, performing this operation on a tree would
create cycles if the vertices were not already adjacent, so
this operation is defined on graphs, not only trees. To make
any vertices
and
adjacent in the graph, we set the
coordinates
and
in the adjacency matrix to 1.
An analogous operation operation holds for making vertices
non-adjacent. As we deal solely with simple graphs, it is an
error to try to make a vertex
adjacent with itself. We
denote this operation
.
Joshua Taylor
2005-04-27