Interface GraphMetricFunction<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 GraphMetricFunction<U>
Functional interface for retrieving global graph metrics.
-
Method Summary
Modifier and Type Method Description GraphMetric<U>
apply(DistanceCalculator<U> dc)
Function for retrieving a global graph metric.
-
Method Details
-
apply
Function for retrieving a global graph metric.- Parameters:
dc
- a distance calculator.- Returns:
- the configured graph metric.
-