Interface SimpleLogicalFormula
-
- All Superinterfaces:
Formula
- All Known Subinterfaces:
AssociativeFormula<T>,Atom,ClassicalFormula,ComplexLogicalFormula,Conjunctable,Disjunctable,Invertable,QuantifiedFormula
- All Known Implementing Classes:
AbstractGraphLdoModality,AbstractLdoModality,AggregateAtom,AggregateElement,AlwaysQuery,ASPAtom,ASPBodyElement,ASPElement,ASPHead,ASPLiteral,ASPRule,AssertionalAxiom,AssociativeDlFormula,AssociativeFolFormula,AssociativeFormulaSupport,AssociativePlFormula,AtomicConcept,AtomicRole,BottomConcept,ComparativeAtom,Complement,ComplexConcept,ComplexLogicalFormulaAdapter,ConceptAssertion,Conditional,Conjunction,Conjunction,Contradiction,Contradiction,DefaultNegation,DefaultRule,DefeasibleRule,DelpFact,DelpRule,Disjunction,Disjunction,DlAxiom,Equivalence,Equivalence,EquivalenceAxiom,ExistentialRestriction,ExistsQuantifiedFormula,FolAtom,FolFormula,ForallQuantifiedFormula,HoldsQuery,Implication,Implication,Intersection,LdoArgument,LdoAssociativeFormula,LdoBoxModality,LdoConjunction,LdoDiamondModality,LdoDisjunction,LdoFormula,LdoGraphBoxModality,LdoGraphDiamondModality,LdoNegation,LdoRelation,MlFormula,MlnFormula,NecessarilyQuery,Necessity,Negation,Negation,NLPNot,NLPRule,PlFormula,Possibility,ProbabilisticConditional,Proposition,QueryProposition,RelationalConditional,RelationalFormula,RelationalProbabilisticConditional,RoleAssertion,SpecialFormula,SpecialFormula,StrictNegation,StrictRule,Tautology,Tautology,TopConcept,Union,UniversalRestriction
public interface SimpleLogicalFormula extends Formula
A formula of a logical language- Author:
- Tim Janus
-
-
Method Summary
Modifier and Type Method Description SimpleLogicalFormulaclone()Creates a deep copy of this formulabooleanequals(java.lang.Object other)java.util.Set<? extends Atom>getAtoms()Processes the set of all atoms which appear in this formulajava.lang.Class<? extends Predicate>getPredicateCls()java.util.Set<? extends Predicate>getPredicates()Processes the set of all predicates which appear in this formulainthashCode()booleanisLiteral()-
Methods inherited from interface net.sf.tweety.commons.Formula
getSignature
-
-
-
-
Method Detail
-
getAtoms
java.util.Set<? extends Atom> getAtoms()
Processes the set of all atoms which appear in this formula- Returns:
- The set of all atoms
-
getPredicates
java.util.Set<? extends Predicate> getPredicates()
Processes the set of all predicates which appear in this formula- Returns:
- all predicates that appear in this formula
-
getPredicateCls
java.lang.Class<? extends Predicate> getPredicateCls()
- Returns:
- The class description of the predicate used by this formula.
-
isLiteral
boolean isLiteral()
- Returns:
- true if the formula represents a literal in the language or false otherwise
-
hashCode
int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
clone
SimpleLogicalFormula clone()
Creates a deep copy of this formula- Returns:
- the cloned formula
-
-