The shortest paths module¶
Shortest paths class.
-
class
hcga.features.shortest_paths.
ShortestPaths
(graph=None)[source]¶ Shortest paths class.
Features based on the shortest paths across the network.
- Shortest paths calculations using networkx:
Initialise a feature class.
- Parameters
graph (Graph) – graph for initialisation, converted to given encoding