Package it.poliba.sisinflab.tinyme
Class Bonus
java.lang.Object
it.poliba.sisinflab.tinyme.Bonus
public final class Bonus extends Object
Stores the result of the Concept Bonus inference service, obtained via
Reasoner.bonus(OWLNamedIndividual, OWLNamedIndividual)
and similar methods.
Surplus represents the part of the resource that was not requested. The larger the surplus, the higher the associated incentive.
- See Also:
Reasoner
-
Method Summary
Modifier and Type Method Description double
getIncentive()
Returns the incentive associated with the bonus result.SemanticDescription
getSurplus()
Returns the surplus of the bonus result.String
toString()
-
Method Details
-
getSurplus
Returns the surplus of the bonus result.- Returns:
- Surplus of the bonus result.
-
getIncentive
public double getIncentive()Returns the incentive associated with the bonus result.- Returns:
- Incentive associated with the bonus result.
-
toString
-