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 and Description
    `NearbyDistanceMatrix(NearbyDistanceMeter nearbyDistanceMeter, int originSize)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and 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)

Copyright © 2006–2021 JBoss by Red Hat. All rights reserved.