David Turner, April 7, 2011
OTP Internals (beta version)
The code
The code
class Graph
A HashMap of GraphVertices (keyed by name)
class GraphVertex
Holds a vertex and its incoming and outgoing edges
This structure allows a vertex to be part of more than one graph
Next
:
Edges have costs
Previous
Copyright © 2011, OpenPlans. Licensed under
CC BY-SA