Skip to main content

Module edges

Module edges 

Source
Expand description

Graph edge construction strategies.

Edges connect systems in the petgraph. Edge weights are distances in light-years. Two strategies are provided:

  • KNN: connect each system to its k nearest neighbors
  • Warp range: connect systems within a maximum warp distance

Enumsยง

EdgeStrategy
Strategy for generating graph edges.