Package org.optaplanner.core.impl.heuristic.selector.common.nearby

## Class NearbyDistanceMatrix

- java.lang.Object
- - org.optaplanner.core.impl.heuristic.selector.common.nearby.NearbyDistanceMatrix

-     public final class NearbyDistanceMatrix
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `NearbyDistanceMatrix​(NearbyDistanceMeter nearbyDistanceMeter, int originSize)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `addAllDestinations​(Object origin, Iterator<Object> destinationIterator, int destinationSize)` |
    `Object` | `getDestination​(Object origin, int nearbyIndex)` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### NearbyDistanceMatrix

          public NearbyDistanceMatrix​(NearbyDistanceMeter nearbyDistanceMeter,
                                      int originSize)

  - ### Method Detail

    - #### addAllDestinations

          public void addAllDestinations​(Object origin,
                                         Iterator<Object> destinationIterator,
                                         int destinationSize)

    - #### getDestination

          public Object getDestination​(Object origin,
                                       int nearbyIndex)