y.layout
Interface ProfitModel

All Known Implementing Classes:
LabelRanking

public interface ProfitModel

This is an interface for ranking LabelCandidates.


Method Summary
 double getProfit(LabelCandidate candidate)
          Returns the profit for placing a label-candidate.
 

Method Detail

getProfit

public double getProfit(LabelCandidate candidate)
Returns the profit for placing a label-candidate. Higher profit means higher probability that the candidate is choosen by a labeling algorithm.

Parameters:
candidate - a label candidate
Returns:
a value between 0 and 1.

© Copyright 2000-2003,
yWorks GmbH.
All rights reserved.

2003