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.examples.tsp.domain.solver.nearby
Class VisitNearbyDistanceMeter

    java.lang.Object
      org.optaplanner.examples.tsp.domain.solver.nearby.VisitNearbyDistanceMeter

All Implemented Interfaces:
  NearbyDistanceMeter<Visit,Standstill>

    public class VisitNearbyDistanceMeter

extends Object
implements NearbyDistanceMeter<Visit,Standstill>

Constructor Summary
`VisitNearbyDistanceMeter()`

Method Summary
`double` | `getNearbyDistance(Visit origin, Standstill destination)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### VisitNearbyDistanceMeter

    public VisitNearbyDistanceMeter()

Method Detail

### getNearbyDistance

    public double getNearbyDistance(Visit origin,
                                    Standstill destination)

  Specified by:
    `getNearbyDistance` in interface `NearbyDistanceMeter<Visit,Standstill>`
  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.