Class NearbyDistanceMatrix<Origin,Destination>
- java.lang.Object
-
- org.optaplanner.core.impl.heuristic.selector.common.nearby.NearbyDistanceMatrix<Origin,Destination>
-
public final class NearbyDistanceMatrix<Origin,Destination> extends Object
-
-
Constructor Summary
Constructors Constructor Description NearbyDistanceMatrix(NearbyDistanceMeter<Origin,Destination> nearbyDistanceMeter, int originSize, Function<Origin,Iterator<Destination>> destinationIteratorProvider, ToIntFunction<Origin> destinationSizeFunction)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAllDestinations(Origin origin)
Object
getDestination(Origin origin, int nearbyIndex)
-
-
-
Constructor Detail
-
NearbyDistanceMatrix
public NearbyDistanceMatrix(NearbyDistanceMeter<Origin,Destination> nearbyDistanceMeter, int originSize, Function<Origin,Iterator<Destination>> destinationIteratorProvider, ToIntFunction<Origin> destinationSizeFunction)
-
-