Class Negation<T extends net.sf.tweety.commons.Formula>

  • Type Parameters:
    T - the type of formulas
    All Implemented Interfaces:
    net.sf.tweety.commons.Formula

    public class Negation<T extends net.sf.tweety.commons.Formula>
    extends Object
    implements net.sf.tweety.commons.Formula
    Author:
    Nils Geilen (geilenn@uni-koblenz.de) This represents a negation relation of form "not formula = negation"
    • Constructor Detail

      • Negation

        public Negation​(T formula,
                        T negation)
        Creates a new Negation
        Parameters:
        formula - a formula
        negation - it's complement
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getSignature

        public net.sf.tweety.commons.Signature getSignature()
        Specified by:
        getSignature in interface net.sf.tweety.commons.Formula