Class Negation

  • All Implemented Interfaces:
    Literal

    public final class Negation
    extends java.lang.Object
    implements Literal
    Author:
    Mathias Hofer
    • Constructor Summary

      Constructors 
      Constructor Description
      Negation​(Literal literal)  
    • Method Summary

      Modifier and Type Method Description
      Atom getAtom()  
      boolean isPositive()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.tweetyproject.arg.adf.syntax.pl.Literal

        map
    • Constructor Detail

      • Negation

        public Negation​(Literal literal)
        Parameters:
        literal - some literal
    • Method Detail

      • isPositive

        public boolean isPositive()
        Specified by:
        isPositive in interface Literal
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object