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 Details

    • getSurplus

      public SemanticDescription 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

      public String toString()
      Overrides:
      toString in class Object