public abstract class AbstractLdoModality extends LdoFormula
| Modifier and Type | Field and Description |
|---|---|
private LdoFormula |
innerFormula
The inner formula of this modality
|
| Constructor and Description |
|---|
AbstractLdoModality(LdoFormula innerFormula)
Creates a new modality for the given inner formula
|
| Modifier and Type | Method and Description |
|---|---|
abstract 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 |
getInnerFormula()
Returns the inner formula of this modality.
|
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
|
int |
hashCode() |
combineWithAnd, combineWithOr, complement, getDividers, getPredicateCls, getSignature, getUniformProbability, isLiteralprivate LdoFormula innerFormula
public AbstractLdoModality(LdoFormula innerFormula)
innerFormula - some ldo formulapublic java.util.Set<LdoArgument> getAtoms()
SimpleLogicalFormulagetAtoms in interface SimpleLogicalFormulagetAtoms in class LdoFormulapublic LdoFormula getInnerFormula()
public java.util.Set<PropositionalPredicate> getPredicates()
SimpleLogicalFormulagetPredicates in interface SimpleLogicalFormulagetPredicates in class LdoFormulapublic java.util.Set<LdoFormula> getLiterals()
LdoFormulagetLiterals in class LdoFormulapublic int hashCode()
hashCode in interface SimpleLogicalFormulahashCode in class LdoFormulapublic boolean equals(java.lang.Object obj)
equals in interface SimpleLogicalFormulaequals in class LdoFormulapublic abstract LdoFormula clone()
SimpleLogicalFormulaclone in interface SimpleLogicalFormulaclone in class LdoFormula