public class DefaultRule
extends net.sf.tweety.logics.fol.syntax.RelationalFormula
| Constructor and Description |
|---|
DefaultRule(net.sf.tweety.logics.fol.syntax.FolFormula pre,
Collection<net.sf.tweety.logics.fol.syntax.FolFormula> jus,
net.sf.tweety.logics.fol.syntax.FolFormula conc) |
| Modifier and Type | Method and Description |
|---|---|
net.sf.tweety.logics.fol.syntax.RelationalFormula |
clone() |
net.sf.tweety.logics.fol.syntax.Conjunction |
combineWithAnd(net.sf.tweety.logics.commons.syntax.interfaces.Conjuctable formula) |
net.sf.tweety.logics.fol.syntax.Disjunction |
combineWithOr(net.sf.tweety.logics.commons.syntax.interfaces.Disjunctable formula) |
net.sf.tweety.logics.fol.syntax.RelationalFormula |
complement() |
boolean |
containsQuantifier() |
Set<net.sf.tweety.logics.fol.syntax.FOLAtom> |
getAtoms() |
net.sf.tweety.logics.fol.syntax.FolFormula |
getConc() |
Set<net.sf.tweety.logics.commons.syntax.Functor> |
getFunctors() |
Collection<net.sf.tweety.logics.fol.syntax.FolFormula> |
getJus() |
net.sf.tweety.logics.fol.syntax.FolFormula |
getPre() |
Set<? extends net.sf.tweety.logics.commons.syntax.Predicate> |
getPredicates() |
Set<net.sf.tweety.logics.commons.syntax.Variable> |
getQuantifierVariables() |
Set<net.sf.tweety.logics.commons.syntax.interfaces.Term<?>> |
getTerms() |
<C extends net.sf.tweety.logics.commons.syntax.interfaces.Term<?>> |
getTerms(Class<C> cls) |
Set<net.sf.tweety.logics.commons.syntax.Variable> |
getUnboundVariables() |
net.sf.tweety.math.probability.Probability |
getUniformProbability() |
boolean |
isClosed() |
boolean |
isClosed(Set<net.sf.tweety.logics.commons.syntax.Variable> boundVariables) |
boolean |
isLiteral() |
boolean |
isNormal(DefaultTheory dt) |
boolean |
isWellBound() |
boolean |
isWellBound(Set<net.sf.tweety.logics.commons.syntax.Variable> boundVariables) |
net.sf.tweety.logics.fol.syntax.RelationalFormula |
substitute(net.sf.tweety.logics.commons.syntax.interfaces.Term<?> v,
net.sf.tweety.logics.commons.syntax.interfaces.Term<?> t) |
String |
toString() |
allGroundInstances, allSubstitutions, containsTermsOfType, exchange, getFormula, getPredicateCls, getSatisfactionRatio, getSignature, isGround, isWellFormed, substitutepublic DefaultRule(net.sf.tweety.logics.fol.syntax.FolFormula pre,
Collection<net.sf.tweety.logics.fol.syntax.FolFormula> jus,
net.sf.tweety.logics.fol.syntax.FolFormula conc)
throws net.sf.tweety.commons.ParserException
net.sf.tweety.commons.ParserExceptionpublic boolean isNormal(DefaultTheory dt)
public net.sf.tweety.logics.fol.syntax.FolFormula getPre()
public Collection<net.sf.tweety.logics.fol.syntax.FolFormula> getJus()
public net.sf.tweety.logics.fol.syntax.FolFormula getConc()
public Set<? extends net.sf.tweety.logics.commons.syntax.Predicate> getPredicates()
public boolean isLiteral()
public Set<net.sf.tweety.logics.commons.syntax.Variable> getQuantifierVariables()
public Set<net.sf.tweety.logics.commons.syntax.Variable> getUnboundVariables()
public boolean containsQuantifier()
public boolean isWellBound()
public boolean isWellBound(Set<net.sf.tweety.logics.commons.syntax.Variable> boundVariables)
public boolean isClosed()
public boolean isClosed(Set<net.sf.tweety.logics.commons.syntax.Variable> boundVariables)
public Set<net.sf.tweety.logics.commons.syntax.interfaces.Term<?>> getTerms()
public <C extends net.sf.tweety.logics.commons.syntax.interfaces.Term<?>> Set<C> getTerms(Class<C> cls)
public Set<net.sf.tweety.logics.fol.syntax.FOLAtom> getAtoms()
getAtoms in interface net.sf.tweety.logics.commons.syntax.interfaces.SimpleLogicalFormulagetAtoms in class net.sf.tweety.logics.fol.syntax.RelationalFormulapublic Set<net.sf.tweety.logics.commons.syntax.Functor> getFunctors()
getFunctors in class net.sf.tweety.logics.fol.syntax.RelationalFormulapublic net.sf.tweety.logics.fol.syntax.RelationalFormula substitute(net.sf.tweety.logics.commons.syntax.interfaces.Term<?> v,
net.sf.tweety.logics.commons.syntax.interfaces.Term<?> t)
throws IllegalArgumentException
substitute in interface net.sf.tweety.logics.commons.syntax.interfaces.ComplexLogicalFormulasubstitute in class net.sf.tweety.logics.fol.syntax.RelationalFormulaIllegalArgumentExceptionpublic net.sf.tweety.math.probability.Probability getUniformProbability()
getUniformProbability in interface net.sf.tweety.logics.commons.syntax.interfaces.ProbabilityAwaregetUniformProbability in class net.sf.tweety.logics.fol.syntax.RelationalFormulapublic net.sf.tweety.logics.fol.syntax.RelationalFormula complement()
complement in interface net.sf.tweety.logics.commons.syntax.interfaces.Invertablecomplement in class net.sf.tweety.logics.fol.syntax.RelationalFormulapublic net.sf.tweety.logics.fol.syntax.Disjunction combineWithOr(net.sf.tweety.logics.commons.syntax.interfaces.Disjunctable formula)
combineWithOr in interface net.sf.tweety.logics.commons.syntax.interfaces.DisjunctablecombineWithOr in class net.sf.tweety.logics.fol.syntax.RelationalFormulapublic net.sf.tweety.logics.fol.syntax.Conjunction combineWithAnd(net.sf.tweety.logics.commons.syntax.interfaces.Conjuctable formula)
combineWithAnd in interface net.sf.tweety.logics.commons.syntax.interfaces.ConjuctablecombineWithAnd in class net.sf.tweety.logics.fol.syntax.RelationalFormulapublic String toString()
toString in class net.sf.tweety.logics.fol.syntax.RelationalFormulapublic net.sf.tweety.logics.fol.syntax.RelationalFormula clone()
clone in interface net.sf.tweety.logics.commons.syntax.interfaces.ComplexLogicalFormulaclone in interface net.sf.tweety.logics.commons.syntax.interfaces.SimpleLogicalFormulaclone in class net.sf.tweety.logics.fol.syntax.RelationalFormulaCopyright © 2016. All rights reserved.