Gets the distance between two points
Gets the distance between two points
ID of source node to get distance from
ID of destination node to get distance to
Distance between source and destination
Gets the distance between two points safely.
Gets the distance between two points safely.
ID of source node to get distance from
ID of destination node to get distance to
Distance between source and destination wrapped in an Option
Returns a list of all IDs contained in the store
Returns a list of all IDs contained in the store
an immutable Set containing the IDs of the nodes in the store
Adds a new distance to the store or updates if the pair exists already.
Adds a new distance to the store or updates if the pair exists already.
ID of source node to get distances from
ID of destination node to get distance of
Distance between source and destination
Interface trait for a class that contains distances to embed
This interface is kept completely abstract so as to be Java-friendly.