public class LdoNegation extends LdoFormula
| Constructor and Description |
|---|
LdoNegation(LdoFormula formula)
Creates a new negation with the given formula.
|
| Modifier and Type | Method and Description |
|---|---|
LdoFormula |
clone() |
boolean |
equals(Object obj) |
Set<LdoArgument> |
getAtoms() |
LdoFormula |
getFormula()
Returns the formula within this negation.
|
Set<LdoFormula> |
getLiterals()
Returns all literals, i.e.
|
Set<net.sf.tweety.logics.pl.syntax.PropositionalPredicate> |
getPredicates() |
DungSignature |
getSignature() |
int |
hashCode() |
boolean |
isLiteral() |
String |
toString() |
combineWithAnd, combineWithOr, complement, getDividers, getPredicateCls, getUniformProbabilitypublic LdoNegation(LdoFormula formula)
formula - the formula within the negation.public LdoFormula getFormula()
public int hashCode()
hashCode in interface net.sf.tweety.logics.commons.syntax.interfaces.SimpleLogicalFormulahashCode in class LdoFormulapublic boolean equals(Object obj)
equals in interface net.sf.tweety.logics.commons.syntax.interfaces.SimpleLogicalFormulaequals in class LdoFormulapublic Set<net.sf.tweety.logics.pl.syntax.PropositionalPredicate> getPredicates()
getPredicates in interface net.sf.tweety.logics.commons.syntax.interfaces.SimpleLogicalFormulagetPredicates in class LdoFormulapublic LdoFormula clone()
clone in interface net.sf.tweety.logics.commons.syntax.interfaces.SimpleLogicalFormulaclone in class LdoFormulapublic Set<LdoArgument> getAtoms()
getAtoms in interface net.sf.tweety.logics.commons.syntax.interfaces.SimpleLogicalFormulagetAtoms in class LdoFormulapublic boolean isLiteral()
isLiteral in interface net.sf.tweety.logics.commons.syntax.interfaces.SimpleLogicalFormulaisLiteral in class LdoFormulapublic Set<LdoFormula> getLiterals()
LdoFormulagetLiterals in class LdoFormulapublic DungSignature getSignature()
getSignature in interface net.sf.tweety.commons.FormulagetSignature in class LdoFormulaCopyright © 2018. All rights reserved.