OptaPlanner distribution 6.2.1-SNAPSHOT

org.optaplanner.examples.tsp.domain
Interface Standstill

All Known Implementing Classes:
Domicile, Visit

public interface Standstill


Method Summary
 long getDistanceTo(Standstill standstill)
           
 Location getLocation()
           
 

Method Detail

getLocation

Location getLocation()
Returns:
never null

getDistanceTo

long getDistanceTo(Standstill standstill)
Parameters:
standstill - never null
Returns:
a positive number, the distance multiplied by 1000 to avoid floating point arithmetic rounding errors

OptaPlanner distribution 6.2.1-SNAPSHOT

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