Interface VertexMetricFunction<U>
- Type Parameters:
U
- type of the users.
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface VertexMetricFunction<U>
Functional interface for retrieving vertex metrics metrics.
-
Method Summary
Modifier and Type Method Description VertexMetric<U>
apply(DistanceCalculator<U> dc)
Function for retrieving a vertex metric.
-
Method Details
-
apply
Function for retrieving a vertex metric.- Parameters:
dc
- a distance calculator.- Returns:
- the configured vertex metric.
-