pub type SpacialGraph<T> = GenericGraph<T, SpacialNodeContainer<T>>;
Expand description

Type definiton for convinience. This is used to implement the spacial ensemble

Implementations

Euclidean distance between two vertices
  • Calculates the distance between the vertices corresponding to the indices i and j
  • None if any of the indices is out of bounds