All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.zabuzard.maglev.external.algorithms.HasPathCost Maven / Gradle / Ivy

Go to download

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();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy