public class DifferenceSq extends Difference
Modifier and Type | Field and Description |
---|---|
static double |
MIN_COST_PER_UNIT_DISTANCE |
Constructor and Description |
---|
DifferenceSq(double min,
double max) |
Modifier and Type | Method and Description |
---|---|
double |
costMovingTo(double valueAtNewPoint) |
double |
minStepCost() |
public static final double MIN_COST_PER_UNIT_DISTANCE
public double costMovingTo(double valueAtNewPoint)
costMovingTo
in interface Cost
costMovingTo
in class Difference
public double minStepCost()
minStepCost
in interface Cost
minStepCost
in class Difference
Copyright © 2015–2021 Fiji. All rights reserved.