Package net.sf.tweety.logics.ml.syntax
Class Possibility
- java.lang.Object
-
- net.sf.tweety.logics.commons.syntax.RelationalFormula
-
- net.sf.tweety.logics.fol.syntax.FolFormula
-
- net.sf.tweety.logics.ml.syntax.MlFormula
-
- net.sf.tweety.logics.ml.syntax.Possibility
-
- All Implemented Interfaces:
net.sf.tweety.commons.Formula,net.sf.tweety.logics.commons.syntax.interfaces.ClassicalFormula,net.sf.tweety.logics.commons.syntax.interfaces.ComplexLogicalFormula,net.sf.tweety.logics.commons.syntax.interfaces.Conjunctable,net.sf.tweety.logics.commons.syntax.interfaces.Disjunctable,net.sf.tweety.logics.commons.syntax.interfaces.Invertable,net.sf.tweety.logics.commons.syntax.interfaces.LogicStructure,net.sf.tweety.logics.commons.syntax.interfaces.ProbabilityAware,net.sf.tweety.logics.commons.syntax.interfaces.QuantifiedFormula,net.sf.tweety.logics.commons.syntax.interfaces.SimpleLogicalFormula
public class Possibility extends MlFormula
This class models the possibility modality.- Author:
- Matthias Thimm
-
-
Constructor Summary
Constructors Constructor Description Possibility(net.sf.tweety.logics.commons.syntax.RelationalFormula formula)Creates a new possibility formula with the given inner formula
-
Method Summary
Modifier and Type Method Description net.sf.tweety.logics.fol.syntax.FolFormulaclone()net.sf.tweety.logics.commons.syntax.RelationalFormulacollapseAssociativeFormulas()booleanisDnf()net.sf.tweety.logics.fol.syntax.FolFormulasubstitute(net.sf.tweety.logics.commons.syntax.interfaces.Term<?> v, net.sf.tweety.logics.commons.syntax.interfaces.Term<?> t)net.sf.tweety.logics.fol.syntax.FolFormulatoNnf()StringtoString()-
Methods inherited from class net.sf.tweety.logics.ml.syntax.MlFormula
combineWithAnd, combineWithOr, complement, containsModalityOperator, containsQuantifier, equals, getAtoms, getFormula, getFunctors, getPredicates, getQuantifierVariables, getSignature, getTerms, getTerms, getUnboundVariables, getUniformProbability, hashCode, isClosed, isClosed, isLiteral, isWellBound, isWellBound
-
-
-
-
Method Detail
-
substitute
public net.sf.tweety.logics.fol.syntax.FolFormula substitute(net.sf.tweety.logics.commons.syntax.interfaces.Term<?> v, net.sf.tweety.logics.commons.syntax.interfaces.Term<?> t) throws IllegalArgumentException- Specified by:
substitutein interfacenet.sf.tweety.logics.commons.syntax.interfaces.ComplexLogicalFormula- Specified by:
substitutein classnet.sf.tweety.logics.fol.syntax.FolFormula- Throws:
IllegalArgumentException
-
toString
public String toString()
- Specified by:
toStringin classnet.sf.tweety.logics.commons.syntax.RelationalFormula
-
clone
public net.sf.tweety.logics.fol.syntax.FolFormula clone()
- Specified by:
clonein interfacenet.sf.tweety.logics.commons.syntax.interfaces.ComplexLogicalFormula- Specified by:
clonein interfacenet.sf.tweety.logics.commons.syntax.interfaces.SimpleLogicalFormula- Specified by:
clonein classnet.sf.tweety.logics.fol.syntax.FolFormula
-
toNnf
public net.sf.tweety.logics.fol.syntax.FolFormula toNnf()
- Specified by:
toNnfin classnet.sf.tweety.logics.fol.syntax.FolFormula
-
collapseAssociativeFormulas
public net.sf.tweety.logics.commons.syntax.RelationalFormula collapseAssociativeFormulas()
- Specified by:
collapseAssociativeFormulasin classnet.sf.tweety.logics.fol.syntax.FolFormula
-
isDnf
public boolean isDnf()
- Specified by:
isDnfin classnet.sf.tweety.logics.fol.syntax.FolFormula
-
-