algorithm

package
v0.0.0-...-5486901 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package algorithm calculates the shortest path in a directed, weighted graph with a set of requirements.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Route

func Route(graph *m.Graph) []*m.Edge

Route takes a created graph object and finds the shortest path from start to end, returning that path as a list of edges.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL