...

/

Weighted Graphs

Weighted Graphs

Learn about the need for weighted graphs.

We'll cover the following...

Vertex and edge attributes

One of the things deeply ingrained in every computer science student is that objects have properties. So, if we put on our object-orientation hat, it’s clear that graphs are objects and so are vertices and edges.

The graph representation chosen for an application can be extended to store additional information for the vertices and edges. In some cases, it may be a good idea to store the information in a second data structure ...