Class WeightedLiteral

java.lang.Object
com.semedy.reasoner.rewriter.sips.WeightedLiteral

public class WeightedLiteral extends Object
A Literal with a weight.
Author:
Juergen Baier
  • Constructor Details

    • WeightedLiteral

      public WeightedLiteral()
    • WeightedLiteral

      public WeightedLiteral(Literal literal)
  • Method Details

    • setValues

      public void setValues(Literal literal, double weight)
    • getWeight

      public double getWeight()
    • getLiteral

      public Literal getLiteral()
    • toString

      public String toString()
      Overrides:
      toString in class Object