String Reconstruction with Overlap Graph: Graph Representation
Learn two ways of representing graphs.
We'll cover the following...
Graph representation
If you’ve never worked with graphs before, you may be wondering how to represent
graphs in your programs. To make a brief digression from our discussion of genome
assembly, consider the graph in the figure below (top left); we can move around this graph’s
nodes without changing the graph. (For another example, the graphs in this
There are two standard ways of representing a graph. For a directed graph with n nodes, the n × n adjacency matrix (A ...