io.github.zabuzard.maglev.external.algorithms.HasPathCost Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of maglev Show documentation
Show all versions of maglev Show documentation
Maglev is a library that provides fast and generic solutions for shortest path problems (SPP)
The newest version!
package io.github.zabuzard.maglev.external.algorithms;
/**
* Interface for classes that provide path costs.
*
* @author Daniel Tischner {@literal }
*/
@FunctionalInterface
public interface HasPathCost {
/**
* Gets the path cost.
*
* @return The cost of the path, not negative
*/
double getPathCost();
}