public class SquareDistCostFunction extends Object implements CostFunction<Spot,Spot>
| Constructor and Description |
|---|
SquareDistCostFunction() |
| Modifier and Type | Method and Description |
|---|---|
double |
linkingCost(Spot source,
Spot target)
Returns the cost to link two objects.
|
public double linkingCost(Spot source, Spot target)
CostFunctionlinkingCost in interface CostFunction<Spot,Spot>source - the source object.target - the target object.Copyright © 2015–2021 Fiji. All rights reserved.