public class LdoNegation extends LdoFormula
| Modifier and Type | Field and Description |
|---|---|
private LdoFormula |
formula
The formula within this negation.
|
| Constructor and Description |
|---|
LdoNegation(LdoFormula formula)
Creates a new negation with the given formula.
|
| Modifier and Type | Method and Description |
|---|---|
LdoFormula |
clone()
Creates a deep copy of this formula
|
boolean |
equals(java.lang.Object obj) |
java.util.Set<LdoArgument> |
getAtoms()
Processes the set of all atoms which appear in this formula
|
LdoFormula |
getFormula()
Returns the formula within this negation.
|
java.util.Set<LdoFormula> |
getLiterals()
Returns all literals, i.e.
|
java.util.Set<PropositionalPredicate> |
getPredicates()
Processes the set of all predicates which appear in this
formula
|
DungSignature |
getSignature()
Returns the signature of the language of this formula.
|
int |
hashCode() |
boolean |
isLiteral() |
java.lang.String |
toString() |
combineWithAnd, combineWithOr, complement, getDividers, getPredicateCls, getUniformProbabilityprivate LdoFormula formula
public LdoNegation(LdoFormula formula)
formula - the formula within the negation.public LdoFormula getFormula()
public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in interface SimpleLogicalFormulahashCode in class LdoFormulapublic boolean equals(java.lang.Object obj)
equals in interface SimpleLogicalFormulaequals in class LdoFormulapublic java.util.Set<PropositionalPredicate> getPredicates()
SimpleLogicalFormulagetPredicates in interface SimpleLogicalFormulagetPredicates in class LdoFormulapublic LdoFormula clone()
SimpleLogicalFormulaclone in interface SimpleLogicalFormulaclone in class LdoFormulapublic java.util.Set<LdoArgument> getAtoms()
SimpleLogicalFormulagetAtoms in interface SimpleLogicalFormulagetAtoms in class LdoFormulapublic boolean isLiteral()
isLiteral in interface SimpleLogicalFormulaisLiteral in class LdoFormulapublic java.util.Set<LdoFormula> getLiterals()
LdoFormulagetLiterals in class LdoFormulapublic DungSignature getSignature()
FormulagetSignature in interface FormulagetSignature in class LdoFormula