RoutingAlgorithm

A routing algorithm that finds the optimal path between two cells. The algorithm is responsible for finding the path and returning the result.

Inheritors

Functions

Link copied to clipboard
abstract fun findPath(start: Cell, end: Cell, travelCost: CellTravelCostSupplier): RoutingResult

Finds the optimal path between the start and end cell using the given travel cost supplier.

Link copied to clipboard
abstract fun getAlgorithmName(): String

Gets the name of the algorithm.