Multilayer and dynamic graphs

Often, we use graphs to map very complex relationships. So, suppose we wanted to create a graph for all the modes of transportation and the routes, similar to how Google Maps give us routes that involve buses, trains, cars, planes, or even combinations of them. We could create something like this using a multilayer graph, where nodes represent airports, bus stops, train stations, and other transportation modes, whereas edges represent flights, routes, and so on. 

We could just label the edges and nodes to describe what each one represents, but that could turn out quite messy. So, instead, we can use a multilayer graph, where each layer is its own network representing a particular type or class of nodes. These ...

Get Hands-On Mathematics for Deep Learning now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.