Class NegatedAtom
java.lang.Object
edu.harvard.seas.pl.abcdatalog.ast.NegatedAtom
- All Implemented Interfaces:
Premise
A negated atom. Typically a negated atom is considered to hold during evaluation if the atom it
negates is not provable.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<I,
O> O accept
(PremiseVisitor<I, O> visitor, I state) applySubst
(Substitution subst) boolean
Term[]
getArgs()
getPred()
int
hashCode()
boolean
isGround()
toString()
-
Constructor Details
-
NegatedAtom
-
NegatedAtom
-
-
Method Details
-
accept
-
getArgs
-
getPred
-
isGround
public boolean isGround() -
asPositiveAtom
-
hashCode
public int hashCode() -
equals
-
toString
-
applySubst
- Specified by:
applySubst
in interfacePremise
-