public interface IProfitModel
IProfitModel ranks LabelCandidates used for prioritizing certain label locations over others.
Generic labeling algorithm GenericLabeling will use the ranking to decide
which LabelCandidates to eliminate.
LabelCandidates with a high profit will be preferred over LabelCandidates with a low profit.
| Modifier and Type | Method and Description |
|---|---|
double |
getProfit(LabelCandidate candidate)
Returns the profit for placing a label using the given
LabelCandidate. |
double getProfit(LabelCandidate candidate)
LabelCandidate.
Higher profit means better candidates. Hence, there is a higher probability that the candidate is chosen by a labeling algorithm.
Profits need to have a value between 0 and 1.
candidate - the candidate