PriceList.Factory, PriceList.NaiveImpl<L,T>
Constructor and Description |
---|
NaiveImpl(gnu.trove.map.TObjectDoubleMap<L> labelMoveCosts,
gnu.trove.map.TObjectDoubleMap<T> modelMoveCosts,
double unknownLabelCost,
double syncMoveCost,
java.util.Map<T,L> t2lMap) |
Modifier and Type | Method and Description |
---|---|
double |
getPriceOfLabel(L l) |
double |
getPriceOfSynchronous() |
double |
getPriceOfTransition(T t) |
java.util.Map<T,L> |
getTransitionToLabelsMap() |
public double getPriceOfLabel(L l)
getPriceOfLabel
in interface PriceList<L,T>
public double getPriceOfTransition(T t)
getPriceOfTransition
in interface PriceList<L,T>
public double getPriceOfSynchronous()
getPriceOfSynchronous
in interface PriceList<L,T>