public final class ExactMatchCost<K,V> extends MatchCostFunction.AbstractMatchCostFunction<K,V>
MatchCostFunction.AbstractMatchCostFunction<K,V>| Constructor and Description |
|---|
ExactMatchCost() |
ExactMatchCost(double mismatchCost) |
ExactMatchCost(double mismatchCost,
double insCost,
double delCost) |
| Modifier and Type | Method and Description |
|---|---|
double |
cost(K k1,
K k2,
int n) |
cost, multiMatchDeltaCostpublic ExactMatchCost()
public ExactMatchCost(double mismatchCost)
public ExactMatchCost(double mismatchCost,
double insCost,
double delCost)
public double cost(K k1, K k2, int n)
cost in interface MatchCostFunction<K,V>cost in class MatchCostFunction.AbstractMatchCostFunction<K,V>