RISC JKU
at.jku.risc.stout.tgau.algo

Class HedgeAUP

  • All Implemented Interfaces:
    Printable


    public class HedgeAUP
    extends BaseAUP
    This class represents an anti-unification problem (AUP) which consists of one generalization variable (the most general generalization), and two Terms. The term nodes represent the left hand side and the right hand side of the equation.
    Author:
    Alexander Baumgartner
    • Field Detail

      • commutative

        public boolean commutative
      • generalizationVar

        public HedgeVar generalizationVar
      • left

        public java.util.List<Variable> left
      • right

        public java.util.List<Variable> right
    • Constructor Detail

      • HedgeAUP

        public HedgeAUP(HedgeVar generalizationVar,
                        java.util.List<Variable> left,
                        java.util.List<Variable> right,
                        boolean commutative)
        Create an AUP with the given generalization variable and hedges.
        Parameters:
        commutative -
    • Method Detail

      • getLeft

        public java.lang.Object getLeft()
        Specified by:
        getLeft in class BaseAUP
      • getRight

        public java.lang.Object getRight()
        Specified by:
        getRight in class BaseAUP
      • print

        public void print(java.io.Writer out)
                   throws java.io.IOException
        Throws:
        java.io.IOException