Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| OptaPlanner distribution 6.2.0.Final
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.optaplanner.core.impl.heuristic.selector.common.nearby
Interface NearbyDistanceMeter<O,D>

All Known Implementing Classes:
  CustomerNearbyDistanceMeter, VisitNearbyDistanceMeter

    public interface NearbyDistanceMeter<O,D>

Method Summary
`double` | `getNearbyDistance(O origin, D destination)`

Method Detail

### getNearbyDistance

    double getNearbyDistance(O origin,
                             D destination)

  Parameters:
    `origin` - never null
    `destination` - never null
  Returns:
    Preferably always >= 0.0. If origin == destination, it usually returns 0.0.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| OptaPlanner distribution 6.2.0.Final
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006-2015 JBoss by Red Hat. All Rights Reserved.